Kicking Bugs and Logging Names: Errors in JavaScript Error Reporting
summary
History of window.onerror includes adding column and an error object around 2013 but the error.stack value is a nonstandard string so each browser needs custom parsing; cross origin issues require Access-Control-Allow-Origin plus crossorigin on script tags to turn "Script error" into real stacks; minification pushes use of source maps; common solutions include tres kit and stacktrace j/s and SDK instrumentation like century that parses stacks and ships errors in the background so reporting actually works.
AI-written summary · about
chapters (4)
related talks
27mTraces of Errors: Getting Better JavaScript Stacktraces
40mManeuvering Errors within the Bowels of JavaScript
27mGetting the Most out of JavaScript Errors
58mSquashing JavaScript bugs
01h 04mJavaScript's Most Wanted
32mExpect the Unexpected: How to Deal with Errors in Large Web Applications
20mImproving the process of debugging JavaScript errors
16mHarden up your ajax!
