@types/web 0.0.338 → 0.0.340
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +265 -82
- package/package.json +1 -1
- package/ts5.5/index.d.ts +265 -82
- package/ts5.6/index.d.ts +265 -82
- package/ts5.9/index.d.ts +265 -82
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.340 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.340.
|
package/index.d.ts
CHANGED
|
@@ -354,7 +354,7 @@ interface CSSNumericType {
|
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
interface CSSStyleSheetInit {
|
|
357
|
-
baseURL?: string;
|
|
357
|
+
baseURL?: string | null;
|
|
358
358
|
disabled?: boolean;
|
|
359
359
|
media?: MediaList | string;
|
|
360
360
|
}
|
|
@@ -411,6 +411,10 @@ interface CloseEventInit extends EventInit {
|
|
|
411
411
|
wasClean?: boolean;
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
+
interface CloseWatcherOptions {
|
|
415
|
+
signal?: AbortSignal;
|
|
416
|
+
}
|
|
417
|
+
|
|
414
418
|
interface CommandEventInit extends EventInit {
|
|
415
419
|
command?: string;
|
|
416
420
|
source?: Element | null;
|
|
@@ -3121,6 +3125,23 @@ interface WebTransportCloseInfo {
|
|
|
3121
3125
|
reason?: string;
|
|
3122
3126
|
}
|
|
3123
3127
|
|
|
3128
|
+
interface WebTransportConnectionStats {
|
|
3129
|
+
bytesReceived?: number;
|
|
3130
|
+
datagrams: WebTransportDatagramStats;
|
|
3131
|
+
minRtt?: DOMHighResTimeStamp;
|
|
3132
|
+
packetsLost?: number;
|
|
3133
|
+
packetsReceived?: number;
|
|
3134
|
+
packetsSent?: number;
|
|
3135
|
+
rttVariation?: DOMHighResTimeStamp;
|
|
3136
|
+
smoothedRtt?: DOMHighResTimeStamp;
|
|
3137
|
+
}
|
|
3138
|
+
|
|
3139
|
+
interface WebTransportDatagramStats {
|
|
3140
|
+
droppedIncoming?: number;
|
|
3141
|
+
expiredOutgoing?: number;
|
|
3142
|
+
lostOutgoing?: number;
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3124
3145
|
interface WebTransportErrorOptions {
|
|
3125
3146
|
source?: WebTransportErrorSource;
|
|
3126
3147
|
streamErrorCode?: number | null;
|
|
@@ -3139,6 +3160,11 @@ interface WebTransportOptions {
|
|
|
3139
3160
|
serverCertificateHashes?: WebTransportHash[];
|
|
3140
3161
|
}
|
|
3141
3162
|
|
|
3163
|
+
interface WebTransportReceiveStreamStats {
|
|
3164
|
+
bytesRead?: number;
|
|
3165
|
+
bytesReceived?: number;
|
|
3166
|
+
}
|
|
3167
|
+
|
|
3142
3168
|
interface WebTransportSendOptions {
|
|
3143
3169
|
sendOrder?: number;
|
|
3144
3170
|
}
|
|
@@ -3146,6 +3172,12 @@ interface WebTransportSendOptions {
|
|
|
3146
3172
|
interface WebTransportSendStreamOptions extends WebTransportSendOptions {
|
|
3147
3173
|
}
|
|
3148
3174
|
|
|
3175
|
+
interface WebTransportSendStreamStats {
|
|
3176
|
+
bytesAcknowledged?: number;
|
|
3177
|
+
bytesSent?: number;
|
|
3178
|
+
bytesWritten?: number;
|
|
3179
|
+
}
|
|
3180
|
+
|
|
3149
3181
|
interface WheelEventInit extends MouseEventInit {
|
|
3150
3182
|
deltaMode?: number;
|
|
3151
3183
|
deltaX?: number;
|
|
@@ -6818,7 +6850,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6818
6850
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
|
|
6819
6851
|
*/
|
|
6820
6852
|
backgroundSize: string;
|
|
6821
|
-
/**
|
|
6853
|
+
/**
|
|
6854
|
+
* The baseline-shift CSS property repositions the dominant-baseline of a text element relative to the dominant-baseline of its parent text content element. The shifted element might be a sub- or superscript. If the property is present, the value overrides the element's baseline-shift attribute.
|
|
6855
|
+
*
|
|
6856
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/baseline-shift)
|
|
6857
|
+
*/
|
|
6822
6858
|
baselineShift: string;
|
|
6823
6859
|
/**
|
|
6824
6860
|
* The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
|
|
@@ -10796,6 +10832,50 @@ declare var CloseEvent: {
|
|
|
10796
10832
|
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
|
|
10797
10833
|
};
|
|
10798
10834
|
|
|
10835
|
+
interface CloseWatcherEventMap {
|
|
10836
|
+
"cancel": Event;
|
|
10837
|
+
"close": Event;
|
|
10838
|
+
}
|
|
10839
|
+
|
|
10840
|
+
/**
|
|
10841
|
+
* The **`CloseWatcher`** interface allows a custom UI component with open and close semantics to respond to device-specific close actions in the same way as a built-in component.
|
|
10842
|
+
*
|
|
10843
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher)
|
|
10844
|
+
*/
|
|
10845
|
+
interface CloseWatcher extends EventTarget {
|
|
10846
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/cancel_event) */
|
|
10847
|
+
oncancel: ((this: CloseWatcher, ev: Event) => any) | null;
|
|
10848
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/close_event) */
|
|
10849
|
+
onclose: ((this: CloseWatcher, ev: Event) => any) | null;
|
|
10850
|
+
/**
|
|
10851
|
+
* The **`close()`** method of the CloseWatcher interface lets you skip any logic in the cancel event handler and immediately fire the close event. It then deactivates the close watcher as if destroy() was called.
|
|
10852
|
+
*
|
|
10853
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/close)
|
|
10854
|
+
*/
|
|
10855
|
+
close(): void;
|
|
10856
|
+
/**
|
|
10857
|
+
* The **`destroy()`** method of the CloseWatcher interface deactivates the close watcher. This is intended to be called if the relevant UI element is torn down in some other way than being closed.
|
|
10858
|
+
*
|
|
10859
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/destroy)
|
|
10860
|
+
*/
|
|
10861
|
+
destroy(): void;
|
|
10862
|
+
/**
|
|
10863
|
+
* The **`requestClose()`** method of the CloseWatcher interface fires a cancel event and if that event is not canceled with Event.preventDefault(), proceeds to fire a close event, and then finally deactivates the close watcher as if destroy() was called.
|
|
10864
|
+
*
|
|
10865
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/requestClose)
|
|
10866
|
+
*/
|
|
10867
|
+
requestClose(): void;
|
|
10868
|
+
addEventListener<K extends keyof CloseWatcherEventMap>(type: K, listener: (this: CloseWatcher, ev: CloseWatcherEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
10869
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
10870
|
+
removeEventListener<K extends keyof CloseWatcherEventMap>(type: K, listener: (this: CloseWatcher, ev: CloseWatcherEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
10871
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
10872
|
+
}
|
|
10873
|
+
|
|
10874
|
+
declare var CloseWatcher: {
|
|
10875
|
+
prototype: CloseWatcher;
|
|
10876
|
+
new(options?: CloseWatcherOptions): CloseWatcher;
|
|
10877
|
+
};
|
|
10878
|
+
|
|
10799
10879
|
/**
|
|
10800
10880
|
* The **`CommandEvent`** interface represents an event notifying the user when a button element with valid commandForElement and command attributes is about to invoke an interactive element.
|
|
10801
10881
|
*
|
|
@@ -11234,6 +11314,7 @@ interface CustomElementRegistry {
|
|
|
11234
11314
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
|
|
11235
11315
|
*/
|
|
11236
11316
|
getName(constructor: CustomElementConstructor): string | null;
|
|
11317
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize) */
|
|
11237
11318
|
initialize(root: Node): void;
|
|
11238
11319
|
/**
|
|
11239
11320
|
* The **`upgrade()`** method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
|
|
@@ -13232,6 +13313,7 @@ interface DocumentOrShadowRoot {
|
|
|
13232
13313
|
readonly activeElement: Element | null;
|
|
13233
13314
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets) */
|
|
13234
13315
|
adoptedStyleSheets: CSSStyleSheet[];
|
|
13316
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/customElementRegistry) */
|
|
13235
13317
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13236
13318
|
/**
|
|
13237
13319
|
* Returns document's fullscreen element.
|
|
@@ -13542,6 +13624,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13542
13624
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)
|
|
13543
13625
|
*/
|
|
13544
13626
|
readonly currentCSSZoom: number;
|
|
13627
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry) */
|
|
13545
13628
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13546
13629
|
/**
|
|
13547
13630
|
* The **`id`** property of the Element interface represents the element's identifier, reflecting the id global attribute.
|
|
@@ -17016,7 +17099,7 @@ declare var HTMLAllCollection: {
|
|
|
17016
17099
|
*
|
|
17017
17100
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
|
|
17018
17101
|
*/
|
|
17019
|
-
interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
17102
|
+
interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
|
|
17020
17103
|
/** @deprecated */
|
|
17021
17104
|
charset: string;
|
|
17022
17105
|
/** @deprecated */
|
|
@@ -17098,7 +17181,7 @@ declare var HTMLAnchorElement: {
|
|
|
17098
17181
|
*
|
|
17099
17182
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
|
|
17100
17183
|
*/
|
|
17101
|
-
interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
17184
|
+
interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
|
|
17102
17185
|
/**
|
|
17103
17186
|
* 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.
|
|
17104
17187
|
*
|
|
@@ -18350,30 +18433,6 @@ declare var HTMLHtmlElement: {
|
|
|
18350
18433
|
};
|
|
18351
18434
|
|
|
18352
18435
|
interface HTMLHyperlinkElementUtils {
|
|
18353
|
-
/**
|
|
18354
|
-
* Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
|
|
18355
|
-
*
|
|
18356
|
-
* Can be set, to change the URL's fragment (ignores leading "#").
|
|
18357
|
-
*
|
|
18358
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
|
|
18359
|
-
*/
|
|
18360
|
-
hash: string;
|
|
18361
|
-
/**
|
|
18362
|
-
* Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
|
|
18363
|
-
*
|
|
18364
|
-
* Can be set, to change the URL's host and port.
|
|
18365
|
-
*
|
|
18366
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
|
|
18367
|
-
*/
|
|
18368
|
-
host: string;
|
|
18369
|
-
/**
|
|
18370
|
-
* Returns the hyperlink's URL's host.
|
|
18371
|
-
*
|
|
18372
|
-
* Can be set, to change the URL's host.
|
|
18373
|
-
*
|
|
18374
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
|
|
18375
|
-
*/
|
|
18376
|
-
hostname: string;
|
|
18377
18436
|
/**
|
|
18378
18437
|
* Returns the hyperlink's URL.
|
|
18379
18438
|
*
|
|
@@ -18383,60 +18442,6 @@ interface HTMLHyperlinkElementUtils {
|
|
|
18383
18442
|
*/
|
|
18384
18443
|
href: string;
|
|
18385
18444
|
toString(): string;
|
|
18386
|
-
/**
|
|
18387
|
-
* Returns the hyperlink's URL's origin.
|
|
18388
|
-
*
|
|
18389
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
|
|
18390
|
-
*/
|
|
18391
|
-
readonly origin: string;
|
|
18392
|
-
/**
|
|
18393
|
-
* Returns the hyperlink's URL's password.
|
|
18394
|
-
*
|
|
18395
|
-
* Can be set, to change the URL's password.
|
|
18396
|
-
*
|
|
18397
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
|
|
18398
|
-
*/
|
|
18399
|
-
password: string;
|
|
18400
|
-
/**
|
|
18401
|
-
* Returns the hyperlink's URL's path.
|
|
18402
|
-
*
|
|
18403
|
-
* Can be set, to change the URL's path.
|
|
18404
|
-
*
|
|
18405
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
|
|
18406
|
-
*/
|
|
18407
|
-
pathname: string;
|
|
18408
|
-
/**
|
|
18409
|
-
* Returns the hyperlink's URL's port.
|
|
18410
|
-
*
|
|
18411
|
-
* Can be set, to change the URL's port.
|
|
18412
|
-
*
|
|
18413
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
|
|
18414
|
-
*/
|
|
18415
|
-
port: string;
|
|
18416
|
-
/**
|
|
18417
|
-
* Returns the hyperlink's URL's scheme.
|
|
18418
|
-
*
|
|
18419
|
-
* Can be set, to change the URL's scheme.
|
|
18420
|
-
*
|
|
18421
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
|
|
18422
|
-
*/
|
|
18423
|
-
protocol: string;
|
|
18424
|
-
/**
|
|
18425
|
-
* Returns the hyperlink's URL's query (includes leading "?" if non-empty).
|
|
18426
|
-
*
|
|
18427
|
-
* Can be set, to change the URL's query (ignores leading "?").
|
|
18428
|
-
*
|
|
18429
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
|
|
18430
|
-
*/
|
|
18431
|
-
search: string;
|
|
18432
|
-
/**
|
|
18433
|
-
* Returns the hyperlink's URL's username.
|
|
18434
|
-
*
|
|
18435
|
-
* Can be set, to change the URL's username.
|
|
18436
|
-
*
|
|
18437
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
|
|
18438
|
-
*/
|
|
18439
|
-
username: string;
|
|
18440
18445
|
}
|
|
18441
18446
|
|
|
18442
18447
|
/**
|
|
@@ -18766,6 +18771,12 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
18766
18771
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checked)
|
|
18767
18772
|
*/
|
|
18768
18773
|
checked: boolean;
|
|
18774
|
+
/**
|
|
18775
|
+
* The **`colorSpace`** property of the HTMLInputElement interface reflects the <input> element's colorspace attribute, which indicates whether the color space of the serialized CSS color is sRGB (the default) or display-p3. It is only relevant to color controls.
|
|
18776
|
+
*
|
|
18777
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/colorSpace)
|
|
18778
|
+
*/
|
|
18779
|
+
colorSpace: string;
|
|
18769
18780
|
/**
|
|
18770
18781
|
* The **`defaultChecked`** property of the HTMLInputElement interface specifies the default checkedness state of the element. This property reflects the <input> element's checked attribute.
|
|
18771
18782
|
*
|
|
@@ -19570,6 +19581,12 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
19570
19581
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canPlayType)
|
|
19571
19582
|
*/
|
|
19572
19583
|
canPlayType(type: string): CanPlayTypeResult;
|
|
19584
|
+
/**
|
|
19585
|
+
* The **`captureStream()`** method of the HTMLMediaElement interface returns a MediaStream object which is streaming a real-time capture of the content being rendered in the media element.
|
|
19586
|
+
*
|
|
19587
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
|
|
19588
|
+
*/
|
|
19589
|
+
captureStream(): MediaStream;
|
|
19573
19590
|
/**
|
|
19574
19591
|
* The **`HTMLMediaElement.fastSeek()`** method quickly seeks the media to the new time with precision tradeoff.
|
|
19575
19592
|
*
|
|
@@ -21307,6 +21324,7 @@ interface HTMLTemplateElement extends HTMLElement {
|
|
|
21307
21324
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
|
|
21308
21325
|
*/
|
|
21309
21326
|
shadowRootClonable: boolean;
|
|
21327
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry) */
|
|
21310
21328
|
shadowRootCustomElementRegistry: string;
|
|
21311
21329
|
/**
|
|
21312
21330
|
* The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
|
|
@@ -21954,6 +21972,87 @@ declare var History: {
|
|
|
21954
21972
|
new(): History;
|
|
21955
21973
|
};
|
|
21956
21974
|
|
|
21975
|
+
interface HyperlinkElementUtils {
|
|
21976
|
+
/**
|
|
21977
|
+
* Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
|
|
21978
|
+
*
|
|
21979
|
+
* Can be set, to change the URL's fragment (ignores leading "#").
|
|
21980
|
+
*
|
|
21981
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
|
|
21982
|
+
*/
|
|
21983
|
+
hash: string;
|
|
21984
|
+
/**
|
|
21985
|
+
* Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
|
|
21986
|
+
*
|
|
21987
|
+
* Can be set, to change the URL's host and port.
|
|
21988
|
+
*
|
|
21989
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
|
|
21990
|
+
*/
|
|
21991
|
+
host: string;
|
|
21992
|
+
/**
|
|
21993
|
+
* Returns the hyperlink's URL's host.
|
|
21994
|
+
*
|
|
21995
|
+
* Can be set, to change the URL's host.
|
|
21996
|
+
*
|
|
21997
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
|
|
21998
|
+
*/
|
|
21999
|
+
hostname: string;
|
|
22000
|
+
/**
|
|
22001
|
+
* Returns the hyperlink's URL's origin.
|
|
22002
|
+
*
|
|
22003
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
|
|
22004
|
+
*/
|
|
22005
|
+
readonly origin: string;
|
|
22006
|
+
/**
|
|
22007
|
+
* Returns the hyperlink's URL's password.
|
|
22008
|
+
*
|
|
22009
|
+
* Can be set, to change the URL's password.
|
|
22010
|
+
*
|
|
22011
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
|
|
22012
|
+
*/
|
|
22013
|
+
password: string;
|
|
22014
|
+
/**
|
|
22015
|
+
* Returns the hyperlink's URL's path.
|
|
22016
|
+
*
|
|
22017
|
+
* Can be set, to change the URL's path.
|
|
22018
|
+
*
|
|
22019
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
|
|
22020
|
+
*/
|
|
22021
|
+
pathname: string;
|
|
22022
|
+
/**
|
|
22023
|
+
* Returns the hyperlink's URL's port.
|
|
22024
|
+
*
|
|
22025
|
+
* Can be set, to change the URL's port.
|
|
22026
|
+
*
|
|
22027
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
|
|
22028
|
+
*/
|
|
22029
|
+
port: string;
|
|
22030
|
+
/**
|
|
22031
|
+
* Returns the hyperlink's URL's scheme.
|
|
22032
|
+
*
|
|
22033
|
+
* Can be set, to change the URL's scheme.
|
|
22034
|
+
*
|
|
22035
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
|
|
22036
|
+
*/
|
|
22037
|
+
protocol: string;
|
|
22038
|
+
/**
|
|
22039
|
+
* Returns the hyperlink's URL's query (includes leading "?" if non-empty).
|
|
22040
|
+
*
|
|
22041
|
+
* Can be set, to change the URL's query (ignores leading "?").
|
|
22042
|
+
*
|
|
22043
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
|
|
22044
|
+
*/
|
|
22045
|
+
search: string;
|
|
22046
|
+
/**
|
|
22047
|
+
* Returns the hyperlink's URL's username.
|
|
22048
|
+
*
|
|
22049
|
+
* Can be set, to change the URL's username.
|
|
22050
|
+
*
|
|
22051
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
|
|
22052
|
+
*/
|
|
22053
|
+
username: string;
|
|
22054
|
+
}
|
|
22055
|
+
|
|
21957
22056
|
/**
|
|
21958
22057
|
* The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
|
|
21959
22058
|
*
|
|
@@ -27899,6 +27998,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
27899
27998
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/decodedBodySize)
|
|
27900
27999
|
*/
|
|
27901
28000
|
readonly decodedBodySize: number;
|
|
28001
|
+
/**
|
|
28002
|
+
* The **`deliveryType`** read-only property is a string indicating how the resource was delivered — for example from the cache or from a navigational prefetch.
|
|
28003
|
+
*
|
|
28004
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/deliveryType)
|
|
28005
|
+
*/
|
|
28006
|
+
readonly deliveryType: string;
|
|
27902
28007
|
/**
|
|
27903
28008
|
* The **`domainLookupEnd`** read-only property returns the timestamp immediately after the browser finishes the domain-name lookup for the resource.
|
|
27904
28009
|
*
|
|
@@ -27923,6 +28028,18 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
27923
28028
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/fetchStart)
|
|
27924
28029
|
*/
|
|
27925
28030
|
readonly fetchStart: DOMHighResTimeStamp;
|
|
28031
|
+
/**
|
|
28032
|
+
* The **`finalResponseHeadersStart`** read-only property returns a timestamp immediately after the browser receives the first byte of the final document response (for example, 200 OK) from the server.
|
|
28033
|
+
*
|
|
28034
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/finalResponseHeadersStart)
|
|
28035
|
+
*/
|
|
28036
|
+
readonly finalResponseHeadersStart: DOMHighResTimeStamp;
|
|
28037
|
+
/**
|
|
28038
|
+
* The **`firstInterimResponseStart`** read-only property returns a timestamp immediately after the browser receives the first byte of the interim 1xx response (for example, 100 Continue or 103 Early Hints) from the server.
|
|
28039
|
+
*
|
|
28040
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/firstInterimResponseStart)
|
|
28041
|
+
*/
|
|
28042
|
+
readonly firstInterimResponseStart: DOMHighResTimeStamp;
|
|
27926
28043
|
/**
|
|
27927
28044
|
* The **`initiatorType`** read-only property is a string representing web platform feature that initiated the resource load.
|
|
27928
28045
|
*
|
|
@@ -40941,6 +41058,12 @@ interface WebTransport {
|
|
|
40941
41058
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/closed)
|
|
40942
41059
|
*/
|
|
40943
41060
|
readonly closed: Promise<WebTransportCloseInfo>;
|
|
41061
|
+
/**
|
|
41062
|
+
* The **`congestionControl`** read-only property of the WebTransport interface indicates the application's preference for either high throughput or low-latency when sending data.
|
|
41063
|
+
*
|
|
41064
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/congestionControl)
|
|
41065
|
+
*/
|
|
41066
|
+
readonly congestionControl: WebTransportCongestionControl;
|
|
40944
41067
|
/**
|
|
40945
41068
|
* The **`datagrams`** read-only property of the WebTransport interface returns a WebTransportDatagramDuplexStream instance that can be used to send and receive datagrams — unreliable data transmission.
|
|
40946
41069
|
*
|
|
@@ -40959,12 +41082,19 @@ interface WebTransport {
|
|
|
40959
41082
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingUnidirectionalStreams)
|
|
40960
41083
|
*/
|
|
40961
41084
|
readonly incomingUnidirectionalStreams: ReadableStream;
|
|
41085
|
+
readonly protocol: string;
|
|
40962
41086
|
/**
|
|
40963
41087
|
* The **`ready`** read-only property of the WebTransport interface returns a promise that resolves when the transport is ready to use.
|
|
40964
41088
|
*
|
|
40965
41089
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/ready)
|
|
40966
41090
|
*/
|
|
40967
41091
|
readonly ready: Promise<void>;
|
|
41092
|
+
/**
|
|
41093
|
+
* The **`reliability`** read-only property of the WebTransport interface indicates whether the connection supports reliable transports only, or whether it also supports unreliable transports (such as UDP).
|
|
41094
|
+
*
|
|
41095
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability)
|
|
41096
|
+
*/
|
|
41097
|
+
readonly reliability: WebTransportReliabilityMode;
|
|
40968
41098
|
/**
|
|
40969
41099
|
* The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session.
|
|
40970
41100
|
*
|
|
@@ -40983,6 +41113,12 @@ interface WebTransport {
|
|
|
40983
41113
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createUnidirectionalStream)
|
|
40984
41114
|
*/
|
|
40985
41115
|
createUnidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WritableStream>;
|
|
41116
|
+
/**
|
|
41117
|
+
* The **`getStats()`** method of the WebTransport interface asynchronously returns an object containing HTTP/3 connection statistics.
|
|
41118
|
+
*
|
|
41119
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/getStats)
|
|
41120
|
+
*/
|
|
41121
|
+
getStats(): Promise<WebTransportConnectionStats>;
|
|
40986
41122
|
}
|
|
40987
41123
|
|
|
40988
41124
|
declare var WebTransport: {
|
|
@@ -41098,6 +41234,52 @@ declare var WebTransportError: {
|
|
|
41098
41234
|
new(message?: string, options?: WebTransportErrorOptions): WebTransportError;
|
|
41099
41235
|
};
|
|
41100
41236
|
|
|
41237
|
+
/**
|
|
41238
|
+
* The **`WebTransportReceiveStream`** interface of the WebTransport API is a ReadableStream that can be used to read from an incoming unidirectional or bidirectional WebTransport stream.
|
|
41239
|
+
* Available only in secure contexts.
|
|
41240
|
+
*
|
|
41241
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportReceiveStream)
|
|
41242
|
+
*/
|
|
41243
|
+
interface WebTransportReceiveStream extends ReadableStream {
|
|
41244
|
+
/**
|
|
41245
|
+
* The **`getStats()`** method of the WebTransportReceiveStream interface asynchronously returns an object containing statistics for the current stream.
|
|
41246
|
+
*
|
|
41247
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportReceiveStream/getStats)
|
|
41248
|
+
*/
|
|
41249
|
+
getStats(): Promise<WebTransportReceiveStreamStats>;
|
|
41250
|
+
}
|
|
41251
|
+
|
|
41252
|
+
declare var WebTransportReceiveStream: {
|
|
41253
|
+
prototype: WebTransportReceiveStream;
|
|
41254
|
+
new(): WebTransportReceiveStream;
|
|
41255
|
+
};
|
|
41256
|
+
|
|
41257
|
+
/**
|
|
41258
|
+
* The **`WebTransportSendStream`** interface of the WebTransport API is a specialized WritableStream that is used to send outbound data in both unidirectional or bidirectional WebTransport streams.
|
|
41259
|
+
* Available only in secure contexts.
|
|
41260
|
+
*
|
|
41261
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
|
|
41262
|
+
*/
|
|
41263
|
+
interface WebTransportSendStream extends WritableStream {
|
|
41264
|
+
/**
|
|
41265
|
+
* The **`sendOrder`** property of the WebTransportSendStream interface indicates the send priority of this stream relative to other streams for which the value has been set.
|
|
41266
|
+
*
|
|
41267
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream/sendOrder)
|
|
41268
|
+
*/
|
|
41269
|
+
sendOrder: number;
|
|
41270
|
+
/**
|
|
41271
|
+
* The **`getStats()`** method of the WebTransportSendStream interface asynchronously returns an object containing statistics for the current stream.
|
|
41272
|
+
*
|
|
41273
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream/getStats)
|
|
41274
|
+
*/
|
|
41275
|
+
getStats(): Promise<WebTransportSendStreamStats>;
|
|
41276
|
+
}
|
|
41277
|
+
|
|
41278
|
+
declare var WebTransportSendStream: {
|
|
41279
|
+
prototype: WebTransportSendStream;
|
|
41280
|
+
new(): WebTransportSendStream;
|
|
41281
|
+
};
|
|
41282
|
+
|
|
41101
41283
|
/**
|
|
41102
41284
|
* The **`WheelEvent`** interface represents events that occur due to the user moving a mouse wheel or similar input device.
|
|
41103
41285
|
*
|
|
@@ -44458,6 +44640,7 @@ type WakeLockType = "screen";
|
|
|
44458
44640
|
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
|
|
44459
44641
|
type WebTransportCongestionControl = "default" | "low-latency" | "throughput";
|
|
44460
44642
|
type WebTransportErrorSource = "session" | "stream";
|
|
44643
|
+
type WebTransportReliabilityMode = "pending" | "reliable-only" | "supports-unreliable";
|
|
44461
44644
|
type WorkerType = "classic" | "module";
|
|
44462
44645
|
type WriteCommandType = "seek" | "truncate" | "write";
|
|
44463
44646
|
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|