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
10 changes: 5 additions & 5 deletions baselines/audioworklet.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1569,25 +1569,25 @@ declare namespace WebAssembly {
};

/**
* The **`WebAssembly.Exception`** object represents a runtime exception thrown from WebAssembly to JavaScript, or thrown from JavaScript to a WebAssembly exception handler.
* The **`WebAssembly.Exception`** object represents a runtime exception thrown in a Wasm module.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception)
*/
interface Exception {
/**
* The read-only **`stack`** property of an object instance of type WebAssembly.Exception may contain a stack trace.
* The **`stack`** read-only property of the WebAssembly.Exception object may contain a stack trace.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/stack)
*/
readonly stack: string | undefined;
/**
* The **`getArg()`** prototype method of the Exception object can be used to get the value of a specified item in the exception's data arguments.
* The **`getArg()`** method of the Exception object can be used to get the value of a specified item in the exception's data arguments.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/getArg)
*/
getArg(exceptionTag: Tag, index: number): any;
/**
* The **`is()`** prototype method of the Exception object can be used to test if the Exception matches a given tag.
* The **`is()`** method of the Exception object can be used to test if the Exception matches a given tag.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/is)
*/
Expand Down Expand Up @@ -1755,7 +1755,7 @@ declare namespace WebAssembly {
};

/**
* The **`WebAssembly.Tag`** object defines a type of a WebAssembly exception that can be thrown to/from WebAssembly code.
* The **`WebAssembly.Tag`** object represents a WebAssembly exception type that can be thrown in a Wasm module.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Tag)
*/
Expand Down
129 changes: 95 additions & 34 deletions baselines/dom.generated.d.ts

Large diffs are not rendered by default.

30 changes: 25 additions & 5 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ interface GPUPipelineErrorInit {

interface GPUPipelineLayoutDescriptor extends GPUObjectDescriptorBase {
bindGroupLayouts: (GPUBindGroupLayout | null)[];
immediateSize?: GPUSize32;
}

interface GPUPrimitiveState {
Expand Down Expand Up @@ -801,6 +802,13 @@ interface NavigationPreloadState {
headerValue?: string;
}

interface NotificationAction {
action: string;
icon?: string;
navigate?: string;
title: string;
}

interface NotificationEventInit extends ExtendableEventInit {
action?: string;
notification: Notification;
Expand Down Expand Up @@ -6949,6 +6957,12 @@ interface NotificationEventMap {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
*/
interface Notification extends EventTarget {
/**
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
*/
readonly actions: ReadonlyArray<NotificationAction>;
/**
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
*
Expand Down Expand Up @@ -7026,6 +7040,12 @@ interface Notification extends EventTarget {
declare var Notification: {
prototype: Notification;
new(title: string, options?: NotificationOptions): Notification;
/**
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
*/
readonly maxActions: number;
/**
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
*
Expand Down Expand Up @@ -12830,25 +12850,25 @@ declare namespace WebAssembly {
};

/**
* The **`WebAssembly.Exception`** object represents a runtime exception thrown from WebAssembly to JavaScript, or thrown from JavaScript to a WebAssembly exception handler.
* The **`WebAssembly.Exception`** object represents a runtime exception thrown in a Wasm module.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception)
*/
interface Exception {
/**
* The read-only **`stack`** property of an object instance of type WebAssembly.Exception may contain a stack trace.
* The **`stack`** read-only property of the WebAssembly.Exception object may contain a stack trace.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/stack)
*/
readonly stack: string | undefined;
/**
* The **`getArg()`** prototype method of the Exception object can be used to get the value of a specified item in the exception's data arguments.
* The **`getArg()`** method of the Exception object can be used to get the value of a specified item in the exception's data arguments.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/getArg)
*/
getArg(exceptionTag: Tag, index: number): any;
/**
* The **`is()`** prototype method of the Exception object can be used to test if the Exception matches a given tag.
* The **`is()`** method of the Exception object can be used to test if the Exception matches a given tag.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/is)
*/
Expand Down Expand Up @@ -13016,7 +13036,7 @@ declare namespace WebAssembly {
};

/**
* The **`WebAssembly.Tag`** object defines a type of a WebAssembly exception that can be thrown to/from WebAssembly code.
* The **`WebAssembly.Tag`** object represents a WebAssembly exception type that can be thrown in a Wasm module.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Tag)
*/
Expand Down
30 changes: 25 additions & 5 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ interface GPUPipelineErrorInit {

interface GPUPipelineLayoutDescriptor extends GPUObjectDescriptorBase {
bindGroupLayouts: (GPUBindGroupLayout | null)[];
immediateSize?: GPUSize32;
}

interface GPUPrimitiveState {
Expand Down Expand Up @@ -745,6 +746,13 @@ interface NavigationPreloadState {
headerValue?: string;
}

interface NotificationAction {
action: string;
icon?: string;
navigate?: string;
title: string;
}

interface NotificationOptions {
badge?: string;
body?: string;
Expand Down Expand Up @@ -6632,6 +6640,12 @@ interface NotificationEventMap {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
*/
interface Notification extends EventTarget {
/**
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
*/
readonly actions: ReadonlyArray<NotificationAction>;
/**
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
*
Expand Down Expand Up @@ -6709,6 +6723,12 @@ interface Notification extends EventTarget {
declare var Notification: {
prototype: Notification;
new(title: string, options?: NotificationOptions): Notification;
/**
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
*/
readonly maxActions: number;
/**
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
*
Expand Down Expand Up @@ -12556,25 +12576,25 @@ declare namespace WebAssembly {
};

/**
* The **`WebAssembly.Exception`** object represents a runtime exception thrown from WebAssembly to JavaScript, or thrown from JavaScript to a WebAssembly exception handler.
* The **`WebAssembly.Exception`** object represents a runtime exception thrown in a Wasm module.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception)
*/
interface Exception {
/**
* The read-only **`stack`** property of an object instance of type WebAssembly.Exception may contain a stack trace.
* The **`stack`** read-only property of the WebAssembly.Exception object may contain a stack trace.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/stack)
*/
readonly stack: string | undefined;
/**
* The **`getArg()`** prototype method of the Exception object can be used to get the value of a specified item in the exception's data arguments.
* The **`getArg()`** method of the Exception object can be used to get the value of a specified item in the exception's data arguments.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/getArg)
*/
getArg(exceptionTag: Tag, index: number): any;
/**
* The **`is()`** prototype method of the Exception object can be used to test if the Exception matches a given tag.
* The **`is()`** method of the Exception object can be used to test if the Exception matches a given tag.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/is)
*/
Expand Down Expand Up @@ -12742,7 +12762,7 @@ declare namespace WebAssembly {
};

/**
* The **`WebAssembly.Tag`** object defines a type of a WebAssembly exception that can be thrown to/from WebAssembly code.
* The **`WebAssembly.Tag`** object represents a WebAssembly exception type that can be thrown in a Wasm module.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Tag)
*/
Expand Down
10 changes: 5 additions & 5 deletions baselines/ts5.5/audioworklet.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1566,25 +1566,25 @@ declare namespace WebAssembly {
};

/**
* The **`WebAssembly.Exception`** object represents a runtime exception thrown from WebAssembly to JavaScript, or thrown from JavaScript to a WebAssembly exception handler.
* The **`WebAssembly.Exception`** object represents a runtime exception thrown in a Wasm module.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception)
*/
interface Exception {
/**
* The read-only **`stack`** property of an object instance of type WebAssembly.Exception may contain a stack trace.
* The **`stack`** read-only property of the WebAssembly.Exception object may contain a stack trace.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/stack)
*/
readonly stack: string | undefined;
/**
* The **`getArg()`** prototype method of the Exception object can be used to get the value of a specified item in the exception's data arguments.
* The **`getArg()`** method of the Exception object can be used to get the value of a specified item in the exception's data arguments.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/getArg)
*/
getArg(exceptionTag: Tag, index: number): any;
/**
* The **`is()`** prototype method of the Exception object can be used to test if the Exception matches a given tag.
* The **`is()`** method of the Exception object can be used to test if the Exception matches a given tag.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception/is)
*/
Expand Down Expand Up @@ -1752,7 +1752,7 @@ declare namespace WebAssembly {
};

/**
* The **`WebAssembly.Tag`** object defines a type of a WebAssembly exception that can be thrown to/from WebAssembly code.
* The **`WebAssembly.Tag`** object represents a WebAssembly exception type that can be thrown in a Wasm module.
*
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Tag)
*/
Expand Down
Loading