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
{{ message }}
Repository navigation
Add a console.* API that invokes the HTML "report the error" algorithm (which calls window.onerror) #50
Now that I realize this would trigger window.onerror I no longer think this is a console API, for what it's worth. Probably global.reportException(obj).
Activity
zcorpan commentedon Apr 4, 2016
Need to consider workers and worklets also.
annevk commentedon Apr 5, 2016
@zcorpan console is exposed to workers. Dunno about worklets.
zcorpan commentedon Apr 5, 2016
Right, I mean we need to make sure this API invokes the right hooks in those contexts (or define to do nothing or throw if it shouldn't work there). https://html.spec.whatwg.org/multipage/workers.html#runtime-script-errors-2 is different from https://html.spec.whatwg.org/multipage/webappapis.html#runtime-script-errors-in-documents
domenic commentedon May 4, 2016
Now that I realize this would trigger window.onerror I no longer think this is a
consoleAPI, for what it's worth. Probablyglobal.reportException(obj).Introducing self.reportException()
domenic commentedon May 5, 2016
Trying to gather implementer interest over at whatwg/html#1196, for any implementers watching this repo.
Introducing self.reportException()
Introducing self.reportException()
Introducing self.reportException()
Introduce self.reportException()
Introduce self.reportError()
Introduce self.reportError()
Add self.reportError()
Add self.reportError()