mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +00:00
LibWeb/HTML: Default ErrorEvent error to undefined
This was a change in the HTML spec, see:
032523196
This commit is contained in:
parent
cb9e3d5c9b
commit
8214371ad5
Notes:
github-actions[bot]
2025-01-05 12:37:18 +00:00
Author: https://github.com/shannonbooth
Commit: 8214371ad5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3148
4 changed files with 73 additions and 2 deletions
|
@ -17,7 +17,7 @@ struct ErrorEventInit : public DOM::EventInit {
|
|||
String filename;
|
||||
u32 lineno { 0 };
|
||||
u32 colno { 0 };
|
||||
JS::Value error { JS::js_null() };
|
||||
JS::Value error { JS::js_undefined() };
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#errorevent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue