LibWeb/HTML: Default ErrorEvent error to undefined

This was a change in the HTML spec, see:

032523196
This commit is contained in:
Shannon Booth 2025-01-05 20:21:22 +13:00 committed by Andreas Kling
commit 8214371ad5
Notes: github-actions[bot] 2025-01-05 12:37:18 +00:00
4 changed files with 73 additions and 2 deletions

View file

@ -0,0 +1,10 @@
Harness status: OK
Found 5 tests
5 Pass
Pass error event is normal (return true does not cancel; one arg) on Document, with a synthetic ErrorEvent
Pass Initial values of ErrorEvent members
Pass error member can be set to null
Pass error member can be set to undefined
Pass error member can be set to arbitrary