Hi Team, I was looking into some test cases for DOM bugs in Chrome Bugzilla (or equivalent) and came across another test case where all browsers are showing different behavior and I think it would be something worth fixing: Test Case - https://jsfiddle.net/a219snz7/ Chrome Bug - https://bugs.chromium.org/p/chromium/issues/detail?id=513608 *** STEPS TO REPRODUCE *** 1) Run JSFiddle and note "Console Logs" Now I will share output of all browsers: << Safari 15.6 on macOS 12.5 >> "<a class='gotoLine' href='#46:41'>46:41</a> Error: I am a test error" "Caught error with stack:" ["global code@https://fiddle.jshell.net/_display/?editor_console=true:116:20"] "Error colno: 41" ----------------- NOTE THIS << Chrome Canary 106 >> "<a class='gotoLine' href='#46:5'>46:5</a> Uncaught Error: I am a test error" "Caught error with stack:" ["Error: I am a test error", " at https://fiddle.jshell.net/a219snz7/show/?editor_console=:116:11"] "Error colno: 5" "First stack line colno: 11" << Firefox Nightly 105 >> "<a class='gotoLine' href='#46:11'>46:11</a> Error: I am a test error" "Caught error with stack:" ["@https://fiddle.jshell.net/a219snz7/show/?editor_console=:116:11", ""] "Error colno: 11" "First stack line colno: " ______ Summary: No browser is matching "Error colno" and Safari is missing "First Stack line colon:" as well. Appreciate if this is something can be fixed or at least match with other browser to enable developers have consistent experience with window.onerror and event.colno. Thanks for continuously making Webkit awesome.
<rdar://problem/98744010>