diff --git a/cli/tests/unit/event_test.ts b/cli/tests/unit/event_test.ts index 5c82e68232..2a9288937a 100644 --- a/cli/tests/unit/event_test.ts +++ b/cli/tests/unit/event_test.ts @@ -104,7 +104,7 @@ Deno.test(function eventInspectOutput() { [ new ErrorEvent("error"), (event: Event) => - `ErrorEvent {\n bubbles: false,\n cancelable: false,\n composed: false,\n currentTarget: null,\n defaultPrevented: false,\n eventPhase: 0,\n srcElement: null,\n target: null,\n returnValue: true,\n timeStamp: ${event.timeStamp},\n type: "error",\n message: "",\n filename: "",\n lineno: 0,\n colno: 0,\n error: null\n}`, + `ErrorEvent {\n bubbles: false,\n cancelable: false,\n composed: false,\n currentTarget: null,\n defaultPrevented: false,\n eventPhase: 0,\n srcElement: null,\n target: null,\n returnValue: true,\n timeStamp: ${event.timeStamp},\n type: "error",\n message: "",\n filename: "",\n lineno: 0,\n colno: 0,\n error: undefined\n}`, ], [ new CloseEvent("close"), diff --git a/ext/web/02_event.js b/ext/web/02_event.js index f5b4bd7d34..5d8f69673c 100644 --- a/ext/web/02_event.js +++ b/ext/web/02_event.js @@ -1089,7 +1089,7 @@ filename = "", lineno = 0, colno = 0, - error = null, + error, } = {}, ) { super(type, { diff --git a/test_util/wpt b/test_util/wpt index 1a8281d7aa..c297f88500 160000 --- a/test_util/wpt +++ b/test_util/wpt @@ -1 +1 @@ -Subproject commit 1a8281d7aa0eed050c6d8c151a602ce43dd55406 +Subproject commit c297f88500de105a82118d1a5527d52e63c7ba47 diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index df2f246551..56b0b11992 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -923,14 +923,20 @@ "EventTarget-constructible.any.html": true, "EventTarget-constructible.any.worker.html": true, "Event-constructors.any.html": [ - "Untitled 2", - "Untitled 3" + "Untitled 3", + "Untitled 4" ], "Event-constructors.any.worker.html": [ - "Event constructors 2", - "Event constructors 3" + "Event constructors 3", + "Event constructors 4" ], - "event-global.worker.html": true + "event-global.worker.html": true, + "Event-dispatch-listener-order.window.html": false, + "EventListener-addEventListener.sub.window.html": false, + "event-global-extra.window.html": false, + "event-global-set-before-handleEvent-lookup.window.html": false, + "legacy-pre-activation-behavior.window.html": false, + "relatedTarget.window.html": false }, "idlharness-shadowrealm.window.html": false, "idlharness.any.worker.html": [ @@ -1387,12 +1393,8 @@ "validate.any.worker.html": true }, "global": { - "constructor.any.html": [ - "Construct v128 global" - ], - "constructor.any.worker.html": [ - "Construct v128 global" - ], + "constructor.any.html": true, + "constructor.any.worker.html": true, "toString.any.html": true, "toString.any.worker.html": true, "type.tentative.any.html": false,