Skip to content

Commit 734e476

Browse files
committed
Add SecurityPolicyViolationEvent & securitypolicyviolation to WorkerGlobal
1 parent f569940 commit 734e476

10 files changed

+54
-0
lines changed

baselines/serviceworker.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10779,6 +10779,7 @@ interface WorkerGlobalScopeEventMap {
1077910779
"offline": Event;
1078010780
"online": Event;
1078110781
"rejectionhandled": PromiseRejectionEvent;
10782+
"securitypolicyviolation": SecurityPolicyViolationEvent;
1078210783
"unhandledrejection": PromiseRejectionEvent;
1078310784
}
1078410785

@@ -10810,6 +10811,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1081010811
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
1081110812
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1081210813
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
10814+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
10815+
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1081310816
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1081410817
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1081510818
/**
@@ -11543,6 +11546,8 @@ declare var onoffline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | nu
1154311546
declare var ononline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;
1154411547
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1154511548
declare var onrejectionhandled: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
11549+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
11550+
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1154611551
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1154711552
declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1154811553
/**

baselines/sharedworker.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10318,6 +10318,7 @@ interface WorkerGlobalScopeEventMap {
1031810318
"offline": Event;
1031910319
"online": Event;
1032010320
"rejectionhandled": PromiseRejectionEvent;
10321+
"securitypolicyviolation": SecurityPolicyViolationEvent;
1032110322
"unhandledrejection": PromiseRejectionEvent;
1032210323
}
1032310324

@@ -10349,6 +10350,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1034910350
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
1035010351
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1035110352
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
10353+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
10354+
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1035210355
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1035310356
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1035410357
/**
@@ -11233,6 +11236,8 @@ declare var onoffline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | nul
1123311236
declare var ononline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | null;
1123411237
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1123511238
declare var onrejectionhandled: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
11239+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
11240+
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1123611241
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1123711242
declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1123811243
/**

baselines/ts5.5/serviceworker.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10779,6 +10779,7 @@ interface WorkerGlobalScopeEventMap {
1077910779
"offline": Event;
1078010780
"online": Event;
1078110781
"rejectionhandled": PromiseRejectionEvent;
10782+
"securitypolicyviolation": SecurityPolicyViolationEvent;
1078210783
"unhandledrejection": PromiseRejectionEvent;
1078310784
}
1078410785

@@ -10810,6 +10811,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1081010811
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
1081110812
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1081210813
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
10814+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
10815+
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1081310816
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1081410817
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1081510818
/**
@@ -11543,6 +11546,8 @@ declare var onoffline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | nu
1154311546
declare var ononline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;
1154411547
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1154511548
declare var onrejectionhandled: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
11549+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
11550+
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1154611551
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1154711552
declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1154811553
/**

baselines/ts5.5/sharedworker.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10318,6 +10318,7 @@ interface WorkerGlobalScopeEventMap {
1031810318
"offline": Event;
1031910319
"online": Event;
1032010320
"rejectionhandled": PromiseRejectionEvent;
10321+
"securitypolicyviolation": SecurityPolicyViolationEvent;
1032110322
"unhandledrejection": PromiseRejectionEvent;
1032210323
}
1032310324

@@ -10349,6 +10350,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1034910350
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
1035010351
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1035110352
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
10353+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
10354+
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1035210355
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1035310356
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1035410357
/**
@@ -11233,6 +11236,8 @@ declare var onoffline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | nul
1123311236
declare var ononline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | null;
1123411237
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1123511238
declare var onrejectionhandled: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
11239+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
11240+
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1123611241
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1123711242
declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1123811243
/**

baselines/ts5.5/webworker.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12246,6 +12246,7 @@ interface WorkerGlobalScopeEventMap {
1224612246
"offline": Event;
1224712247
"online": Event;
1224812248
"rejectionhandled": PromiseRejectionEvent;
12249+
"securitypolicyviolation": SecurityPolicyViolationEvent;
1224912250
"unhandledrejection": PromiseRejectionEvent;
1225012251
}
1225112252

@@ -12277,6 +12278,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1227712278
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
1227812279
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1227912280
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
12281+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
12282+
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1228012283
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1228112284
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1228212285
/**
@@ -13192,6 +13195,8 @@ declare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) |
1319213195
declare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
1319313196
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1319413197
declare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
13198+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
13199+
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1319513200
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1319613201
declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1319713202
/**

baselines/ts5.6/serviceworker.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10779,6 +10779,7 @@ interface WorkerGlobalScopeEventMap {
1077910779
"offline": Event;
1078010780
"online": Event;
1078110781
"rejectionhandled": PromiseRejectionEvent;
10782+
"securitypolicyviolation": SecurityPolicyViolationEvent;
1078210783
"unhandledrejection": PromiseRejectionEvent;
1078310784
}
1078410785

@@ -10810,6 +10811,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1081010811
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
1081110812
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1081210813
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
10814+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
10815+
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1081310816
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1081410817
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1081510818
/**
@@ -11543,6 +11546,8 @@ declare var onoffline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | nu
1154311546
declare var ononline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;
1154411547
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1154511548
declare var onrejectionhandled: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
11549+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
11550+
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1154611551
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1154711552
declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1154811553
/**

baselines/ts5.6/sharedworker.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10318,6 +10318,7 @@ interface WorkerGlobalScopeEventMap {
1031810318
"offline": Event;
1031910319
"online": Event;
1032010320
"rejectionhandled": PromiseRejectionEvent;
10321+
"securitypolicyviolation": SecurityPolicyViolationEvent;
1032110322
"unhandledrejection": PromiseRejectionEvent;
1032210323
}
1032310324

@@ -10349,6 +10350,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1034910350
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
1035010351
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1035110352
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
10353+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
10354+
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1035210355
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1035310356
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1035410357
/**
@@ -11233,6 +11236,8 @@ declare var onoffline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | nul
1123311236
declare var ononline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | null;
1123411237
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1123511238
declare var onrejectionhandled: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
11239+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
11240+
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1123611241
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1123711242
declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1123811243
/**

baselines/ts5.6/webworker.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12246,6 +12246,7 @@ interface WorkerGlobalScopeEventMap {
1224612246
"offline": Event;
1224712247
"online": Event;
1224812248
"rejectionhandled": PromiseRejectionEvent;
12249+
"securitypolicyviolation": SecurityPolicyViolationEvent;
1224912250
"unhandledrejection": PromiseRejectionEvent;
1225012251
}
1225112252

@@ -12277,6 +12278,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1227712278
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
1227812279
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1227912280
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
12281+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
12282+
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1228012283
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1228112284
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1228212285
/**
@@ -13192,6 +13195,8 @@ declare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) |
1319213195
declare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
1319313196
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1319413197
declare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
13198+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
13199+
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1319513200
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1319613201
declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1319713202
/**

baselines/webworker.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12246,6 +12246,7 @@ interface WorkerGlobalScopeEventMap {
1224612246
"offline": Event;
1224712247
"online": Event;
1224812248
"rejectionhandled": PromiseRejectionEvent;
12249+
"securitypolicyviolation": SecurityPolicyViolationEvent;
1224912250
"unhandledrejection": PromiseRejectionEvent;
1225012251
}
1225112252

@@ -12277,6 +12278,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1227712278
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
1227812279
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1227912280
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
12281+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
12282+
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1228012283
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1228112284
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1228212285
/**
@@ -13192,6 +13195,8 @@ declare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) |
1319213195
declare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
1319313196
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
1319413197
declare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
13198+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
13199+
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
1319513200
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
1319613201
declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
1319713202
/**

inputfiles/overridingTypes.jsonc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3195,6 +3195,11 @@
31953195
"WorkerGlobalScope": {
31963196
"properties": {
31973197
"property": {
3198+
"onsecuritypolicyviolation": {
3199+
"name": "onsecuritypolicyviolation",
3200+
"overrideType": "((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null",
3201+
"mdnUrl": "https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event"
3202+
},
31983203
"self": {
31993204
"overrideType": "WorkerGlobalScope & typeof globalThis"
32003205
}
@@ -3205,6 +3210,10 @@
32053210
{
32063211
"name": "error",
32073212
"type": "ErrorEvent"
3213+
},
3214+
{
3215+
"name": "securitypolicyviolation",
3216+
"type": "SecurityPolicyViolationEvent"
32083217
}
32093218
]
32103219
}

0 commit comments

Comments
 (0)