Skip to content

Commit de5a587

Browse files
committed
Add InstallEvent
1 parent 7aa85ee commit de5a587

9 files changed

Lines changed: 104 additions & 4 deletions

baselines/serviceworker.generated.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5033,6 +5033,19 @@ interface ImportMeta {
50335033
resolve(specifier: string): string;
50345034
}
50355035

5036+
/**
5037+
* The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
5038+
*
5039+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
5040+
*/
5041+
interface InstallEvent extends ExtendableEvent {
5042+
}
5043+
5044+
declare var InstallEvent: {
5045+
prototype: InstallEvent;
5046+
new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
5047+
};
5048+
50365049
/**
50375050
* The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
50385051
*

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5030,6 +5030,19 @@ interface ImportMeta {
50305030
resolve(specifier: string): string;
50315031
}
50325032

5033+
/**
5034+
* The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
5035+
*
5036+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
5037+
*/
5038+
interface InstallEvent extends ExtendableEvent {
5039+
}
5040+
5041+
declare var InstallEvent: {
5042+
prototype: InstallEvent;
5043+
new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
5044+
};
5045+
50335046
/**
50345047
* The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
50355048
*

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5871,6 +5871,19 @@ interface ImportMeta {
58715871
resolve(specifier: string): string;
58725872
}
58735873

5874+
/**
5875+
* The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
5876+
*
5877+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
5878+
*/
5879+
interface InstallEvent extends ExtendableEvent {
5880+
}
5881+
5882+
declare var InstallEvent: {
5883+
prototype: InstallEvent;
5884+
new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
5885+
};
5886+
58745887
/**
58755888
* The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
58765889
*

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5030,6 +5030,19 @@ interface ImportMeta {
50305030
resolve(specifier: string): string;
50315031
}
50325032

5033+
/**
5034+
* The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
5035+
*
5036+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
5037+
*/
5038+
interface InstallEvent extends ExtendableEvent {
5039+
}
5040+
5041+
declare var InstallEvent: {
5042+
prototype: InstallEvent;
5043+
new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
5044+
};
5045+
50335046
/**
50345047
* The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
50355048
*

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5871,6 +5871,19 @@ interface ImportMeta {
58715871
resolve(specifier: string): string;
58725872
}
58735873

5874+
/**
5875+
* The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
5876+
*
5877+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
5878+
*/
5879+
interface InstallEvent extends ExtendableEvent {
5880+
}
5881+
5882+
declare var InstallEvent: {
5883+
prototype: InstallEvent;
5884+
new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
5885+
};
5886+
58745887
/**
58755888
* The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
58765889
*

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5030,6 +5030,19 @@ interface ImportMeta {
50305030
resolve(specifier: string): string;
50315031
}
50325032

5033+
/**
5034+
* The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
5035+
*
5036+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
5037+
*/
5038+
interface InstallEvent extends ExtendableEvent {
5039+
}
5040+
5041+
declare var InstallEvent: {
5042+
prototype: InstallEvent;
5043+
new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
5044+
};
5045+
50335046
/**
50345047
* The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
50355048
*

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5871,6 +5871,19 @@ interface ImportMeta {
58715871
resolve(specifier: string): string;
58725872
}
58735873

5874+
/**
5875+
* The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
5876+
*
5877+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
5878+
*/
5879+
interface InstallEvent extends ExtendableEvent {
5880+
}
5881+
5882+
declare var InstallEvent: {
5883+
prototype: InstallEvent;
5884+
new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
5885+
};
5886+
58745887
/**
58755888
* The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
58765889
*

baselines/webworker.generated.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5874,6 +5874,19 @@ interface ImportMeta {
58745874
resolve(specifier: string): string;
58755875
}
58765876

5877+
/**
5878+
* The parameter passed into an install event handler function, the **`InstallEvent`** interface represents an install action that is dispatched on the ServiceWorkerGlobalScope of a ServiceWorker. As a child of ExtendableEvent, it ensures that functional events such as FetchEvent are not dispatched during installation.
5879+
*
5880+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/InstallEvent)
5881+
*/
5882+
interface InstallEvent extends ExtendableEvent {
5883+
}
5884+
5885+
declare var InstallEvent: {
5886+
prototype: InstallEvent;
5887+
new(type: string, eventInitDict?: ExtendableEventInit): InstallEvent;
5888+
};
5889+
58775890
/**
58785891
* The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (COMPLETION_STATUS_KHR) can be queried without potentially incurring stalls. In other words you can check the status of your shaders compiling without blocking the runtime.
58795892
*

inputfiles/overridingTypes.jsonc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2679,10 +2679,6 @@
26792679
]
26802680
}
26812681
},
2682-
"InstallEvent": {
2683-
// https://github.com/mdn/browser-compat-data/issues/22591
2684-
"exposed": ""
2685-
},
26862682
"Instance": {
26872683
"constructor": {
26882684
"signature": {

0 commit comments

Comments
 (0)