Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10779,6 +10779,7 @@ interface WorkerGlobalScopeEventMap {
"offline": Event;
"online": Event;
"rejectionhandled": PromiseRejectionEvent;
"securitypolicyviolation": SecurityPolicyViolationEvent;
"unhandledrejection": PromiseRejectionEvent;
}

Expand Down Expand Up @@ -10810,6 +10811,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down Expand Up @@ -11543,6 +11546,8 @@ declare var onoffline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | nu
declare var ononline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
declare var onrejectionhandled: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down
5 changes: 5 additions & 0 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10318,6 +10318,7 @@ interface WorkerGlobalScopeEventMap {
"offline": Event;
"online": Event;
"rejectionhandled": PromiseRejectionEvent;
"securitypolicyviolation": SecurityPolicyViolationEvent;
"unhandledrejection": PromiseRejectionEvent;
}

Expand Down Expand Up @@ -10349,6 +10350,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down Expand Up @@ -11233,6 +11236,8 @@ declare var onoffline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | nul
declare var ononline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
declare var onrejectionhandled: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down
5 changes: 5 additions & 0 deletions baselines/ts5.5/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10779,6 +10779,7 @@ interface WorkerGlobalScopeEventMap {
"offline": Event;
"online": Event;
"rejectionhandled": PromiseRejectionEvent;
"securitypolicyviolation": SecurityPolicyViolationEvent;
"unhandledrejection": PromiseRejectionEvent;
}

Expand Down Expand Up @@ -10810,6 +10811,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down Expand Up @@ -11543,6 +11546,8 @@ declare var onoffline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | nu
declare var ononline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
declare var onrejectionhandled: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down
5 changes: 5 additions & 0 deletions baselines/ts5.5/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10318,6 +10318,7 @@ interface WorkerGlobalScopeEventMap {
"offline": Event;
"online": Event;
"rejectionhandled": PromiseRejectionEvent;
"securitypolicyviolation": SecurityPolicyViolationEvent;
"unhandledrejection": PromiseRejectionEvent;
}

Expand Down Expand Up @@ -10349,6 +10350,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down Expand Up @@ -11233,6 +11236,8 @@ declare var onoffline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | nul
declare var ononline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
declare var onrejectionhandled: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down
5 changes: 5 additions & 0 deletions baselines/ts5.5/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12246,6 +12246,7 @@ interface WorkerGlobalScopeEventMap {
"offline": Event;
"online": Event;
"rejectionhandled": PromiseRejectionEvent;
"securitypolicyviolation": SecurityPolicyViolationEvent;
"unhandledrejection": PromiseRejectionEvent;
}

Expand Down Expand Up @@ -12277,6 +12278,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down Expand Up @@ -13192,6 +13195,8 @@ declare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) |
declare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
declare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down
5 changes: 5 additions & 0 deletions baselines/ts5.6/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10779,6 +10779,7 @@ interface WorkerGlobalScopeEventMap {
"offline": Event;
"online": Event;
"rejectionhandled": PromiseRejectionEvent;
"securitypolicyviolation": SecurityPolicyViolationEvent;
"unhandledrejection": PromiseRejectionEvent;
}

Expand Down Expand Up @@ -10810,6 +10811,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down Expand Up @@ -11543,6 +11546,8 @@ declare var onoffline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | nu
declare var ononline: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
declare var onrejectionhandled: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down
5 changes: 5 additions & 0 deletions baselines/ts5.6/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10318,6 +10318,7 @@ interface WorkerGlobalScopeEventMap {
"offline": Event;
"online": Event;
"rejectionhandled": PromiseRejectionEvent;
"securitypolicyviolation": SecurityPolicyViolationEvent;
"unhandledrejection": PromiseRejectionEvent;
}

Expand Down Expand Up @@ -10349,6 +10350,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down Expand Up @@ -11233,6 +11236,8 @@ declare var onoffline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | nul
declare var ononline: ((this: SharedWorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
declare var onrejectionhandled: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down
5 changes: 5 additions & 0 deletions baselines/ts5.6/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12246,6 +12246,7 @@ interface WorkerGlobalScopeEventMap {
"offline": Event;
"online": Event;
"rejectionhandled": PromiseRejectionEvent;
"securitypolicyviolation": SecurityPolicyViolationEvent;
"unhandledrejection": PromiseRejectionEvent;
}

Expand Down Expand Up @@ -12277,6 +12278,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down Expand Up @@ -13192,6 +13195,8 @@ declare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) |
declare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
declare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down
5 changes: 5 additions & 0 deletions baselines/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12246,6 +12246,7 @@ interface WorkerGlobalScopeEventMap {
"offline": Event;
"online": Event;
"rejectionhandled": PromiseRejectionEvent;
"securitypolicyviolation": SecurityPolicyViolationEvent;
"unhandledrejection": PromiseRejectionEvent;
}

Expand Down Expand Up @@ -12277,6 +12278,8 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down Expand Up @@ -13192,6 +13195,8 @@ declare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) |
declare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */
declare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event) */
declare var onsecuritypolicyviolation: ((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */
declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;
/**
Expand Down
9 changes: 9 additions & 0 deletions inputfiles/overridingTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -3195,6 +3195,11 @@
"WorkerGlobalScope": {
"properties": {
"property": {
"onsecuritypolicyviolation": {
"name": "onsecuritypolicyviolation",
"overrideType": "((this: WorkerGlobalScope, ev: SecurityPolicyViolationEvent) => any) | null",
"mdnUrl": "https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/securitypolicyviolation_event"
},
"self": {
"overrideType": "WorkerGlobalScope & typeof globalThis"
}
Expand All @@ -3205,6 +3210,10 @@
{
"name": "error",
"type": "ErrorEvent"
},
{
"name": "securitypolicyviolation",
"type": "SecurityPolicyViolationEvent"
}
]
}
Expand Down