Please support window.onerror #18791
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
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.
The text was updated successfully, but these errors were encountered: