Skip to content
Closed
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
99 changes: 33 additions & 66 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6851,6 +6851,7 @@ interface CSSStyleProperties extends CSSStyleDeclaration {
textAlignLast: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */
textAnchor: string;
textAutospace: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */
textBox: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box-edge) */
Expand Down Expand Up @@ -10692,7 +10693,7 @@ declare var Document: {
prototype: Document;
new(): Document;
/**
* The **`parseHTMLUnsafe()`** static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
* The **`parseHTMLUnsafe()`** static method of the Document object is used to parse HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
*/
Expand Down Expand Up @@ -11366,7 +11367,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
*/
setAttributeNodeNS(attr: Attr): Attr | null;
/**
* The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
* The **`setHTMLUnsafe()`** method of the Element interface is used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don't belong in the context, and then using it to replace the element's subtree in the DOM.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
*/
Expand Down Expand Up @@ -12405,6 +12406,12 @@ interface FontFace {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)
*/
unicodeRange: string;
/**
* The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings)
*/
variationSettings: string;
/**
* The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.
*
Expand Down Expand Up @@ -13575,7 +13582,7 @@ declare var HTMLBodyElement: {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
*/
interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
interface HTMLButtonElement extends HTMLElement, PopoverTargetAttributes {
/**
* The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.
*
Expand Down Expand Up @@ -15026,7 +15033,7 @@ declare var HTMLImageElement: {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement)
*/
interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
/**
* The **`accept`** property of the HTMLInputElement interface reflects the input element's `accept` attribute, generally a comma-separated list of unique file type specifiers providing a hint for the expected file type for an `<input>` of type `file`.
*
Expand Down Expand Up @@ -15290,7 +15297,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
*/
readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
/**
* The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `<input type='file'>` elements should let the user select directories instead of files.
* The **`webkitdirectory`** property of the HTMLInputElement interface reflects the `webkitdirectory` HTML attribute, which indicates that `<input type='file'>` elements can only select directories instead of files.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory)
*/
Expand Down Expand Up @@ -18152,7 +18159,7 @@ declare var Headers: {
*/
interface Highlight {
/**
* It is possible to create Range objects that overlap in a document.
* The `priority` property of the Highlight interface is a number used to determine which highlight's styles should be used to resolve style conflicts in overlapping parts.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/priority)
*/
Expand Down Expand Up @@ -19598,7 +19605,11 @@ interface LargestContentfulPaint extends PerformanceEntry {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime)
*/
readonly loadTime: DOMHighResTimeStamp;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */
/**
* The **`renderTime`** read-only property of the LargestContentfulPaint interface represents the time that the element was rendered to the screen.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime)
*/
readonly renderTime: DOMHighResTimeStamp;
/**
* The **`size`** read-only property of the LargestContentfulPaint interface returns the intrinsic size of the element that is the largest contentful paint.
Expand Down Expand Up @@ -21888,55 +21899,23 @@ interface NavigatorCookies {
}

interface NavigatorID {
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
readonly appCodeName: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */
readonly appName: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */
readonly appVersion: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */
readonly platform: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */
readonly product: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub) */
readonly productSub: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */
readonly userAgent: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor) */
readonly vendor: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub) */
readonly vendorSub: string;
}

Expand Down Expand Up @@ -21979,25 +21958,13 @@ interface NavigatorOnLine {
}

interface NavigatorPlugins {
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes) */
readonly mimeTypes: MimeTypeArray;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) */
readonly pdfViewerEnabled: boolean;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins) */
readonly plugins: PluginArray;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled) */
javaEnabled(): boolean;
}

Expand Down Expand Up @@ -24499,7 +24466,7 @@ declare var PopStateEvent: {
new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent;
};

interface PopoverInvokerElement {
interface PopoverTargetAttributes {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */
popoverTargetAction: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */
Expand Down Expand Up @@ -25616,7 +25583,7 @@ declare var RTCPeerConnectionIceEvent: {
*/
interface RTCRtpReceiver {
/**
* The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter buffer should hold media before playing it out.
* The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application's preferred duration, in milliseconds, for which the jitter should hold media before playing it out.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget)
*/
Expand Down Expand Up @@ -31166,7 +31133,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
*/
getHTML(options?: GetHTMLOptions): string;
/**
* The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM.
* The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse HTML input into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
*/
Expand Down Expand Up @@ -33327,7 +33294,7 @@ interface URLPattern {
*/
exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
/**
* The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
* The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
*/
Expand Down
41 changes: 14 additions & 27 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,8 @@ interface PromiseRejectionEventInit extends EventInit {
}

interface PushEventInit extends ExtendableEventInit {
data?: PushMessageDataInit;
data?: PushMessageDataInit | null;
notification?: Notification | null;
}

interface PushSubscriptionChangeEventInit extends ExtendableEventInit {
Expand Down Expand Up @@ -3966,6 +3967,12 @@ interface FontFace {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)
*/
unicodeRange: string;
/**
* The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings)
*/
variationSettings: string;
/**
* The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.
*
Expand Down Expand Up @@ -5237,35 +5244,15 @@ interface NavigatorConcurrentHardware {
}

interface NavigatorID {
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
readonly appCodeName: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */
readonly appName: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */
readonly appVersion: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */
readonly platform: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */
readonly product: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */
readonly userAgent: string;
Expand Down Expand Up @@ -7866,7 +7853,7 @@ interface URLPattern {
*/
exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
/**
* The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
* The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
*/
Expand Down
38 changes: 12 additions & 26 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3649,6 +3649,12 @@ interface FontFace {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)
*/
unicodeRange: string;
/**
* The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings)
*/
variationSettings: string;
/**
* The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.
*
Expand Down Expand Up @@ -4920,35 +4926,15 @@ interface NavigatorConcurrentHardware {
}

interface NavigatorID {
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
readonly appCodeName: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */
readonly appName: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */
readonly appVersion: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */
readonly platform: string;
/**
* @deprecated
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)
*/
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */
readonly product: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */
readonly userAgent: string;
Expand Down Expand Up @@ -7409,7 +7395,7 @@ interface URLPattern {
*/
exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
/**
* The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
* The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
*/
Expand Down
Loading