-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Mouse callback with document as target fails with TypeError #3060
Comments
Got a testcase? A naive attempt does not show any error:
|
Should have mentioned that the error happens when the event is generated. Adding a loop seems to be enough for a testcase:
|
I still don't see a crash on that. Which version of emscripten are you on? And on which browser and version do you see the problem? |
Emscripten 1.27.1, Firefox 34. Exception thrown on every click. |
Ok, I see it now. Looks like the HTML document itself doesn't have that method, just like the window. Fixed on incoming. |
Registering an event callback with the document as the target:
Fails with error:
The text was updated successfully, but these errors were encountered: