Skip to content

Commit 7b2b832

Browse files
committed
Remove ServiceWorkerMessageEvent
1 parent ae8c70e commit 7b2b832

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

baselines/dom.generated.d.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,14 +1698,6 @@ interface SecurityPolicyViolationEventInit extends EventInit {
16981698
violatedDirective?: string;
16991699
}
17001700

1701-
interface ServiceWorkerMessageEventInit extends EventInit {
1702-
data?: any;
1703-
lastEventId?: string;
1704-
origin?: string;
1705-
ports?: MessagePort[] | null;
1706-
source?: ServiceWorker | MessagePort | null;
1707-
}
1708-
17091701
interface ShadowRootInit {
17101702
delegatesFocus?: boolean;
17111703
mode: ShadowRootMode;
@@ -4698,7 +4690,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
46984690
createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent;
46994691
createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent;
47004692
createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;
4701-
createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent;
47024693
createEvent(eventInterface: "SpeechRecognitionErrorEvent"): SpeechRecognitionErrorEvent;
47034694
createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent;
47044695
createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;
@@ -4944,7 +4935,6 @@ interface DocumentEvent {
49444935
createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent;
49454936
createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent;
49464937
createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;
4947-
createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent;
49484938
createEvent(eventInterface: "SpeechRecognitionErrorEvent"): SpeechRecognitionErrorEvent;
49494939
createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent;
49504940
createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;
@@ -14842,20 +14832,6 @@ declare var ServiceWorkerContainer: {
1484214832
new(): ServiceWorkerContainer;
1484314833
};
1484414834

14845-
/** This ServiceWorker API interface contains information about an event sent to a ServiceWorkerContainer target. This extends the default message event to allow setting a ServiceWorker object as the source of a message. The event object is accessed via the handler function of a message event, when fired by a message received from a service worker. */
14846-
interface ServiceWorkerMessageEvent extends Event {
14847-
readonly data: any;
14848-
readonly lastEventId: string;
14849-
readonly origin: string;
14850-
readonly ports: ReadonlyArray<MessagePort> | null;
14851-
readonly source: ServiceWorker | MessagePort | null;
14852-
}
14853-
14854-
declare var ServiceWorkerMessageEvent: {
14855-
prototype: ServiceWorkerMessageEvent;
14856-
new(type: string, eventInitDict?: ServiceWorkerMessageEventInit): ServiceWorkerMessageEvent;
14857-
};
14858-
1485914835
interface ServiceWorkerRegistrationEventMap {
1486014836
"updatefound": Event;
1486114837
}

inputfiles/removedTypes.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
}
296296
}
297297
},
298+
"ServiceWorkerMessageEvent": null,
298299
"ShadowRoot": {
299300
"properties": {
300301
"property": {

0 commit comments

Comments
 (0)