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

window.onerror #31771

Closed
blittle opened this issue Jan 17, 2014 · 3 comments
Closed

window.onerror #31771

blittle opened this issue Jan 17, 2014 · 3 comments
Assignees
Milestone

Comments

@blittle
Copy link

blittle commented Jan 17, 2014

Chrome recently landed an awesome new feature where an actual error object is passed to window.onerror. Without an actual error object, it is really difficult make use of the window.onerror because the original context is lost and no stack trace is available. Even libraries like stacktrace.js are unable to work around this.

Any idea if zone.js is able to work around this for IE and FF?

References:
https://code.google.com/p/chromium/issues/detail?id=147127
https://bugzilla.mozilla.org/show_bug.cgi?id=355430
stacktracejs/stacktrace.js#26

@btford
Copy link
Contributor

btford commented Jan 20, 2014

Thanks @blittle! I'll have to do some research, but it might be possible.

@JiaLiPassion JiaLiPassion transferred this issue from angular/zone.js Jul 21, 2019
@JiaLiPassion JiaLiPassion self-assigned this Jul 21, 2019
@ngbot ngbot bot added this to the needsTriage milestone Jul 22, 2019
@JiaLiPassion
Copy link
Contributor

This has been implemented, will close now.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants