LibWeb: Report exceptions from custom element upgrades to global object

This commit is contained in:
Andrew Kaster 2024-11-23 15:42:01 -07:00 committed by Tim Ledbetter
commit 5be4825504
Notes: github-actions[bot] 2024-11-24 00:17:49 +00:00
6 changed files with 594 additions and 10 deletions

View file

@ -2,6 +2,8 @@
<script src="../include.js"></script>
<script>
test(() => {
removeTestErrorHandler()
window.addEventListener("error", (event) => { println(`${event.message}`); })
class TestElement extends HTMLElement {
constructor() {
super();