mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
LibWeb: Report exceptions from custom element upgrades to global object
This commit is contained in:
parent
54b0476d70
commit
5be4825504
Notes:
github-actions[bot]
2024-11-24 00:17:49 +00:00
Author: https://github.com/ADKaster
Commit: 5be4825504
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2543
Reviewed-by: https://github.com/tcl3 ✅
6 changed files with 594 additions and 10 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue