mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
fix(ext/web): remove ErrorEventInit
's error default (#14809)
This commit is contained in:
parent
cfebd2139e
commit
e3b40ae0ea
4 changed files with 16 additions and 14 deletions
|
@ -104,7 +104,7 @@ Deno.test(function eventInspectOutput() {
|
||||||
[
|
[
|
||||||
new ErrorEvent("error"),
|
new ErrorEvent("error"),
|
||||||
(event: Event) =>
|
(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"),
|
new CloseEvent("close"),
|
||||||
|
|
|
@ -1089,7 +1089,7 @@
|
||||||
filename = "",
|
filename = "",
|
||||||
lineno = 0,
|
lineno = 0,
|
||||||
colno = 0,
|
colno = 0,
|
||||||
error = null,
|
error,
|
||||||
} = {},
|
} = {},
|
||||||
) {
|
) {
|
||||||
super(type, {
|
super(type, {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1a8281d7aa0eed050c6d8c151a602ce43dd55406
|
Subproject commit c297f88500de105a82118d1a5527d52e63c7ba47
|
|
@ -923,14 +923,20 @@
|
||||||
"EventTarget-constructible.any.html": true,
|
"EventTarget-constructible.any.html": true,
|
||||||
"EventTarget-constructible.any.worker.html": true,
|
"EventTarget-constructible.any.worker.html": true,
|
||||||
"Event-constructors.any.html": [
|
"Event-constructors.any.html": [
|
||||||
"Untitled 2",
|
"Untitled 3",
|
||||||
"Untitled 3"
|
"Untitled 4"
|
||||||
],
|
],
|
||||||
"Event-constructors.any.worker.html": [
|
"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-shadowrealm.window.html": false,
|
||||||
"idlharness.any.worker.html": [
|
"idlharness.any.worker.html": [
|
||||||
|
@ -1387,12 +1393,8 @@
|
||||||
"validate.any.worker.html": true
|
"validate.any.worker.html": true
|
||||||
},
|
},
|
||||||
"global": {
|
"global": {
|
||||||
"constructor.any.html": [
|
"constructor.any.html": true,
|
||||||
"Construct v128 global"
|
"constructor.any.worker.html": true,
|
||||||
],
|
|
||||||
"constructor.any.worker.html": [
|
|
||||||
"Construct v128 global"
|
|
||||||
],
|
|
||||||
"toString.any.html": true,
|
"toString.any.html": true,
|
||||||
"toString.any.worker.html": true,
|
"toString.any.worker.html": true,
|
||||||
"type.tentative.any.html": false,
|
"type.tentative.any.html": false,
|
||||||
|
|
Loading…
Reference in a new issue