Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security warning in browser console #126

Open
peterspicer-catalyst opened this issue Jan 14, 2020 · 1 comment
Open

Security warning in browser console #126

peterspicer-catalyst opened this issue Jan 14, 2020 · 1 comment
Labels

Comments

@peterspicer-catalyst
Copy link
Contributor

Current versions of both Firefox and Chrome complain during the processing of the favicon - specifically at

favicon.href = canvas.toDataURL("image/x-icon");
- with the following exception:

Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.

@brendanheywood
Copy link
Contributor

I can't reproduce that on chrome 79 or FF 72, any more details? From a quick google that doesn't look like an error that would have started with a recent new version, I suspect this has more to do with the original favicon url, ie a CORS issue:

https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#Security_and_tainted_canvases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants