@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/ts5.5/index.d.ts
CHANGED
|
@@ -351,7 +351,7 @@ interface CSSNumericType {
|
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
interface CSSStyleSheetInit {
|
|
354
|
-
baseURL?: string;
|
|
354
|
+
baseURL?: string | null;
|
|
355
355
|
disabled?: boolean;
|
|
356
356
|
media?: MediaList | string;
|
|
357
357
|
}
|
|
@@ -408,6 +408,10 @@ interface CloseEventInit extends EventInit {
|
|
|
408
408
|
wasClean?: boolean;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
|
+
interface CloseWatcherOptions {
|
|
412
|
+
signal?: AbortSignal;
|
|
413
|
+
}
|
|
414
|
+
|
|
411
415
|
interface CommandEventInit extends EventInit {
|
|
412
416
|
command?: string;
|
|
413
417
|
source?: Element | null;
|
|
@@ -3118,6 +3122,23 @@ interface WebTransportCloseInfo {
|
|
|
3118
3122
|
reason?: string;
|
|
3119
3123
|
}
|
|
3120
3124
|
|
|
3125
|
+
interface WebTransportConnectionStats {
|
|
3126
|
+
bytesReceived?: number;
|
|
3127
|
+
datagrams: WebTransportDatagramStats;
|
|
3128
|
+
minRtt?: DOMHighResTimeStamp;
|
|
3129
|
+
packetsLost?: number;
|
|
3130
|
+
packetsReceived?: number;
|
|
3131
|
+
packetsSent?: number;
|
|
3132
|
+
rttVariation?: DOMHighResTimeStamp;
|
|
3133
|
+
smoothedRtt?: DOMHighResTimeStamp;
|
|
3134
|
+
}
|
|
3135
|
+
|
|
3136
|
+
interface WebTransportDatagramStats {
|
|
3137
|
+
droppedIncoming?: number;
|
|
3138
|
+
expiredOutgoing?: number;
|
|
3139
|
+
lostOutgoing?: number;
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3121
3142
|
interface WebTransportErrorOptions {
|
|
3122
3143
|
source?: WebTransportErrorSource;
|
|
3123
3144
|
streamErrorCode?: number | null;
|
|
@@ -3136,6 +3157,11 @@ interface WebTransportOptions {
|
|
|
3136
3157
|
serverCertificateHashes?: WebTransportHash[];
|
|
3137
3158
|
}
|
|
3138
3159
|
|
|
3160
|
+
interface WebTransportReceiveStreamStats {
|
|
3161
|
+
bytesRead?: number;
|
|
3162
|
+
bytesReceived?: number;
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3139
3165
|
interface WebTransportSendOptions {
|
|
3140
3166
|
sendOrder?: number;
|
|
3141
3167
|
}
|
|
@@ -3143,6 +3169,12 @@ interface WebTransportSendOptions {
|
|
|
3143
3169
|
interface WebTransportSendStreamOptions extends WebTransportSendOptions {
|
|
3144
3170
|
}
|
|
3145
3171
|
|
|
3172
|
+
interface WebTransportSendStreamStats {
|
|
3173
|
+
bytesAcknowledged?: number;
|
|
3174
|
+
bytesSent?: number;
|
|
3175
|
+
bytesWritten?: number;
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3146
3178
|
interface WheelEventInit extends MouseEventInit {
|
|
3147
3179
|
deltaMode?: number;
|
|
3148
3180
|
deltaX?: number;
|
|
@@ -6808,7 +6840,11 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
6808
6840
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
|
|
6809
6841
|
*/
|
|
6810
6842
|
backgroundSize: string;
|
|
6811
|
-
/**
|
|
6843
|
+
/**
|
|
6844
|
+
* 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.
|
|
6845
|
+
*
|
|
6846
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/baseline-shift)
|
|
6847
|
+
*/
|
|
6812
6848
|
baselineShift: string;
|
|
6813
6849
|
/**
|
|
6814
6850
|
* 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.
|
|
@@ -10785,6 +10821,50 @@ declare var CloseEvent: {
|
|
|
10785
10821
|
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
|
|
10786
10822
|
};
|
|
10787
10823
|
|
|
10824
|
+
interface CloseWatcherEventMap {
|
|
10825
|
+
"cancel": Event;
|
|
10826
|
+
"close": Event;
|
|
10827
|
+
}
|
|
10828
|
+
|
|
10829
|
+
/**
|
|
10830
|
+
* 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.
|
|
10831
|
+
*
|
|
10832
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher)
|
|
10833
|
+
*/
|
|
10834
|
+
interface CloseWatcher extends EventTarget {
|
|
10835
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/cancel_event) */
|
|
10836
|
+
oncancel: ((this: CloseWatcher, ev: Event) => any) | null;
|
|
10837
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/close_event) */
|
|
10838
|
+
onclose: ((this: CloseWatcher, ev: Event) => any) | null;
|
|
10839
|
+
/**
|
|
10840
|
+
* 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.
|
|
10841
|
+
*
|
|
10842
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/close)
|
|
10843
|
+
*/
|
|
10844
|
+
close(): void;
|
|
10845
|
+
/**
|
|
10846
|
+
* 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.
|
|
10847
|
+
*
|
|
10848
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/destroy)
|
|
10849
|
+
*/
|
|
10850
|
+
destroy(): void;
|
|
10851
|
+
/**
|
|
10852
|
+
* 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.
|
|
10853
|
+
*
|
|
10854
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseWatcher/requestClose)
|
|
10855
|
+
*/
|
|
10856
|
+
requestClose(): void;
|
|
10857
|
+
addEventListener<K extends keyof CloseWatcherEventMap>(type: K, listener: (this: CloseWatcher, ev: CloseWatcherEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
10858
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
10859
|
+
removeEventListener<K extends keyof CloseWatcherEventMap>(type: K, listener: (this: CloseWatcher, ev: CloseWatcherEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
10860
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
10861
|
+
}
|
|
10862
|
+
|
|
10863
|
+
declare var CloseWatcher: {
|
|
10864
|
+
prototype: CloseWatcher;
|
|
10865
|
+
new(options?: CloseWatcherOptions): CloseWatcher;
|
|
10866
|
+
};
|
|
10867
|
+
|
|
10788
10868
|
/**
|
|
10789
10869
|
* 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.
|
|
10790
10870
|
*
|
|
@@ -11223,6 +11303,7 @@ interface CustomElementRegistry {
|
|
|
11223
11303
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
|
|
11224
11304
|
*/
|
|
11225
11305
|
getName(constructor: CustomElementConstructor): string | null;
|
|
11306
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/initialize) */
|
|
11226
11307
|
initialize(root: Node): void;
|
|
11227
11308
|
/**
|
|
11228
11309
|
* 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.
|
|
@@ -13221,6 +13302,7 @@ interface DocumentOrShadowRoot {
|
|
|
13221
13302
|
readonly activeElement: Element | null;
|
|
13222
13303
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets) */
|
|
13223
13304
|
adoptedStyleSheets: CSSStyleSheet[];
|
|
13305
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/customElementRegistry) */
|
|
13224
13306
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13225
13307
|
/**
|
|
13226
13308
|
* Returns document's fullscreen element.
|
|
@@ -13530,6 +13612,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
13530
13612
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)
|
|
13531
13613
|
*/
|
|
13532
13614
|
readonly currentCSSZoom: number;
|
|
13615
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/customElementRegistry) */
|
|
13533
13616
|
readonly customElementRegistry: CustomElementRegistry | null;
|
|
13534
13617
|
/**
|
|
13535
13618
|
* The **`id`** property of the Element interface represents the element's identifier, reflecting the id global attribute.
|
|
@@ -17002,7 +17085,7 @@ declare var HTMLAllCollection: {
|
|
|
17002
17085
|
*
|
|
17003
17086
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)
|
|
17004
17087
|
*/
|
|
17005
|
-
interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
17088
|
+
interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
|
|
17006
17089
|
/** @deprecated */
|
|
17007
17090
|
charset: string;
|
|
17008
17091
|
/** @deprecated */
|
|
@@ -17083,7 +17166,7 @@ declare var HTMLAnchorElement: {
|
|
|
17083
17166
|
*
|
|
17084
17167
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
|
|
17085
17168
|
*/
|
|
17086
|
-
interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
17169
|
+
interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils, HyperlinkElementUtils {
|
|
17087
17170
|
/**
|
|
17088
17171
|
* 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.
|
|
17089
17172
|
*
|
|
@@ -18333,30 +18416,6 @@ declare var HTMLHtmlElement: {
|
|
|
18333
18416
|
};
|
|
18334
18417
|
|
|
18335
18418
|
interface HTMLHyperlinkElementUtils {
|
|
18336
|
-
/**
|
|
18337
|
-
* Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
|
|
18338
|
-
*
|
|
18339
|
-
* Can be set, to change the URL's fragment (ignores leading "#").
|
|
18340
|
-
*
|
|
18341
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
|
|
18342
|
-
*/
|
|
18343
|
-
hash: string;
|
|
18344
|
-
/**
|
|
18345
|
-
* Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
|
|
18346
|
-
*
|
|
18347
|
-
* Can be set, to change the URL's host and port.
|
|
18348
|
-
*
|
|
18349
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
|
|
18350
|
-
*/
|
|
18351
|
-
host: string;
|
|
18352
|
-
/**
|
|
18353
|
-
* Returns the hyperlink's URL's host.
|
|
18354
|
-
*
|
|
18355
|
-
* Can be set, to change the URL's host.
|
|
18356
|
-
*
|
|
18357
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
|
|
18358
|
-
*/
|
|
18359
|
-
hostname: string;
|
|
18360
18419
|
/**
|
|
18361
18420
|
* Returns the hyperlink's URL.
|
|
18362
18421
|
*
|
|
@@ -18366,60 +18425,6 @@ interface HTMLHyperlinkElementUtils {
|
|
|
18366
18425
|
*/
|
|
18367
18426
|
href: string;
|
|
18368
18427
|
toString(): string;
|
|
18369
|
-
/**
|
|
18370
|
-
* Returns the hyperlink's URL's origin.
|
|
18371
|
-
*
|
|
18372
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
|
|
18373
|
-
*/
|
|
18374
|
-
readonly origin: string;
|
|
18375
|
-
/**
|
|
18376
|
-
* Returns the hyperlink's URL's password.
|
|
18377
|
-
*
|
|
18378
|
-
* Can be set, to change the URL's password.
|
|
18379
|
-
*
|
|
18380
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
|
|
18381
|
-
*/
|
|
18382
|
-
password: string;
|
|
18383
|
-
/**
|
|
18384
|
-
* Returns the hyperlink's URL's path.
|
|
18385
|
-
*
|
|
18386
|
-
* Can be set, to change the URL's path.
|
|
18387
|
-
*
|
|
18388
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
|
|
18389
|
-
*/
|
|
18390
|
-
pathname: string;
|
|
18391
|
-
/**
|
|
18392
|
-
* Returns the hyperlink's URL's port.
|
|
18393
|
-
*
|
|
18394
|
-
* Can be set, to change the URL's port.
|
|
18395
|
-
*
|
|
18396
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
|
|
18397
|
-
*/
|
|
18398
|
-
port: string;
|
|
18399
|
-
/**
|
|
18400
|
-
* Returns the hyperlink's URL's scheme.
|
|
18401
|
-
*
|
|
18402
|
-
* Can be set, to change the URL's scheme.
|
|
18403
|
-
*
|
|
18404
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
|
|
18405
|
-
*/
|
|
18406
|
-
protocol: string;
|
|
18407
|
-
/**
|
|
18408
|
-
* Returns the hyperlink's URL's query (includes leading "?" if non-empty).
|
|
18409
|
-
*
|
|
18410
|
-
* Can be set, to change the URL's query (ignores leading "?").
|
|
18411
|
-
*
|
|
18412
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
|
|
18413
|
-
*/
|
|
18414
|
-
search: string;
|
|
18415
|
-
/**
|
|
18416
|
-
* Returns the hyperlink's URL's username.
|
|
18417
|
-
*
|
|
18418
|
-
* Can be set, to change the URL's username.
|
|
18419
|
-
*
|
|
18420
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
|
|
18421
|
-
*/
|
|
18422
|
-
username: string;
|
|
18423
18428
|
}
|
|
18424
18429
|
|
|
18425
18430
|
/**
|
|
@@ -18748,6 +18753,12 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
18748
18753
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checked)
|
|
18749
18754
|
*/
|
|
18750
18755
|
checked: boolean;
|
|
18756
|
+
/**
|
|
18757
|
+
* 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.
|
|
18758
|
+
*
|
|
18759
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/colorSpace)
|
|
18760
|
+
*/
|
|
18761
|
+
colorSpace: string;
|
|
18751
18762
|
/**
|
|
18752
18763
|
* The **`defaultChecked`** property of the HTMLInputElement interface specifies the default checkedness state of the element. This property reflects the <input> element's checked attribute.
|
|
18753
18764
|
*
|
|
@@ -19549,6 +19560,12 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
19549
19560
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canPlayType)
|
|
19550
19561
|
*/
|
|
19551
19562
|
canPlayType(type: string): CanPlayTypeResult;
|
|
19563
|
+
/**
|
|
19564
|
+
* 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.
|
|
19565
|
+
*
|
|
19566
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/captureStream)
|
|
19567
|
+
*/
|
|
19568
|
+
captureStream(): MediaStream;
|
|
19552
19569
|
/**
|
|
19553
19570
|
* The **`HTMLMediaElement.fastSeek()`** method quickly seeks the media to the new time with precision tradeoff.
|
|
19554
19571
|
*
|
|
@@ -21283,6 +21300,7 @@ interface HTMLTemplateElement extends HTMLElement {
|
|
|
21283
21300
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
|
|
21284
21301
|
*/
|
|
21285
21302
|
shadowRootClonable: boolean;
|
|
21303
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootCustomElementRegistry) */
|
|
21286
21304
|
shadowRootCustomElementRegistry: string;
|
|
21287
21305
|
/**
|
|
21288
21306
|
* The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
|
|
@@ -21930,6 +21948,87 @@ declare var History: {
|
|
|
21930
21948
|
new(): History;
|
|
21931
21949
|
};
|
|
21932
21950
|
|
|
21951
|
+
interface HyperlinkElementUtils {
|
|
21952
|
+
/**
|
|
21953
|
+
* Returns the hyperlink's URL's fragment (includes leading "#" if non-empty).
|
|
21954
|
+
*
|
|
21955
|
+
* Can be set, to change the URL's fragment (ignores leading "#").
|
|
21956
|
+
*
|
|
21957
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)
|
|
21958
|
+
*/
|
|
21959
|
+
hash: string;
|
|
21960
|
+
/**
|
|
21961
|
+
* Returns the hyperlink's URL's host and port (if different from the default port for the scheme).
|
|
21962
|
+
*
|
|
21963
|
+
* Can be set, to change the URL's host and port.
|
|
21964
|
+
*
|
|
21965
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)
|
|
21966
|
+
*/
|
|
21967
|
+
host: string;
|
|
21968
|
+
/**
|
|
21969
|
+
* Returns the hyperlink's URL's host.
|
|
21970
|
+
*
|
|
21971
|
+
* Can be set, to change the URL's host.
|
|
21972
|
+
*
|
|
21973
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)
|
|
21974
|
+
*/
|
|
21975
|
+
hostname: string;
|
|
21976
|
+
/**
|
|
21977
|
+
* Returns the hyperlink's URL's origin.
|
|
21978
|
+
*
|
|
21979
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)
|
|
21980
|
+
*/
|
|
21981
|
+
readonly origin: string;
|
|
21982
|
+
/**
|
|
21983
|
+
* Returns the hyperlink's URL's password.
|
|
21984
|
+
*
|
|
21985
|
+
* Can be set, to change the URL's password.
|
|
21986
|
+
*
|
|
21987
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/password)
|
|
21988
|
+
*/
|
|
21989
|
+
password: string;
|
|
21990
|
+
/**
|
|
21991
|
+
* Returns the hyperlink's URL's path.
|
|
21992
|
+
*
|
|
21993
|
+
* Can be set, to change the URL's path.
|
|
21994
|
+
*
|
|
21995
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)
|
|
21996
|
+
*/
|
|
21997
|
+
pathname: string;
|
|
21998
|
+
/**
|
|
21999
|
+
* Returns the hyperlink's URL's port.
|
|
22000
|
+
*
|
|
22001
|
+
* Can be set, to change the URL's port.
|
|
22002
|
+
*
|
|
22003
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/port)
|
|
22004
|
+
*/
|
|
22005
|
+
port: string;
|
|
22006
|
+
/**
|
|
22007
|
+
* Returns the hyperlink's URL's scheme.
|
|
22008
|
+
*
|
|
22009
|
+
* Can be set, to change the URL's scheme.
|
|
22010
|
+
*
|
|
22011
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)
|
|
22012
|
+
*/
|
|
22013
|
+
protocol: string;
|
|
22014
|
+
/**
|
|
22015
|
+
* Returns the hyperlink's URL's query (includes leading "?" if non-empty).
|
|
22016
|
+
*
|
|
22017
|
+
* Can be set, to change the URL's query (ignores leading "?").
|
|
22018
|
+
*
|
|
22019
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)
|
|
22020
|
+
*/
|
|
22021
|
+
search: string;
|
|
22022
|
+
/**
|
|
22023
|
+
* Returns the hyperlink's URL's username.
|
|
22024
|
+
*
|
|
22025
|
+
* Can be set, to change the URL's username.
|
|
22026
|
+
*
|
|
22027
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)
|
|
22028
|
+
*/
|
|
22029
|
+
username: string;
|
|
22030
|
+
}
|
|
22031
|
+
|
|
21933
22032
|
/**
|
|
21934
22033
|
* The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
|
|
21935
22034
|
*
|
|
@@ -27875,6 +27974,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
27875
27974
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/decodedBodySize)
|
|
27876
27975
|
*/
|
|
27877
27976
|
readonly decodedBodySize: number;
|
|
27977
|
+
/**
|
|
27978
|
+
* The **`deliveryType`** read-only property is a string indicating how the resource was delivered — for example from the cache or from a navigational prefetch.
|
|
27979
|
+
*
|
|
27980
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/deliveryType)
|
|
27981
|
+
*/
|
|
27982
|
+
readonly deliveryType: string;
|
|
27878
27983
|
/**
|
|
27879
27984
|
* The **`domainLookupEnd`** read-only property returns the timestamp immediately after the browser finishes the domain-name lookup for the resource.
|
|
27880
27985
|
*
|
|
@@ -27899,6 +28004,18 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
27899
28004
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/fetchStart)
|
|
27900
28005
|
*/
|
|
27901
28006
|
readonly fetchStart: DOMHighResTimeStamp;
|
|
28007
|
+
/**
|
|
28008
|
+
* 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.
|
|
28009
|
+
*
|
|
28010
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/finalResponseHeadersStart)
|
|
28011
|
+
*/
|
|
28012
|
+
readonly finalResponseHeadersStart: DOMHighResTimeStamp;
|
|
28013
|
+
/**
|
|
28014
|
+
* 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.
|
|
28015
|
+
*
|
|
28016
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/firstInterimResponseStart)
|
|
28017
|
+
*/
|
|
28018
|
+
readonly firstInterimResponseStart: DOMHighResTimeStamp;
|
|
27902
28019
|
/**
|
|
27903
28020
|
* The **`initiatorType`** read-only property is a string representing web platform feature that initiated the resource load.
|
|
27904
28021
|
*
|
|
@@ -40915,6 +41032,12 @@ interface WebTransport {
|
|
|
40915
41032
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/closed)
|
|
40916
41033
|
*/
|
|
40917
41034
|
readonly closed: Promise<WebTransportCloseInfo>;
|
|
41035
|
+
/**
|
|
41036
|
+
* The **`congestionControl`** read-only property of the WebTransport interface indicates the application's preference for either high throughput or low-latency when sending data.
|
|
41037
|
+
*
|
|
41038
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/congestionControl)
|
|
41039
|
+
*/
|
|
41040
|
+
readonly congestionControl: WebTransportCongestionControl;
|
|
40918
41041
|
/**
|
|
40919
41042
|
* 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.
|
|
40920
41043
|
*
|
|
@@ -40933,12 +41056,19 @@ interface WebTransport {
|
|
|
40933
41056
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingUnidirectionalStreams)
|
|
40934
41057
|
*/
|
|
40935
41058
|
readonly incomingUnidirectionalStreams: ReadableStream;
|
|
41059
|
+
readonly protocol: string;
|
|
40936
41060
|
/**
|
|
40937
41061
|
* The **`ready`** read-only property of the WebTransport interface returns a promise that resolves when the transport is ready to use.
|
|
40938
41062
|
*
|
|
40939
41063
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/ready)
|
|
40940
41064
|
*/
|
|
40941
41065
|
readonly ready: Promise<void>;
|
|
41066
|
+
/**
|
|
41067
|
+
* 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).
|
|
41068
|
+
*
|
|
41069
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/reliability)
|
|
41070
|
+
*/
|
|
41071
|
+
readonly reliability: WebTransportReliabilityMode;
|
|
40942
41072
|
/**
|
|
40943
41073
|
* The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session.
|
|
40944
41074
|
*
|
|
@@ -40957,6 +41087,12 @@ interface WebTransport {
|
|
|
40957
41087
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createUnidirectionalStream)
|
|
40958
41088
|
*/
|
|
40959
41089
|
createUnidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WritableStream>;
|
|
41090
|
+
/**
|
|
41091
|
+
* The **`getStats()`** method of the WebTransport interface asynchronously returns an object containing HTTP/3 connection statistics.
|
|
41092
|
+
*
|
|
41093
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/getStats)
|
|
41094
|
+
*/
|
|
41095
|
+
getStats(): Promise<WebTransportConnectionStats>;
|
|
40960
41096
|
}
|
|
40961
41097
|
|
|
40962
41098
|
declare var WebTransport: {
|
|
@@ -41072,6 +41208,52 @@ declare var WebTransportError: {
|
|
|
41072
41208
|
new(message?: string, options?: WebTransportErrorOptions): WebTransportError;
|
|
41073
41209
|
};
|
|
41074
41210
|
|
|
41211
|
+
/**
|
|
41212
|
+
* The **`WebTransportReceiveStream`** interface of the WebTransport API is a ReadableStream that can be used to read from an incoming unidirectional or bidirectional WebTransport stream.
|
|
41213
|
+
* Available only in secure contexts.
|
|
41214
|
+
*
|
|
41215
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportReceiveStream)
|
|
41216
|
+
*/
|
|
41217
|
+
interface WebTransportReceiveStream extends ReadableStream {
|
|
41218
|
+
/**
|
|
41219
|
+
* The **`getStats()`** method of the WebTransportReceiveStream interface asynchronously returns an object containing statistics for the current stream.
|
|
41220
|
+
*
|
|
41221
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportReceiveStream/getStats)
|
|
41222
|
+
*/
|
|
41223
|
+
getStats(): Promise<WebTransportReceiveStreamStats>;
|
|
41224
|
+
}
|
|
41225
|
+
|
|
41226
|
+
declare var WebTransportReceiveStream: {
|
|
41227
|
+
prototype: WebTransportReceiveStream;
|
|
41228
|
+
new(): WebTransportReceiveStream;
|
|
41229
|
+
};
|
|
41230
|
+
|
|
41231
|
+
/**
|
|
41232
|
+
* 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.
|
|
41233
|
+
* Available only in secure contexts.
|
|
41234
|
+
*
|
|
41235
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
|
|
41236
|
+
*/
|
|
41237
|
+
interface WebTransportSendStream extends WritableStream {
|
|
41238
|
+
/**
|
|
41239
|
+
* 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.
|
|
41240
|
+
*
|
|
41241
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream/sendOrder)
|
|
41242
|
+
*/
|
|
41243
|
+
sendOrder: number;
|
|
41244
|
+
/**
|
|
41245
|
+
* The **`getStats()`** method of the WebTransportSendStream interface asynchronously returns an object containing statistics for the current stream.
|
|
41246
|
+
*
|
|
41247
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream/getStats)
|
|
41248
|
+
*/
|
|
41249
|
+
getStats(): Promise<WebTransportSendStreamStats>;
|
|
41250
|
+
}
|
|
41251
|
+
|
|
41252
|
+
declare var WebTransportSendStream: {
|
|
41253
|
+
prototype: WebTransportSendStream;
|
|
41254
|
+
new(): WebTransportSendStream;
|
|
41255
|
+
};
|
|
41256
|
+
|
|
41075
41257
|
/**
|
|
41076
41258
|
* The **`WheelEvent`** interface represents events that occur due to the user moving a mouse wheel or similar input device.
|
|
41077
41259
|
*
|
|
@@ -44432,6 +44614,7 @@ type WakeLockType = "screen";
|
|
|
44432
44614
|
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
|
|
44433
44615
|
type WebTransportCongestionControl = "default" | "low-latency" | "throughput";
|
|
44434
44616
|
type WebTransportErrorSource = "session" | "stream";
|
|
44617
|
+
type WebTransportReliabilityMode = "pending" | "reliable-only" | "supports-unreliable";
|
|
44435
44618
|
type WorkerType = "classic" | "module";
|
|
44436
44619
|
type WriteCommandType = "seek" | "truncate" | "write";
|
|
44437
44620
|
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|