@@ -12246,6 +12246,7 @@ interface WorkerGlobalScopeEventMap {
12246
12246
"offline": Event;
12247
12247
"online": Event;
12248
12248
"rejectionhandled": PromiseRejectionEvent;
12249
+ "securitypolicyviolation": SecurityPolicyViolationEvent;
12249
12250
"unhandledrejection": PromiseRejectionEvent;
12250
12251
}
12251
12252
@@ -12277,6 +12278,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
12277
12278
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
12278
12279
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
12279
12280
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;
12280
12283
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
12281
12284
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
12282
12285
/**
@@ -13192,6 +13195,8 @@ declare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) |
13192
13195
declare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
13193
13196
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
13194
13197
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;
13195
13200
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
13196
13201
declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
13197
13202
/**
0 commit comments