Skip to content

Please support window.onerror #18791

New issue

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

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

Already on GitHub? # to your account

Closed
peter-ahe-google opened this issue May 13, 2014 · 0 comments
Closed

Please support window.onerror #18791

peter-ahe-google opened this issue May 13, 2014 · 0 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-obsolete Closed as the reported issue is no longer relevant library-html type-enhancement A request for a change that isn't a bug

Comments

@peter-ahe-google
Copy link
Contributor

Please support the window.onerror callback (see https://mikewest.org/2013/08/debugging-runtime-errors-with-window-onerror).

window.addEventListener('error', ...) is not sufficient as error events contains no usable information on Firefox.

Known workaround: use dart:js.

Issue #5958 is related, but I don't think this is a duplicate of that issue. This issue is about supporting existing functionality, not the more general problem of detecting unhandled errors.

@peter-ahe-google peter-ahe-google added Type-Enhancement area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-html labels May 13, 2014
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed priority-unassigned labels Feb 29, 2016
@matanlurey matanlurey added the closed-obsolete Closed as the reported issue is no longer relevant label Feb 17, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-obsolete Closed as the reported issue is no longer relevant library-html type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants