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
32 changes: 31 additions & 1 deletion baselines/audioworklet.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ interface QueuingStrategyInit {
highWaterMark: number;
}

interface QuotaExceededErrorOptions {
quota?: number;
requested?: number;
}

interface ReadableStreamBYOBReaderReadOptions {
min?: number;
}
Expand Down Expand Up @@ -613,7 +618,7 @@ interface Event {
*/
returnValue: boolean;
/**
* The deprecated **`Event.srcElement`** is an alias for the Event.target property. Use Event.target instead.
* The **`srcElement`** read-only property of the Event interface is a deprecated alias for the Event.target property. Use Event.target instead.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/srcElement)
Expand Down Expand Up @@ -868,6 +873,31 @@ declare var PromiseRejectionEvent: {
new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent;
};

/**
* The **`QuotaExceededError`** interface represents an error when a requested operation would exceed a system-imposed storage quota.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/QuotaExceededError)
*/
interface QuotaExceededError extends DOMException {
/**
* The **`quota`** read-only property of the QuotaExceededError interface returns the system-defined storage quota (in bytes) that the operation attempted to exceed, or undefined if the information is not available.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/QuotaExceededError/quota)
*/
readonly quota: number | null;
/**
* The **`requested`** read-only property of the QuotaExceededError interface returns the number of bytes that were requested when the error occurred, or undefined if the information is not available.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/QuotaExceededError/requested)
*/
readonly requested: number | null;
}

declare var QuotaExceededError: {
prototype: QuotaExceededError;
new(message?: string, options?: QuotaExceededErrorOptions): QuotaExceededError;
};

/**
* The **`ReadableByteStreamController`** interface of the Streams API represents a controller for a readable byte stream. It allows control of the state and internal queue of a ReadableStream with an underlying byte source, and enables efficient zero-copy transfer of data from the underlying source to a consumer when the stream's internal queue is empty.
*
Expand Down
436 changes: 353 additions & 83 deletions baselines/dom.generated.d.ts

Large diffs are not rendered by default.

104 changes: 86 additions & 18 deletions baselines/serviceworker.generated.d.ts

Large diffs are not rendered by default.

104 changes: 86 additions & 18 deletions baselines/sharedworker.generated.d.ts

Large diffs are not rendered by default.

32 changes: 31 additions & 1 deletion baselines/ts5.5/audioworklet.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ interface QueuingStrategyInit {
highWaterMark: number;
}

interface QuotaExceededErrorOptions {
quota?: number;
requested?: number;
}

interface ReadableStreamBYOBReaderReadOptions {
min?: number;
}
Expand Down Expand Up @@ -610,7 +615,7 @@ interface Event {
*/
returnValue: boolean;
/**
* The deprecated **`Event.srcElement`** is an alias for the Event.target property. Use Event.target instead.
* The **`srcElement`** read-only property of the Event interface is a deprecated alias for the Event.target property. Use Event.target instead.
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/srcElement)
Expand Down Expand Up @@ -865,6 +870,31 @@ declare var PromiseRejectionEvent: {
new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent;
};

/**
* The **`QuotaExceededError`** interface represents an error when a requested operation would exceed a system-imposed storage quota.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/QuotaExceededError)
*/
interface QuotaExceededError extends DOMException {
/**
* The **`quota`** read-only property of the QuotaExceededError interface returns the system-defined storage quota (in bytes) that the operation attempted to exceed, or undefined if the information is not available.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/QuotaExceededError/quota)
*/
readonly quota: number | null;
/**
* The **`requested`** read-only property of the QuotaExceededError interface returns the number of bytes that were requested when the error occurred, or undefined if the information is not available.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/QuotaExceededError/requested)
*/
readonly requested: number | null;
}

declare var QuotaExceededError: {
prototype: QuotaExceededError;
new(message?: string, options?: QuotaExceededErrorOptions): QuotaExceededError;
};

/**
* The **`ReadableByteStreamController`** interface of the Streams API represents a controller for a readable byte stream. It allows control of the state and internal queue of a ReadableStream with an underlying byte source, and enables efficient zero-copy transfer of data from the underlying source to a consumer when the stream's internal queue is empty.
*
Expand Down
Loading
Loading