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

img.onload not getting fired on Android #9

Open
rwtaylorjr opened this issue Jan 12, 2015 · 1 comment
Open

img.onload not getting fired on Android #9

rwtaylorjr opened this issue Jan 12, 2015 · 1 comment

Comments

@rwtaylorjr
Copy link

Greetings,

I have an HTML5 hybrid app (Angular/Cordova 3.6.3). In the app, I'm using domvas to convert an iframe to an image. This works fine in Chrome but when i try to run it on my android device, the img.onload event doesn't seem to fire. It's not throwing any exceptions or errors...so i'm not sure why it's not firing. I'm guessing it may have to do with your stated caveat about the security restrictions surrounding the foreignObject.

@rwtaylorjr
Copy link
Author

When i add an onerror callback to the img in domvas code, it's getting invoked, but there is really no useful information coming back except that an error occurred. It doesn't say what type of error.

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

No branches or pull requests

1 participant