1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

fix(ext/web): remove ErrorEventInit's error default (#14809)

This commit is contained in:
Mark Ladyshau 2022-06-29 14:29:08 +02:00 committed by David Sherret
parent cfebd2139e
commit e3b40ae0ea
4 changed files with 16 additions and 14 deletions

View file

@ -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"),

View file

@ -1089,7 +1089,7 @@
filename = "",
lineno = 0,
colno = 0,
error = null,
error,
} = {},
) {
super(type, {

@ -1 +1 @@
Subproject commit 1a8281d7aa0eed050c6d8c151a602ce43dd55406
Subproject commit c297f88500de105a82118d1a5527d52e63c7ba47

View file

@ -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,