summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli/tests/unit/event_test.ts2
-rw-r--r--ext/web/02_event.js2
m---------test_util/wpt0
-rw-r--r--tools/wpt/expectation.json24
4 files changed, 15 insertions, 13 deletions
diff --git a/cli/tests/unit/event_test.ts b/cli/tests/unit/event_test.ts
index 5c82e6823..2a9288937 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 f5b4bd7d3..5d8f69673 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
-Subproject 1a8281d7aa0eed050c6d8c151a602ce43dd5540
+Subproject c297f88500de105a82118d1a5527d52e63c7ba4
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index df2f24655..56b0b1199 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,