Skip to content

Commit 9699918

Browse files
authored
Manually update to idl@3.73.2 (#2448)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent 37af214 commit 9699918

File tree

7 files changed

+359
-346
lines changed

7 files changed

+359
-346
lines changed

baselines/dom.generated.d.ts

Lines changed: 84 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ interface CSSNumericType {
351351
}
352352

353353
interface CSSStyleSheetInit {
354-
baseURL?: string;
354+
baseURL?: string | null;
355355
disabled?: boolean;
356356
media?: MediaList | string;
357357
}
@@ -17096,7 +17096,7 @@ declare var HTMLAllCollection: {
1709617096
*
1709717097
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
1709817098
*/
17099-
interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
17099+
interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
1710017100
/** @deprecated */
1710117101
charset: string;
1710217102
/** @deprecated */
@@ -17178,7 +17178,7 @@ declare var HTMLAnchorElement: {
1717817178
*
1717917179
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
1718017180
*/
17181-
interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
17181+
interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
1718217182
/**
1718317183
* The **`alt`** property of the HTMLAreaElement interface specifies the text of the hyperlink, defining the textual label for an image map's link. It reflects the <area> element's alt attribute.
1718417184
*
@@ -18430,30 +18430,6 @@ declare var HTMLHtmlElement: {
1843018430
};
1843118431

1843218432
interface HTMLHyperlinkElementUtils {
18433-
/**
18434-
* Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
18435-
*
18436-
* Can be set, to change the URL's fragment (ignores leading "#").
18437-
*
18438-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
18439-
*/
18440-
hash: string;
18441-
/**
18442-
* Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
18443-
*
18444-
* Can be set, to change the URL's host and port.
18445-
*
18446-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
18447-
*/
18448-
host: string;
18449-
/**
18450-
* Returns the hyperlink's URL's host.
18451-
*
18452-
* Can be set, to change the URL's host.
18453-
*
18454-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
18455-
*/
18456-
hostname: string;
1845718433
/**
1845818434
* Returns the hyperlink's URL.
1845918435
*
@@ -18463,60 +18439,6 @@ interface HTMLHyperlinkElementUtils {
1846318439
*/
1846418440
href: string;
1846518441
toString(): string;
18466-
/**
18467-
* Returns the hyperlink's URL's origin.
18468-
*
18469-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
18470-
*/
18471-
readonly origin: string;
18472-
/**
18473-
* Returns the hyperlink's URL's password.
18474-
*
18475-
* Can be set, to change the URL's password.
18476-
*
18477-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
18478-
*/
18479-
password: string;
18480-
/**
18481-
* Returns the hyperlink's URL's path.
18482-
*
18483-
* Can be set, to change the URL's path.
18484-
*
18485-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
18486-
*/
18487-
pathname: string;
18488-
/**
18489-
* Returns the hyperlink's URL's port.
18490-
*
18491-
* Can be set, to change the URL's port.
18492-
*
18493-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
18494-
*/
18495-
port: string;
18496-
/**
18497-
* Returns the hyperlink's URL's scheme.
18498-
*
18499-
* Can be set, to change the URL's scheme.
18500-
*
18501-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
18502-
*/
18503-
protocol: string;
18504-
/**
18505-
* Returns the hyperlink's URL's query (includes leading "?" if non-empty).
18506-
*
18507-
* Can be set, to change the URL's query (ignores leading "?").
18508-
*
18509-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
18510-
*/
18511-
search: string;
18512-
/**
18513-
* Returns the hyperlink's URL's username.
18514-
*
18515-
* Can be set, to change the URL's username.
18516-
*
18517-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
18518-
*/
18519-
username: string;
1852018442
}
1852118443

1852218444
/**
@@ -22047,6 +21969,87 @@ declare var History: {
2204721969
new(): History;
2204821970
};
2204921971

21972+
interface HyperlinkElementUtils {
21973+
/**
21974+
* Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
21975+
*
21976+
* Can be set, to change the URL's fragment (ignores leading "#").
21977+
*
21978+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
21979+
*/
21980+
hash: string;
21981+
/**
21982+
* Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
21983+
*
21984+
* Can be set, to change the URL's host and port.
21985+
*
21986+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
21987+
*/
21988+
host: string;
21989+
/**
21990+
* Returns the hyperlink's URL's host.
21991+
*
21992+
* Can be set, to change the URL's host.
21993+
*
21994+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
21995+
*/
21996+
hostname: string;
21997+
/**
21998+
* Returns the hyperlink's URL's origin.
21999+
*
22000+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
22001+
*/
22002+
readonly origin: string;
22003+
/**
22004+
* Returns the hyperlink's URL's password.
22005+
*
22006+
* Can be set, to change the URL's password.
22007+
*
22008+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
22009+
*/
22010+
password: string;
22011+
/**
22012+
* Returns the hyperlink's URL's path.
22013+
*
22014+
* Can be set, to change the URL's path.
22015+
*
22016+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
22017+
*/
22018+
pathname: string;
22019+
/**
22020+
* Returns the hyperlink's URL's port.
22021+
*
22022+
* Can be set, to change the URL's port.
22023+
*
22024+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
22025+
*/
22026+
port: string;
22027+
/**
22028+
* Returns the hyperlink's URL's scheme.
22029+
*
22030+
* Can be set, to change the URL's scheme.
22031+
*
22032+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
22033+
*/
22034+
protocol: string;
22035+
/**
22036+
* Returns the hyperlink's URL's query (includes leading "?" if non-empty).
22037+
*
22038+
* Can be set, to change the URL's query (ignores leading "?").
22039+
*
22040+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
22041+
*/
22042+
search: string;
22043+
/**
22044+
* Returns the hyperlink's URL's username.
22045+
*
22046+
* Can be set, to change the URL's username.
22047+
*
22048+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
22049+
*/
22050+
username: string;
22051+
}
22052+
2205022053
/**
2205122054
* The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
2205222055
*

0 commit comments

Comments
 (0)