@types/web 0.0.346 → 0.0.348
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 +3 -1
- package/index.d.ts +342 -31
- package/package.json +1 -1
- package/ts5.5/index.d.ts +342 -31
- package/ts5.6/index.d.ts +342 -31
- package/ts5.9/index.d.ts +342 -31
package/index.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ interface AnalyserOptions extends AudioNodeOptions {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
interface AnimationEventInit extends EventInit {
|
|
79
|
+
animation?: CSSAnimation | null;
|
|
79
80
|
animationName?: string;
|
|
80
81
|
elapsedTime?: number;
|
|
81
82
|
pseudoElement?: string;
|
|
@@ -628,6 +629,17 @@ interface DisplayMediaStreamOptions {
|
|
|
628
629
|
video?: boolean | MediaTrackConstraints;
|
|
629
630
|
}
|
|
630
631
|
|
|
632
|
+
interface DocumentPictureInPictureEventInit extends EventInit {
|
|
633
|
+
window: Window;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
interface DocumentPictureInPictureOptions {
|
|
637
|
+
disallowReturnToOpener?: boolean;
|
|
638
|
+
height?: number;
|
|
639
|
+
preferInitialWindowPlacement?: boolean;
|
|
640
|
+
width?: number;
|
|
641
|
+
}
|
|
642
|
+
|
|
631
643
|
interface DocumentTimelineOptions {
|
|
632
644
|
originTime?: DOMHighResTimeStamp;
|
|
633
645
|
}
|
|
@@ -2642,8 +2654,10 @@ interface SanitizerConfig {
|
|
|
2642
2654
|
comments?: boolean;
|
|
2643
2655
|
dataAttributes?: boolean;
|
|
2644
2656
|
elements?: SanitizerElementWithAttributes[];
|
|
2657
|
+
processingInstructions?: SanitizerPI[];
|
|
2645
2658
|
removeAttributes?: SanitizerAttribute[];
|
|
2646
2659
|
removeElements?: SanitizerElement[];
|
|
2660
|
+
removeProcessingInstructions?: SanitizerPI[];
|
|
2647
2661
|
replaceWithChildrenElements?: SanitizerElement[];
|
|
2648
2662
|
}
|
|
2649
2663
|
|
|
@@ -2657,6 +2671,10 @@ interface SanitizerElementNamespaceWithAttributes extends SanitizerElementNamesp
|
|
|
2657
2671
|
removeAttributes?: SanitizerAttribute[];
|
|
2658
2672
|
}
|
|
2659
2673
|
|
|
2674
|
+
interface SanitizerProcessingInstruction {
|
|
2675
|
+
target: string;
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2660
2678
|
interface SchedulerPostTaskOptions {
|
|
2661
2679
|
delay?: number;
|
|
2662
2680
|
priority?: TaskPriority;
|
|
@@ -2697,6 +2715,45 @@ interface SecurityPolicyViolationEventInit extends EventInit {
|
|
|
2697
2715
|
violatedDirective?: string;
|
|
2698
2716
|
}
|
|
2699
2717
|
|
|
2718
|
+
interface SerialInputSignals {
|
|
2719
|
+
clearToSend: boolean;
|
|
2720
|
+
dataCarrierDetect: boolean;
|
|
2721
|
+
dataSetReady: boolean;
|
|
2722
|
+
ringIndicator: boolean;
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
interface SerialOptions {
|
|
2726
|
+
baudRate: number;
|
|
2727
|
+
bufferSize?: number;
|
|
2728
|
+
dataBits?: number;
|
|
2729
|
+
flowControl?: FlowControlType;
|
|
2730
|
+
parity?: ParityType;
|
|
2731
|
+
stopBits?: number;
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
interface SerialOutputSignals {
|
|
2735
|
+
break?: boolean;
|
|
2736
|
+
dataTerminalReady?: boolean;
|
|
2737
|
+
requestToSend?: boolean;
|
|
2738
|
+
}
|
|
2739
|
+
|
|
2740
|
+
interface SerialPortFilter {
|
|
2741
|
+
bluetoothServiceClassId?: BluetoothServiceUUID;
|
|
2742
|
+
usbProductId?: number;
|
|
2743
|
+
usbVendorId?: number;
|
|
2744
|
+
}
|
|
2745
|
+
|
|
2746
|
+
interface SerialPortInfo {
|
|
2747
|
+
bluetoothServiceClassId?: BluetoothServiceUUID;
|
|
2748
|
+
usbProductId?: number;
|
|
2749
|
+
usbVendorId?: number;
|
|
2750
|
+
}
|
|
2751
|
+
|
|
2752
|
+
interface SerialPortRequestOptions {
|
|
2753
|
+
allowedBluetoothServiceClassIds?: BluetoothServiceUUID[];
|
|
2754
|
+
filters?: SerialPortFilter[];
|
|
2755
|
+
}
|
|
2756
|
+
|
|
2700
2757
|
interface ShadowRootInit {
|
|
2701
2758
|
clonable?: boolean;
|
|
2702
2759
|
customElementRegistry?: CustomElementRegistry | null;
|
|
@@ -2882,6 +2939,7 @@ interface Transformer<I = any, O = any> {
|
|
|
2882
2939
|
}
|
|
2883
2940
|
|
|
2884
2941
|
interface TransitionEventInit extends EventInit {
|
|
2942
|
+
animation?: CSSTransition | null;
|
|
2885
2943
|
elapsedTime?: number;
|
|
2886
2944
|
propertyName?: string;
|
|
2887
2945
|
pseudoElement?: string;
|
|
@@ -5708,9 +5766,29 @@ declare var CSSLayerStatementRule: {
|
|
|
5708
5766
|
new(): CSSLayerStatementRule;
|
|
5709
5767
|
};
|
|
5710
5768
|
|
|
5769
|
+
/**
|
|
5770
|
+
* The **`CSSMathClamp`** interface of the CSS Typed Object Model API represents the CSS clamp() function. It inherits properties and methods from its parent CSSNumericValue.
|
|
5771
|
+
*
|
|
5772
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp)
|
|
5773
|
+
*/
|
|
5711
5774
|
interface CSSMathClamp extends CSSMathValue {
|
|
5775
|
+
/**
|
|
5776
|
+
* The **`lower`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the minimum value of a CSSMathClamp object.
|
|
5777
|
+
*
|
|
5778
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/lower)
|
|
5779
|
+
*/
|
|
5712
5780
|
readonly lower: CSSNumericValue;
|
|
5781
|
+
/**
|
|
5782
|
+
* The **`upper`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the maximum value of a CSSMathClamp object.
|
|
5783
|
+
*
|
|
5784
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/upper)
|
|
5785
|
+
*/
|
|
5713
5786
|
readonly upper: CSSNumericValue;
|
|
5787
|
+
/**
|
|
5788
|
+
* The **`value`** read-only property of the CSSMathClamp interface returns a CSSNumericValue object containing the preferred value of a CSSMathClamp object.
|
|
5789
|
+
*
|
|
5790
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathClamp/value)
|
|
5791
|
+
*/
|
|
5714
5792
|
readonly value: CSSNumericValue;
|
|
5715
5793
|
}
|
|
5716
5794
|
|
|
@@ -9302,7 +9380,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
|
|
|
9302
9380
|
*/
|
|
9303
9381
|
vectorEffect: string;
|
|
9304
9382
|
/**
|
|
9305
|
-
* The vertical-align CSS property sets vertical alignment of an inline, inline-block or table-cell box.
|
|
9383
|
+
* The vertical-align CSS shorthand property sets the vertical alignment of an inline, inline-block, or table-cell box.
|
|
9306
9384
|
*
|
|
9307
9385
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/vertical-align)
|
|
9308
9386
|
*/
|
|
@@ -10107,13 +10185,13 @@ declare var CSSTranslate: {
|
|
|
10107
10185
|
};
|
|
10108
10186
|
|
|
10109
10187
|
/**
|
|
10110
|
-
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
|
|
10188
|
+
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
|
|
10111
10189
|
*
|
|
10112
10190
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
|
|
10113
10191
|
*/
|
|
10114
10192
|
interface CSSUnitValue extends CSSNumericValue {
|
|
10115
10193
|
/**
|
|
10116
|
-
* The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the type
|
|
10194
|
+
* The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the unit type.
|
|
10117
10195
|
*
|
|
10118
10196
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit)
|
|
10119
10197
|
*/
|
|
@@ -10497,7 +10575,7 @@ interface CanvasRect {
|
|
|
10497
10575
|
*/
|
|
10498
10576
|
interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasSettings, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {
|
|
10499
10577
|
/**
|
|
10500
|
-
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context.
|
|
10578
|
+
* The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the HTMLCanvasElement object that is associated with a given context.
|
|
10501
10579
|
*
|
|
10502
10580
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas)
|
|
10503
10581
|
*/
|
|
@@ -10556,6 +10634,8 @@ interface CanvasTextDrawingStyles {
|
|
|
10556
10634
|
fontStretch: CanvasFontStretch;
|
|
10557
10635
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */
|
|
10558
10636
|
fontVariantCaps: CanvasFontVariantCaps;
|
|
10637
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lang) */
|
|
10638
|
+
lang: string;
|
|
10559
10639
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */
|
|
10560
10640
|
letterSpacing: string;
|
|
10561
10641
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */
|
|
@@ -11218,6 +11298,12 @@ interface Credential {
|
|
|
11218
11298
|
declare var Credential: {
|
|
11219
11299
|
prototype: Credential;
|
|
11220
11300
|
new(): Credential;
|
|
11301
|
+
/**
|
|
11302
|
+
* The **`isConditionalMediationAvailable()`** static method of the Credential interface returns a Promise which resolves to false.
|
|
11303
|
+
*
|
|
11304
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Credential/isConditionalMediationAvailable_static)
|
|
11305
|
+
*/
|
|
11306
|
+
isConditionalMediationAvailable(): Promise<boolean>;
|
|
11221
11307
|
};
|
|
11222
11308
|
|
|
11223
11309
|
/**
|
|
@@ -11507,7 +11593,7 @@ declare var DOMException: {
|
|
|
11507
11593
|
*/
|
|
11508
11594
|
interface DOMImplementation {
|
|
11509
11595
|
/**
|
|
11510
|
-
* The **`
|
|
11596
|
+
* The **`createDocument()`** method of the DOMImplementation interface creates and returns an XMLDocument.
|
|
11511
11597
|
*
|
|
11512
11598
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocument)
|
|
11513
11599
|
*/
|
|
@@ -13003,13 +13089,13 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
13003
13089
|
*/
|
|
13004
13090
|
close(): void;
|
|
13005
13091
|
/**
|
|
13006
|
-
* The **`
|
|
13092
|
+
* The **`createAttribute()`** method of the Document interface creates a new attribute node.
|
|
13007
13093
|
*
|
|
13008
13094
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttribute)
|
|
13009
13095
|
*/
|
|
13010
13096
|
createAttribute(localName: string): Attr;
|
|
13011
13097
|
/**
|
|
13012
|
-
* The **`
|
|
13098
|
+
* The **`createAttributeNS()`** method of the Document interface creates a new attribute node with the specified namespace URI and qualified name.
|
|
13013
13099
|
*
|
|
13014
13100
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttributeNS)
|
|
13015
13101
|
*/
|
|
@@ -13033,7 +13119,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
13033
13119
|
*/
|
|
13034
13120
|
createDocumentFragment(): DocumentFragment;
|
|
13035
13121
|
/**
|
|
13036
|
-
*
|
|
13122
|
+
* The **`createElement()`** method of the Document interface creates a new HTMLElement that has the specified localName.
|
|
13037
13123
|
*
|
|
13038
13124
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElement)
|
|
13039
13125
|
*/
|
|
@@ -13042,7 +13128,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
13042
13128
|
createElement<K extends keyof HTMLElementDeprecatedTagNameMap>(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K];
|
|
13043
13129
|
createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;
|
|
13044
13130
|
/**
|
|
13045
|
-
*
|
|
13131
|
+
* The **`createElementNS()`** method of the Document interface creates a new element with the specified namespace URI and qualified name.
|
|
13046
13132
|
*
|
|
13047
13133
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElementNS)
|
|
13048
13134
|
*/
|
|
@@ -13073,6 +13159,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
13073
13159
|
createEvent(eventInterface: "CustomEvent"): CustomEvent;
|
|
13074
13160
|
createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;
|
|
13075
13161
|
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;
|
|
13162
|
+
createEvent(eventInterface: "DocumentPictureInPictureEvent"): DocumentPictureInPictureEvent;
|
|
13076
13163
|
createEvent(eventInterface: "DragEvent"): DragEvent;
|
|
13077
13164
|
createEvent(eventInterface: "ErrorEvent"): ErrorEvent;
|
|
13078
13165
|
createEvent(eventInterface: "Event"): Event;
|
|
@@ -13376,6 +13463,62 @@ interface DocumentOrShadowRoot {
|
|
|
13376
13463
|
getAnimations(): Animation[];
|
|
13377
13464
|
}
|
|
13378
13465
|
|
|
13466
|
+
interface DocumentPictureInPictureEventMap {
|
|
13467
|
+
"enter": DocumentPictureInPictureEvent;
|
|
13468
|
+
}
|
|
13469
|
+
|
|
13470
|
+
/**
|
|
13471
|
+
* The **`DocumentPictureInPicture`** interface of the Document Picture-in-Picture API is the entry point for creating and handling document picture-in-picture windows.
|
|
13472
|
+
* Available only in secure contexts.
|
|
13473
|
+
*
|
|
13474
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture)
|
|
13475
|
+
*/
|
|
13476
|
+
interface DocumentPictureInPicture extends EventTarget {
|
|
13477
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture/enter_event) */
|
|
13478
|
+
onenter: ((this: DocumentPictureInPicture, ev: DocumentPictureInPictureEvent) => any) | null;
|
|
13479
|
+
/**
|
|
13480
|
+
* The **`window`** read-only property of the DocumentPictureInPicture interface returns a Window instance representing the browsing context inside the Picture-in-Picture window.
|
|
13481
|
+
*
|
|
13482
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture/window)
|
|
13483
|
+
*/
|
|
13484
|
+
readonly window: Window;
|
|
13485
|
+
/**
|
|
13486
|
+
* The **`requestWindow()`** method of the DocumentPictureInPicture interface opens the Picture-in-Picture window for the current main browsing context. It returns a Promise that fulfills with a Window instance representing the browsing context inside the Picture-in-Picture window.
|
|
13487
|
+
*
|
|
13488
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPicture/requestWindow)
|
|
13489
|
+
*/
|
|
13490
|
+
requestWindow(options?: DocumentPictureInPictureOptions): Promise<Window>;
|
|
13491
|
+
addEventListener<K extends keyof DocumentPictureInPictureEventMap>(type: K, listener: (this: DocumentPictureInPicture, ev: DocumentPictureInPictureEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13492
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
13493
|
+
removeEventListener<K extends keyof DocumentPictureInPictureEventMap>(type: K, listener: (this: DocumentPictureInPicture, ev: DocumentPictureInPictureEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
13494
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
13495
|
+
}
|
|
13496
|
+
|
|
13497
|
+
declare var DocumentPictureInPicture: {
|
|
13498
|
+
prototype: DocumentPictureInPicture;
|
|
13499
|
+
new(): DocumentPictureInPicture;
|
|
13500
|
+
};
|
|
13501
|
+
|
|
13502
|
+
/**
|
|
13503
|
+
* The **`DocumentPictureInPictureEvent`** interface of the Document Picture-in-Picture API is the event object for the enter event, which fires when the Picture-in-Picture window is opened.
|
|
13504
|
+
* Available only in secure contexts.
|
|
13505
|
+
*
|
|
13506
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPictureEvent)
|
|
13507
|
+
*/
|
|
13508
|
+
interface DocumentPictureInPictureEvent extends Event {
|
|
13509
|
+
/**
|
|
13510
|
+
* The **`window`** read-only property of the DocumentPictureInPictureEvent interface returns a Window instance representing the browsing context inside the DocumentPictureInPicture window the event was fired on.
|
|
13511
|
+
*
|
|
13512
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentPictureInPictureEvent/window)
|
|
13513
|
+
*/
|
|
13514
|
+
readonly window: Window;
|
|
13515
|
+
}
|
|
13516
|
+
|
|
13517
|
+
declare var DocumentPictureInPictureEvent: {
|
|
13518
|
+
prototype: DocumentPictureInPictureEvent;
|
|
13519
|
+
new(type: string, eventInitDict: DocumentPictureInPictureEventInit): DocumentPictureInPictureEvent;
|
|
13520
|
+
};
|
|
13521
|
+
|
|
13379
13522
|
/**
|
|
13380
13523
|
* The **`DocumentTimeline`** interface of the Web Animations API represents animation timelines, including the default document timeline (accessed via Document.timeline).
|
|
13381
13524
|
*
|
|
@@ -14015,7 +14158,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
14015
14158
|
*/
|
|
14016
14159
|
setPointerCapture(pointerId: number): void;
|
|
14017
14160
|
/**
|
|
14018
|
-
* The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute
|
|
14161
|
+
* The **`toggleAttribute()`** method of the Element interface toggles a Boolean attribute on the given element, removing it if present and adding it if not present.
|
|
14019
14162
|
*
|
|
14020
14163
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/toggleAttribute)
|
|
14021
14164
|
*/
|
|
@@ -14317,7 +14460,7 @@ interface Event {
|
|
|
14317
14460
|
*/
|
|
14318
14461
|
readonly eventPhase: number;
|
|
14319
14462
|
/**
|
|
14320
|
-
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The
|
|
14463
|
+
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is true when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via EventTarget.dispatchEvent(). The click event fired through HTMLElement.click() sets the isTrusted property to false.
|
|
14321
14464
|
*
|
|
14322
14465
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
14323
14466
|
*/
|
|
@@ -16294,8 +16437,12 @@ interface GPUSupportedLimits {
|
|
|
16294
16437
|
readonly maxSamplersPerShaderStage: number;
|
|
16295
16438
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
16296
16439
|
readonly maxStorageBufferBindingSize: number;
|
|
16440
|
+
readonly maxStorageBuffersInFragmentStage: number;
|
|
16441
|
+
readonly maxStorageBuffersInVertexStage: number;
|
|
16297
16442
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
16298
16443
|
readonly maxStorageBuffersPerShaderStage: number;
|
|
16444
|
+
readonly maxStorageTexturesInFragmentStage: number;
|
|
16445
|
+
readonly maxStorageTexturesInVertexStage: number;
|
|
16299
16446
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
16300
16447
|
readonly maxStorageTexturesPerShaderStage: number;
|
|
16301
16448
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
@@ -18532,7 +18679,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
18532
18679
|
*/
|
|
18533
18680
|
height: string;
|
|
18534
18681
|
/**
|
|
18535
|
-
* The **`loading`** property of the HTMLIFrameElement interface is a string that provides a hint to the
|
|
18682
|
+
* The **`loading`** property of the HTMLIFrameElement interface is a string that provides a hint to the browser indicating whether the iframe should be loaded immediately on page load, or only when it is needed.
|
|
18536
18683
|
*
|
|
18537
18684
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading)
|
|
18538
18685
|
*/
|
|
@@ -18675,7 +18822,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
18675
18822
|
*/
|
|
18676
18823
|
isMap: boolean;
|
|
18677
18824
|
/**
|
|
18678
|
-
* The **`loading`** property of the HTMLImageElement interface provides a hint to the
|
|
18825
|
+
* The **`loading`** property of the HTMLImageElement interface provides a hint to the browser on how to handle the loading of the image which is currently outside the window's visual viewport. This helps to optimize the loading of the document's contents by postponing loading the image until it's expected to be needed, rather than immediately during the initial page load. It reflects the <img> element's loading content attribute.
|
|
18679
18826
|
*
|
|
18680
18827
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)
|
|
18681
18828
|
*/
|
|
@@ -18715,7 +18862,7 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
18715
18862
|
*/
|
|
18716
18863
|
referrerPolicy: string;
|
|
18717
18864
|
/**
|
|
18718
|
-
* The **`sizes`** property of the HTMLImageElement interface allows you to specify the layout width of the image for each of a list of media queries
|
|
18865
|
+
* The **`sizes`** property of the HTMLImageElement interface allows you to specify the layout width of the image for each of a list of media queries, or auto for lazy-loaded images to allow the browser to automatically select an image to display based on the layout size of the element. This allows the browser to choose between different images specified in the element srcset to match different media conditions — even images with different orientations or aspect ratios.
|
|
18719
18866
|
*
|
|
18720
18867
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/sizes)
|
|
18721
18868
|
*/
|
|
@@ -21923,7 +22070,7 @@ declare var Headers: {
|
|
|
21923
22070
|
};
|
|
21924
22071
|
|
|
21925
22072
|
/**
|
|
21926
|
-
* The **`Highlight`** interface of the CSS Custom Highlight API is used to represent a collection of
|
|
22073
|
+
* The **`Highlight`** interface of the CSS Custom Highlight API is used to represent a collection of AbstractRange instances to be styled using the API.
|
|
21927
22074
|
*
|
|
21928
22075
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight)
|
|
21929
22076
|
*/
|
|
@@ -25884,7 +26031,7 @@ declare var NavigationPreloadManager: {
|
|
|
25884
26031
|
};
|
|
25885
26032
|
|
|
25886
26033
|
/**
|
|
25887
|
-
* The **`NavigationTransition`** interface of the Navigation API represents an ongoing navigation
|
|
26034
|
+
* The **`NavigationTransition`** interface of the Navigation API represents an ongoing navigation — a navigation that hasn't yet reached the navigatesuccess or navigateerror stage.
|
|
25888
26035
|
*
|
|
25889
26036
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationTransition)
|
|
25890
26037
|
*/
|
|
@@ -25981,6 +26128,12 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
|
|
|
25981
26128
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/permissions)
|
|
25982
26129
|
*/
|
|
25983
26130
|
readonly permissions: Permissions;
|
|
26131
|
+
/**
|
|
26132
|
+
* The **`serial`** read-only property of the Navigator interface returns a Serial object which represents the entry point into the Web Serial API.
|
|
26133
|
+
*
|
|
26134
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/serial)
|
|
26135
|
+
*/
|
|
26136
|
+
readonly serial: Serial;
|
|
25984
26137
|
/**
|
|
25985
26138
|
* The **`serviceWorker`** read-only property of the Navigator interface returns the ServiceWorkerContainer object for the associated document, which provides access to registration, removal, upgrade, and communication with the ServiceWorker.
|
|
25986
26139
|
* Available only in secure contexts.
|
|
@@ -26912,7 +27065,7 @@ interface OffscreenCanvas extends EventTarget {
|
|
|
26912
27065
|
getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;
|
|
26913
27066
|
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
|
|
26914
27067
|
/**
|
|
26915
|
-
* The **`
|
|
27068
|
+
* The **`transferToImageBitmap()`** method of the OffscreenCanvas interface creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas. The image in the OffscreenCanvas is replaced with a new blank image for subsequent rendering.
|
|
26916
27069
|
*
|
|
26917
27070
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap)
|
|
26918
27071
|
*/
|
|
@@ -26943,6 +27096,18 @@ declare var OffscreenCanvasRenderingContext2D: {
|
|
|
26943
27096
|
new(): OffscreenCanvasRenderingContext2D;
|
|
26944
27097
|
};
|
|
26945
27098
|
|
|
27099
|
+
interface Origin {
|
|
27100
|
+
readonly opaque: boolean;
|
|
27101
|
+
isSameOrigin(other: Origin): boolean;
|
|
27102
|
+
isSameSite(other: Origin): boolean;
|
|
27103
|
+
}
|
|
27104
|
+
|
|
27105
|
+
declare var Origin: {
|
|
27106
|
+
prototype: Origin;
|
|
27107
|
+
new(): Origin;
|
|
27108
|
+
from(value: any): Origin;
|
|
27109
|
+
};
|
|
27110
|
+
|
|
26946
27111
|
/**
|
|
26947
27112
|
* The **`OscillatorNode`** interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency of a given wave to be created—in effect, a constant tone.
|
|
26948
27113
|
*
|
|
@@ -27067,7 +27232,9 @@ declare var PageTransitionEvent: {
|
|
|
27067
27232
|
};
|
|
27068
27233
|
|
|
27069
27234
|
interface PaintTimingMixin {
|
|
27235
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/paintTime) */
|
|
27070
27236
|
readonly paintTime: DOMHighResTimeStamp;
|
|
27237
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/presentationTime) */
|
|
27071
27238
|
readonly presentationTime: DOMHighResTimeStamp | null;
|
|
27072
27239
|
}
|
|
27073
27240
|
|
|
@@ -28049,6 +28216,12 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
28049
28216
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)
|
|
28050
28217
|
*/
|
|
28051
28218
|
readonly connectStart: DOMHighResTimeStamp;
|
|
28219
|
+
/**
|
|
28220
|
+
* The **`contentType`** read-only property of the PerformanceResourceTiming interface is a string indicating the content type of the fetched resource, formatted as a MIME type and subtype separated by a forward slash.
|
|
28221
|
+
*
|
|
28222
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/contentType)
|
|
28223
|
+
*/
|
|
28224
|
+
readonly contentType: string;
|
|
28052
28225
|
/**
|
|
28053
28226
|
* The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding.
|
|
28054
28227
|
*
|
|
@@ -29312,7 +29485,7 @@ interface RTCEncodedVideoFrame {
|
|
|
29312
29485
|
*/
|
|
29313
29486
|
readonly timestamp: number;
|
|
29314
29487
|
/**
|
|
29315
|
-
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame
|
|
29488
|
+
* The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame or a delta frame.
|
|
29316
29489
|
*
|
|
29317
29490
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)
|
|
29318
29491
|
*/
|
|
@@ -30490,7 +30663,7 @@ interface ReadableStreamBYOBRequest {
|
|
|
30490
30663
|
*
|
|
30491
30664
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)
|
|
30492
30665
|
*/
|
|
30493
|
-
readonly view:
|
|
30666
|
+
readonly view: Uint8Array<ArrayBuffer> | null;
|
|
30494
30667
|
/**
|
|
30495
30668
|
* The **`respond()`** method of the ReadableStreamBYOBRequest interface is used to signal to the associated readable byte stream that the specified number of bytes were written into the ReadableStreamBYOBRequest.view.
|
|
30496
30669
|
*
|
|
@@ -34735,7 +34908,11 @@ declare var SVGViewElement: {
|
|
|
34735
34908
|
new(): SVGViewElement;
|
|
34736
34909
|
};
|
|
34737
34910
|
|
|
34738
|
-
/**
|
|
34911
|
+
/**
|
|
34912
|
+
* The **`Sanitizer`** interface of the HTML Sanitizer API defines a configuration object that specifies what elements, attributes and comments are allowed or should be removed when inserting strings of HTML into an Element or ShadowRoot, or when parsing an HTML string into a Document.
|
|
34913
|
+
*
|
|
34914
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Sanitizer)
|
|
34915
|
+
*/
|
|
34739
34916
|
interface Sanitizer {
|
|
34740
34917
|
/**
|
|
34741
34918
|
* The **`allowAttribute()`** method of the Sanitizer interface sets an attribute to be allowed on all elements when the sanitizer is used.
|
|
@@ -34999,7 +35176,7 @@ interface SecurityPolicyViolationEvent extends Event {
|
|
|
34999
35176
|
*/
|
|
35000
35177
|
readonly blockedURI: string;
|
|
35001
35178
|
/**
|
|
35002
|
-
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the
|
|
35179
|
+
* The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the character position in the source file line of the document or worker script at which the Content Security Policy (CSP) violation occurred.
|
|
35003
35180
|
*
|
|
35004
35181
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)
|
|
35005
35182
|
*/
|
|
@@ -35229,6 +35406,113 @@ declare var Selection: {
|
|
|
35229
35406
|
new(): Selection;
|
|
35230
35407
|
};
|
|
35231
35408
|
|
|
35409
|
+
/**
|
|
35410
|
+
* The **`Serial`** interface of the Web Serial API provides attributes and methods for finding and connecting to serial ports from a web page.
|
|
35411
|
+
* Available only in secure contexts.
|
|
35412
|
+
*
|
|
35413
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial)
|
|
35414
|
+
*/
|
|
35415
|
+
interface Serial extends EventTarget {
|
|
35416
|
+
/**
|
|
35417
|
+
* The **`getPorts()`** method of the Serial interface returns a Promise that resolves with an array of SerialPort objects representing serial ports connected to the host which the origin has permission to access.
|
|
35418
|
+
*
|
|
35419
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial/getPorts)
|
|
35420
|
+
*/
|
|
35421
|
+
getPorts(): Promise<SerialPort[]>;
|
|
35422
|
+
/**
|
|
35423
|
+
* The **`Serial.requestPort()`** method of the Serial interface presents the user with a dialog asking them to select a serial device to connect to. It returns a Promise that resolves with an instance of SerialPort representing the device chosen by the user.
|
|
35424
|
+
*
|
|
35425
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Serial/requestPort)
|
|
35426
|
+
*/
|
|
35427
|
+
requestPort(options?: SerialPortRequestOptions): Promise<SerialPort>;
|
|
35428
|
+
}
|
|
35429
|
+
|
|
35430
|
+
declare var Serial: {
|
|
35431
|
+
prototype: Serial;
|
|
35432
|
+
new(): Serial;
|
|
35433
|
+
};
|
|
35434
|
+
|
|
35435
|
+
interface SerialPortEventMap {
|
|
35436
|
+
"connect": Event;
|
|
35437
|
+
"disconnect": Event;
|
|
35438
|
+
}
|
|
35439
|
+
|
|
35440
|
+
/**
|
|
35441
|
+
* The **`SerialPort`** interface of the Web Serial API provides access to a serial port on the host device.
|
|
35442
|
+
* Available only in secure contexts.
|
|
35443
|
+
*
|
|
35444
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort)
|
|
35445
|
+
*/
|
|
35446
|
+
interface SerialPort extends EventTarget {
|
|
35447
|
+
/**
|
|
35448
|
+
* The **`connected`** read-only property of the SerialPort interface returns a boolean value that indicates whether the port is logically connected to the device.
|
|
35449
|
+
*
|
|
35450
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/connected)
|
|
35451
|
+
*/
|
|
35452
|
+
readonly connected: boolean;
|
|
35453
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/connect_event) */
|
|
35454
|
+
onconnect: ((this: SerialPort, ev: Event) => any) | null;
|
|
35455
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/disconnect_event) */
|
|
35456
|
+
ondisconnect: ((this: SerialPort, ev: Event) => any) | null;
|
|
35457
|
+
/**
|
|
35458
|
+
* The **`readable`** read-only property of the SerialPort interface returns a ReadableStream for receiving data from the device connected to the port. Chunks read from this stream are instances of Uint8Array. This property is non-null as long as the port is open and has not encountered a fatal error.
|
|
35459
|
+
*
|
|
35460
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/readable)
|
|
35461
|
+
*/
|
|
35462
|
+
readonly readable: ReadableStream | null;
|
|
35463
|
+
/**
|
|
35464
|
+
* The **`writable`** read-only property of the SerialPort interface returns a WritableStream for sending data to the device connected to the port. Chunks written to this stream must be instances of ArrayBuffer, TypedArray, or DataView. This property is non-null as long as the port is open and has not encountered a fatal error.
|
|
35465
|
+
*
|
|
35466
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/writable)
|
|
35467
|
+
*/
|
|
35468
|
+
readonly writable: WritableStream | null;
|
|
35469
|
+
/**
|
|
35470
|
+
* The **`SerialPort.close()`** method of the SerialPort interface returns a Promise that resolves when the port closes.
|
|
35471
|
+
*
|
|
35472
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/close)
|
|
35473
|
+
*/
|
|
35474
|
+
close(): Promise<void>;
|
|
35475
|
+
/**
|
|
35476
|
+
* The **`SerialPort.forget()`** method of the SerialPort interface returns a Promise that resolves when access to the serial port is revoked.
|
|
35477
|
+
*
|
|
35478
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/forget)
|
|
35479
|
+
*/
|
|
35480
|
+
forget(): Promise<void>;
|
|
35481
|
+
/**
|
|
35482
|
+
* The **`getInfo()`** method of the SerialPort interface returns an object containing identifying information for the device available via the port.
|
|
35483
|
+
*
|
|
35484
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/getInfo)
|
|
35485
|
+
*/
|
|
35486
|
+
getInfo(): SerialPortInfo;
|
|
35487
|
+
/**
|
|
35488
|
+
* The **`SerialPort.getSignals()`** method of the SerialPort interface returns a Promise that resolves with an object containing the current state of the port's control signals.
|
|
35489
|
+
*
|
|
35490
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/getSignals)
|
|
35491
|
+
*/
|
|
35492
|
+
getSignals(): Promise<SerialInputSignals>;
|
|
35493
|
+
/**
|
|
35494
|
+
* The **`open()`** method of the SerialPort interface returns a Promise that resolves when the port is opened. By default the port is opened with 8 data bits, 1 stop bit and no parity checking. The baudRate parameter is required.
|
|
35495
|
+
*
|
|
35496
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/open)
|
|
35497
|
+
*/
|
|
35498
|
+
open(options: SerialOptions): Promise<void>;
|
|
35499
|
+
/**
|
|
35500
|
+
* The **`setSignals()`** method of the SerialPort interface sets control signals on the port and returns a Promise that resolves when they are set.
|
|
35501
|
+
*
|
|
35502
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SerialPort/setSignals)
|
|
35503
|
+
*/
|
|
35504
|
+
setSignals(signals?: SerialOutputSignals): Promise<void>;
|
|
35505
|
+
addEventListener<K extends keyof SerialPortEventMap>(type: K, listener: (this: SerialPort, ev: SerialPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
35506
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
35507
|
+
removeEventListener<K extends keyof SerialPortEventMap>(type: K, listener: (this: SerialPort, ev: SerialPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
35508
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
35509
|
+
}
|
|
35510
|
+
|
|
35511
|
+
declare var SerialPort: {
|
|
35512
|
+
prototype: SerialPort;
|
|
35513
|
+
new(): SerialPort;
|
|
35514
|
+
};
|
|
35515
|
+
|
|
35232
35516
|
interface ServiceWorkerEventMap extends AbstractWorkerEventMap {
|
|
35233
35517
|
"statechange": Event;
|
|
35234
35518
|
}
|
|
@@ -38629,13 +38913,13 @@ interface WEBGL_draw_buffers {
|
|
|
38629
38913
|
*/
|
|
38630
38914
|
interface WEBGL_lose_context {
|
|
38631
38915
|
/**
|
|
38632
|
-
* The **`
|
|
38916
|
+
* The **`loseContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext.
|
|
38633
38917
|
*
|
|
38634
38918
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext)
|
|
38635
38919
|
*/
|
|
38636
38920
|
loseContext(): void;
|
|
38637
38921
|
/**
|
|
38638
|
-
* The **`
|
|
38922
|
+
* The **`restoreContext()`** method of the WEBGL_lose_context extension is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext.
|
|
38639
38923
|
*
|
|
38640
38924
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/restoreContext)
|
|
38641
38925
|
*/
|
|
@@ -41424,7 +41708,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
41424
41708
|
*/
|
|
41425
41709
|
readonly cookieStore: CookieStore;
|
|
41426
41710
|
/**
|
|
41427
|
-
* The **`customElements`** read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
|
|
41711
|
+
* The **`customElements`** read-only property of the Window interface returns a reference to the global CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
|
|
41428
41712
|
*
|
|
41429
41713
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements)
|
|
41430
41714
|
*/
|
|
@@ -41441,6 +41725,13 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
41441
41725
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/document)
|
|
41442
41726
|
*/
|
|
41443
41727
|
readonly document: Document;
|
|
41728
|
+
/**
|
|
41729
|
+
* The **`documentPictureInPicture`** read-only property of the Window interface returns a reference to the DocumentPictureInPicture object for the current document context.
|
|
41730
|
+
* Available only in secure contexts.
|
|
41731
|
+
*
|
|
41732
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/documentPictureInPicture)
|
|
41733
|
+
*/
|
|
41734
|
+
readonly documentPictureInPicture: DocumentPictureInPicture;
|
|
41444
41735
|
/**
|
|
41445
41736
|
* The read-only Window property **`event`** returns the Event which is currently being handled by the site's code. Outside the context of an event handler, the value is always undefined.
|
|
41446
41737
|
* @deprecated
|
|
@@ -42593,6 +42884,7 @@ declare namespace CSS {
|
|
|
42593
42884
|
function Hz(value: number): CSSUnitValue;
|
|
42594
42885
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42595
42886
|
function Q(value: number): CSSUnitValue;
|
|
42887
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42596
42888
|
function cap(value: number): CSSUnitValue;
|
|
42597
42889
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42598
42890
|
function ch(value: number): CSSUnitValue;
|
|
@@ -42644,9 +42936,11 @@ declare namespace CSS {
|
|
|
42644
42936
|
function fr(value: number): CSSUnitValue;
|
|
42645
42937
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42646
42938
|
function grad(value: number): CSSUnitValue;
|
|
42939
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42647
42940
|
function ic(value: number): CSSUnitValue;
|
|
42648
42941
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42649
42942
|
function kHz(value: number): CSSUnitValue;
|
|
42943
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42650
42944
|
function lh(value: number): CSSUnitValue;
|
|
42651
42945
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42652
42946
|
function lvb(value: number): CSSUnitValue;
|
|
@@ -42676,7 +42970,9 @@ declare namespace CSS {
|
|
|
42676
42970
|
function px(value: number): CSSUnitValue;
|
|
42677
42971
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42678
42972
|
function rad(value: number): CSSUnitValue;
|
|
42973
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42679
42974
|
function rcap(value: number): CSSUnitValue;
|
|
42975
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42680
42976
|
function rch(value: number): CSSUnitValue;
|
|
42681
42977
|
/**
|
|
42682
42978
|
* The **`CSS.registerProperty()`** static method registers custom properties, allowing for property type checking, default values, and properties that do or do not inherit their value.
|
|
@@ -42686,8 +42982,11 @@ declare namespace CSS {
|
|
|
42686
42982
|
function registerProperty(definition: PropertyDefinition): void;
|
|
42687
42983
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42688
42984
|
function rem(value: number): CSSUnitValue;
|
|
42985
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42689
42986
|
function rex(value: number): CSSUnitValue;
|
|
42987
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42690
42988
|
function ric(value: number): CSSUnitValue;
|
|
42989
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42691
42990
|
function rlh(value: number): CSSUnitValue;
|
|
42692
42991
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
42693
42992
|
function s(value: number): CSSUnitValue;
|
|
@@ -42774,6 +43073,7 @@ declare namespace WebAssembly {
|
|
|
42774
43073
|
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
|
|
42775
43074
|
*/
|
|
42776
43075
|
interface Global<T extends ValueType = ValueType> {
|
|
43076
|
+
/** The **`value`** property of the WebAssembly.Global object prototype returns the value contained inside the global variable. */
|
|
42777
43077
|
value: ValueTypeMap[T];
|
|
42778
43078
|
valueOf(): ValueTypeMap[T];
|
|
42779
43079
|
}
|
|
@@ -42849,7 +43149,7 @@ declare namespace WebAssembly {
|
|
|
42849
43149
|
|
|
42850
43150
|
var Module: {
|
|
42851
43151
|
prototype: Module;
|
|
42852
|
-
new(bytes:
|
|
43152
|
+
new(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Module;
|
|
42853
43153
|
/**
|
|
42854
43154
|
* The WebAssembly.**`Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
|
|
42855
43155
|
*
|
|
@@ -43000,16 +43300,16 @@ declare namespace WebAssembly {
|
|
|
43000
43300
|
type ValueType = keyof ValueTypeMap;
|
|
43001
43301
|
var JSTag: Tag;
|
|
43002
43302
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
|
|
43003
|
-
function compile(bytes:
|
|
43303
|
+
function compile(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
43004
43304
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
|
|
43005
43305
|
function compileStreaming(source: Response | PromiseLike<Response>, options?: WebAssemblyCompileOptions): Promise<Module>;
|
|
43006
43306
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
|
|
43007
|
-
function instantiate(bytes:
|
|
43307
|
+
function instantiate(bytes: AllowSharedBufferSource, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
43008
43308
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
43009
43309
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
|
|
43010
43310
|
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports, options?: WebAssemblyCompileOptions): Promise<WebAssemblyInstantiatedSource>;
|
|
43011
43311
|
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
|
|
43012
|
-
function validate(bytes:
|
|
43312
|
+
function validate(bytes: AllowSharedBufferSource, options?: WebAssemblyCompileOptions): boolean;
|
|
43013
43313
|
}
|
|
43014
43314
|
|
|
43015
43315
|
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
|
@@ -43609,7 +43909,7 @@ declare var closed: boolean;
|
|
|
43609
43909
|
*/
|
|
43610
43910
|
declare var cookieStore: CookieStore;
|
|
43611
43911
|
/**
|
|
43612
|
-
* The **`customElements`** read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
|
|
43912
|
+
* The **`customElements`** read-only property of the Window interface returns a reference to the global CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
|
|
43613
43913
|
*
|
|
43614
43914
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements)
|
|
43615
43915
|
*/
|
|
@@ -43626,6 +43926,13 @@ declare var devicePixelRatio: number;
|
|
|
43626
43926
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/document)
|
|
43627
43927
|
*/
|
|
43628
43928
|
declare var document: Document;
|
|
43929
|
+
/**
|
|
43930
|
+
* The **`documentPictureInPicture`** read-only property of the Window interface returns a reference to the DocumentPictureInPicture object for the current document context.
|
|
43931
|
+
* Available only in secure contexts.
|
|
43932
|
+
*
|
|
43933
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/documentPictureInPicture)
|
|
43934
|
+
*/
|
|
43935
|
+
declare var documentPictureInPicture: DocumentPictureInPicture;
|
|
43629
43936
|
/**
|
|
43630
43937
|
* The read-only Window property **`event`** returns the Event which is currently being handled by the site's code. Outside the context of an event handler, the value is always undefined.
|
|
43631
43938
|
* @deprecated
|
|
@@ -44372,6 +44679,7 @@ type AutoFillSection = `section-${string}`;
|
|
|
44372
44679
|
type Base64URLString = string;
|
|
44373
44680
|
type BigInteger = Uint8Array<ArrayBuffer>;
|
|
44374
44681
|
type BlobPart = BufferSource | Blob | string;
|
|
44682
|
+
type BluetoothServiceUUID = string | number;
|
|
44375
44683
|
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
|
|
44376
44684
|
type BufferSource = ArrayBufferView<ArrayBuffer> | ArrayBuffer;
|
|
44377
44685
|
type COSEAlgorithmIdentifier = number;
|
|
@@ -44463,6 +44771,7 @@ type RequestInfo = Request | string;
|
|
|
44463
44771
|
type SanitizerAttribute = string | SanitizerAttributeNamespace;
|
|
44464
44772
|
type SanitizerElement = string | SanitizerElementNamespace;
|
|
44465
44773
|
type SanitizerElementWithAttributes = string | SanitizerElementNamespaceWithAttributes;
|
|
44774
|
+
type SanitizerPI = string | SanitizerProcessingInstruction;
|
|
44466
44775
|
type SelectionDirection = "forward" | "backward" | "none";
|
|
44467
44776
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
44468
44777
|
type TimerHandler = string | Function;
|
|
@@ -44517,7 +44826,7 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
|
|
|
44517
44826
|
type ColorSpaceConversion = "default" | "none";
|
|
44518
44827
|
type CompositeOperation = "accumulate" | "add" | "replace";
|
|
44519
44828
|
type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
|
|
44520
|
-
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
|
|
44829
|
+
type CompressionFormat = "brotli" | "deflate" | "deflate-raw" | "gzip";
|
|
44521
44830
|
type CookieSameSite = "lax" | "none" | "strict";
|
|
44522
44831
|
type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
|
|
44523
44832
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
@@ -44533,6 +44842,7 @@ type EndingType = "native" | "transparent";
|
|
|
44533
44842
|
type FileSystemHandleKind = "directory" | "file";
|
|
44534
44843
|
type FillLightMode = "auto" | "flash" | "off";
|
|
44535
44844
|
type FillMode = "auto" | "backwards" | "both" | "forwards" | "none";
|
|
44845
|
+
type FlowControlType = "hardware" | "none";
|
|
44536
44846
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
44537
44847
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
44538
44848
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
@@ -44622,6 +44932,7 @@ type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-p
|
|
|
44622
44932
|
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
|
|
44623
44933
|
type OverSampleType = "2x" | "4x" | "none";
|
|
44624
44934
|
type PanningModelType = "HRTF" | "equalpower";
|
|
44935
|
+
type ParityType = "even" | "none" | "odd";
|
|
44625
44936
|
type PaymentComplete = "fail" | "success" | "unknown";
|
|
44626
44937
|
type PaymentShippingType = "delivery" | "pickup" | "shipping";
|
|
44627
44938
|
type PermissionName = "camera" | "geolocation" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
|
|
@@ -44668,7 +44979,7 @@ type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origi
|
|
|
44668
44979
|
type RemotePlaybackState = "connected" | "connecting" | "disconnected";
|
|
44669
44980
|
type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
|
|
44670
44981
|
type RequestCredentials = "include" | "omit" | "same-origin";
|
|
44671
|
-
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
44982
|
+
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "json" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
44672
44983
|
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
|
|
44673
44984
|
type RequestPriority = "auto" | "high" | "low";
|
|
44674
44985
|
type RequestRedirect = "error" | "follow" | "manual";
|