You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I display a string "file://localhost/Users/drhode/Desktop/fiddle.html:7" in the console, you'll be able to click through and see line 7 of fiddle.html highlighted.
So we want to hijack onerror to get the file url and line number in chrome, and store the arguments in a window.lastArgs onerror = function(){console.log(arguments)};
The text was updated successfully, but these errors were encountered:
If I display a string
"file://localhost/Users/drhode/Desktop/fiddle.html:7"
in the console, you'll be able to click through and see line 7 of fiddle.html highlighted.So we want to hijack onerror to get the file url and line number in chrome, and store the arguments in a window.lastArgs
onerror = function(){console.log(arguments)};
The text was updated successfully, but these errors were encountered: