-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
SecurityError when using Data URI background-image in Safari 11.1 #1575
Comments
I've got the same error. Any updates here ? |
Same here with following css
|
I've got the same error. This problem seems to be in some browsers, inline images also need to be processed according to cross-domain images. Related code: html2canvas/src/ResourceLoader.js Line 42 in 41eb8ab
When I deleted |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
When trying to render a div with a background-image property set to a Data URI in Safari, html2canvas is throwing an Unhandled Promise Rejection:
Unhandled Promise Rejection: SecurityError: The operation is insecure.
This happens after the 'Render complete' phase happens, example console logs:
Example source html:
<div style="background-image: url('data:image/svg+xml;base64,...');" />
Seems to be a duplicate of this issue
Thanks,
Ryen
Specifications:
The text was updated successfully, but these errors were encountered: