mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Report exceptions from custom element upgrades to global object
This commit is contained in:
committed by
Tim Ledbetter
parent
54b0476d70
commit
5be4825504
Notes:
github-actions[bot]
2024-11-24 00:17:49 +00:00
Author: https://github.com/ADKaster Commit: https://github.com/LadybirdBrowser/ladybird/commit/5be48255047 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2543 Reviewed-by: https://github.com/tcl3 ✅
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user