Skip to content
Merged
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
13 changes: 13 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13703,6 +13703,12 @@ interface Document extends Node, ARIANotifyMixin, DocumentOrShadowRoot, FontFace
declare var Document: {
prototype: Document;
new(): Document;
/**
* The **`parseHTML()`** static method of the Document object provides an XSS-safe method to parse and sanitize a string of HTML in order to create a new Document instance.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTML_static)
*/
parseHTML(html: string, options?: SetHTMLOptions): Document;
/**
* 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.
*
Expand Down Expand Up @@ -29822,6 +29828,7 @@ interface RTCDtlsTransport extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state)
*/
readonly state: RTCDtlsTransportState;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) */
getRemoteCertificates(): ArrayBuffer[];
addEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
Expand Down Expand Up @@ -36174,6 +36181,12 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML)
*/
getHTML(options?: GetHTMLOptions): string;
/**
* The **`setHTML()`** method of the ShadowRoot interface provides an XSS-safe method to parse and sanitize a string of HTML, which then replaces the existing tree in the Shadow DOM.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTML)
*/
setHTML(html: string, options?: SetHTMLOptions): void;
/**
* 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.
*
Expand Down
13 changes: 13 additions & 0 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13692,6 +13692,12 @@ interface Document extends Node, ARIANotifyMixin, DocumentOrShadowRoot, FontFace
declare var Document: {
prototype: Document;
new(): Document;
/**
* The **`parseHTML()`** static method of the Document object provides an XSS-safe method to parse and sanitize a string of HTML in order to create a new Document instance.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTML_static)
*/
parseHTML(html: string, options?: SetHTMLOptions): Document;
/**
* 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.
*
Expand Down Expand Up @@ -29798,6 +29804,7 @@ interface RTCDtlsTransport extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state)
*/
readonly state: RTCDtlsTransportState;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) */
getRemoteCertificates(): ArrayBuffer[];
addEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
Expand Down Expand Up @@ -36149,6 +36156,12 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML)
*/
getHTML(options?: GetHTMLOptions): string;
/**
* The **`setHTML()`** method of the ShadowRoot interface provides an XSS-safe method to parse and sanitize a string of HTML, which then replaces the existing tree in the Shadow DOM.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTML)
*/
setHTML(html: string, options?: SetHTMLOptions): void;
/**
* 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.
*
Expand Down
13 changes: 13 additions & 0 deletions baselines/ts5.6/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13700,6 +13700,12 @@ interface Document extends Node, ARIANotifyMixin, DocumentOrShadowRoot, FontFace
declare var Document: {
prototype: Document;
new(): Document;
/**
* The **`parseHTML()`** static method of the Document object provides an XSS-safe method to parse and sanitize a string of HTML in order to create a new Document instance.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTML_static)
*/
parseHTML(html: string, options?: SetHTMLOptions): Document;
/**
* 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.
*
Expand Down Expand Up @@ -29819,6 +29825,7 @@ interface RTCDtlsTransport extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state)
*/
readonly state: RTCDtlsTransportState;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) */
getRemoteCertificates(): ArrayBuffer[];
addEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
Expand Down Expand Up @@ -36171,6 +36178,12 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML)
*/
getHTML(options?: GetHTMLOptions): string;
/**
* The **`setHTML()`** method of the ShadowRoot interface provides an XSS-safe method to parse and sanitize a string of HTML, which then replaces the existing tree in the Shadow DOM.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTML)
*/
setHTML(html: string, options?: SetHTMLOptions): void;
/**
* 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.
*
Expand Down
13 changes: 13 additions & 0 deletions baselines/ts5.9/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13700,6 +13700,12 @@ interface Document extends Node, ARIANotifyMixin, DocumentOrShadowRoot, FontFace
declare var Document: {
prototype: Document;
new(): Document;
/**
* The **`parseHTML()`** static method of the Document object provides an XSS-safe method to parse and sanitize a string of HTML in order to create a new Document instance.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTML_static)
*/
parseHTML(html: string, options?: SetHTMLOptions): Document;
/**
* 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.
*
Expand Down Expand Up @@ -29819,6 +29825,7 @@ interface RTCDtlsTransport extends EventTarget {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state)
*/
readonly state: RTCDtlsTransportState;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates) */
getRemoteCertificates(): ArrayBuffer[];
addEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
Expand Down Expand Up @@ -36171,6 +36178,12 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML)
*/
getHTML(options?: GetHTMLOptions): string;
/**
* The **`setHTML()`** method of the ShadowRoot interface provides an XSS-safe method to parse and sanitize a string of HTML, which then replaces the existing tree in the Shadow DOM.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTML)
*/
setHTML(html: string, options?: SetHTMLOptions): void;
/**
* 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.
*
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading