I can create texture from canvas.toDataURL, but i can't create from straightaway canvas

I can create texture from canvas.toDataURL, but i can’t create from straightaway canvas THREE.CanvasTexture(canvas);
I get canvas from renderer.domElement

    const texture = loader.load(renderer.domElement.toDataURL(mimeType)); //this work
const texture = new THREE.CanvasTexture(renderer.domElement); //not work, texture is black 

Any ideas why that is?