occ / TraceKit

Attempts to create stack traces for unhandled JavaScript exceptions in all major browsers.
1.06k stars 70 forks source link

Support Chrome Canary's window.onerror fix (adds colno, error) #48

Closed ssafejava closed 9 years ago

ssafejava commented 11 years ago

See this writeup about the change and the Blink bug report.

This is good news! The 4th and 5th parameters (colno, error) are now part of the living HTML5 spec and have a good chance of making it into Firefox & others. It is now live in Canary and will trickle down to the dev & stable releases in the next weeks.

If no one is available to tackle this I can start working on a patch. If we detect support for these attributes, we could finally drop the setTimeout/setInterval wrappers & so on in those browsers.

occ commented 11 years ago

Sounds good. Want to go ahead and implement it?

ssafejava commented 11 years ago

Yeah, why not.

niemyjski commented 9 years ago

We now support this in the latest release: https://github.com/csnover/TraceKit