Request for position on self.reportError()
Hi webkit-dev, We recently added a small utility function, self.reportError(), to the HTML Standard [1]. It is pretty simple and just lets developers appropriately send errors to the "error" event handler and the console, like what happens when the browser reports uncaught exceptions. This is already implemented in Firefox and we're looking to ship it in Chrome soon. Would you all be interested this feature as well? It should be pretty simple to implement; it was for us at least. [2] Thanks, -Domenic [1]: https://github.com/whatwg/html/pull/1196 [2]: https://chromium-review.googlesource.com/c/chromium/src/+/3125854
It doesn’t seem like a controversial feature to me and it is indeed a fairly small amount of work to support. I am working on it via Bug 228316 <https://bugs.webkit.org/show_bug.cgi?id=228316>. -- Chris Dumez
On Aug 27, 2021, at 1:58 PM, Domenic Denicola via webkit-dev <webkit-dev@lists.webkit.org> wrote:
Hi webkit-dev,
We recently added a small utility function, self.reportError(), to the HTML Standard [1]. It is pretty simple and just lets developers appropriately send errors to the "error" event handler and the console, like what happens when the browser reports uncaught exceptions.
This is already implemented in Firefox and we're looking to ship it in Chrome soon. Would you all be interested this feature as well? It should be pretty simple to implement; it was for us at least. [2]
Thanks, -Domenic
[1]: https://github.com/whatwg/html/pull/1196
[2]: https://chromium-review.googlesource.com/c/chromium/src/+/3125854 _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
participants (2)
-
Chris Dumez
-
Domenic Denicola