IE11 Security Error - gl.texImage2D()

I’m using a bunch of SVGs in my project and IE11 does not seem to be happy about that:

The only results searching for this issue releated to gl.texImage2d are CORS - Cross-Origin Resource Sharing related. But in this case it really does’t make any sense.

I’m using phaser 3.21.0 with webpack, so all request are coming from localhost or inline as data:image/png;base64,...
Replacing all the images with PNG placeholders is working, so it really has to do something with svgs being used. (Replacing all images with PNG is no option in my project.)

Any ideas what else might be the problem here? :thinking:

This seems to be the deepest dive into the issue I could find:


Looks like IE11 views the canvas as tainted when drawing svg source? :thinking: