@webref/idl 3.39.1 → 3.39.2
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/css-view-transitions-2.idl +22 -1
- package/css-view-transitions.idl +0 -4
- package/generic-sensor.idl +0 -30
- package/html.idl +10 -0
- package/image-capture.idl +1 -1
- package/mediasession.idl +2 -1
- package/package.json +1 -1
- package/performance-timeline.idl +2 -0
- package/webauthn.idl +1 -0
- package/webgpu.idl +3 -3
- package/webmidi.idl +2 -2
- package/webtransport.idl +10 -2
- package/webusb.idl +7 -0
|
@@ -4,6 +4,27 @@
|
|
|
4
4
|
// Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
|
-
interface
|
|
7
|
+
interface RevealEvent : Event {
|
|
8
8
|
readonly attribute ViewTransition? viewTransition;
|
|
9
9
|
};
|
|
10
|
+
|
|
11
|
+
dictionary StartViewTransitionOptions {
|
|
12
|
+
UpdateCallback? update = null;
|
|
13
|
+
sequence<DOMString>? types = null;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
partial interface Document {
|
|
17
|
+
|
|
18
|
+
ViewTransition startViewTransition((UpdateCallback or StartViewTransitionOptions?) callbackOptionsOrNull);
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
partial interface CSSRule {
|
|
22
|
+
const unsigned short VIEW_TRANSITION_RULE = 15;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
enum ViewTransitionTrigger { "navigation", "none" };
|
|
26
|
+
[Exposed=Window]
|
|
27
|
+
interface CSSViewTransitionRule : CSSRule {
|
|
28
|
+
readonly attribute CSSOMString navigationConditionText;
|
|
29
|
+
attribute ViewTransitionTrigger trigger;
|
|
30
|
+
};
|
package/css-view-transitions.idl
CHANGED
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: CSS View Transitions Module Level 1 (https://drafts.csswg.org/css-view-transitions-1/)
|
|
5
5
|
|
|
6
|
-
partial interface Document {
|
|
7
|
-
ViewTransition startViewTransition(optional UpdateCallback? updateCallback = null);
|
|
8
|
-
};
|
|
9
|
-
|
|
10
6
|
callback UpdateCallback = Promise<any> ();
|
|
11
7
|
|
|
12
8
|
[Exposed=Window]
|
package/generic-sensor.idl
CHANGED
|
@@ -28,33 +28,3 @@ interface SensorErrorEvent : Event {
|
|
|
28
28
|
dictionary SensorErrorEventInit : EventInit {
|
|
29
29
|
required DOMException error;
|
|
30
30
|
};
|
|
31
|
-
|
|
32
|
-
dictionary MockSensorConfiguration {
|
|
33
|
-
required MockSensorType mockSensorType;
|
|
34
|
-
boolean connected = true;
|
|
35
|
-
double? maxSamplingFrequency;
|
|
36
|
-
double? minSamplingFrequency;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
dictionary MockSensor {
|
|
40
|
-
double maxSamplingFrequency;
|
|
41
|
-
double minSamplingFrequency;
|
|
42
|
-
double requestedSamplingFrequency;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
enum MockSensorType {
|
|
46
|
-
"ambient-light",
|
|
47
|
-
"accelerometer",
|
|
48
|
-
"linear-acceleration",
|
|
49
|
-
"gravity",
|
|
50
|
-
"gyroscope",
|
|
51
|
-
"magnetometer",
|
|
52
|
-
"uncalibrated-magnetometer",
|
|
53
|
-
"absolute-orientation",
|
|
54
|
-
"relative-orientation",
|
|
55
|
-
"geolocation",
|
|
56
|
-
"proximity",
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
dictionary MockSensorReadingValues {
|
|
60
|
-
};
|
package/html.idl
CHANGED
|
@@ -48,6 +48,8 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement;
|
|
|
48
48
|
|
|
49
49
|
[LegacyOverrideBuiltIns]
|
|
50
50
|
partial interface Document {
|
|
51
|
+
static Document parseHTMLUnsafe(DOMString html);
|
|
52
|
+
|
|
51
53
|
// resource metadata management
|
|
52
54
|
[PutForwards=href, LegacyUnforgeable] readonly attribute Location? location;
|
|
53
55
|
attribute USVString domain;
|
|
@@ -2226,6 +2228,14 @@ enum DOMParserSupportedType {
|
|
|
2226
2228
|
"image/svg+xml"
|
|
2227
2229
|
};
|
|
2228
2230
|
|
|
2231
|
+
partial interface Element {
|
|
2232
|
+
undefined setHTMLUnsafe(DOMString html);
|
|
2233
|
+
};
|
|
2234
|
+
|
|
2235
|
+
partial interface ShadowRoot {
|
|
2236
|
+
undefined setHTMLUnsafe(DOMString html);
|
|
2237
|
+
};
|
|
2238
|
+
|
|
2229
2239
|
[Exposed=Window]
|
|
2230
2240
|
interface Navigator {
|
|
2231
2241
|
// objects implementing this interface also implement the interfaces given below
|
package/image-capture.idl
CHANGED
package/mediasession.idl
CHANGED
package/package.json
CHANGED
package/performance-timeline.idl
CHANGED
|
@@ -12,10 +12,12 @@ typedef sequence<PerformanceEntry> PerformanceEntryList;
|
|
|
12
12
|
|
|
13
13
|
[Exposed=(Window,Worker)]
|
|
14
14
|
interface PerformanceEntry {
|
|
15
|
+
readonly attribute unsigned long long id;
|
|
15
16
|
readonly attribute DOMString name;
|
|
16
17
|
readonly attribute DOMString entryType;
|
|
17
18
|
readonly attribute DOMHighResTimeStamp startTime;
|
|
18
19
|
readonly attribute DOMHighResTimeStamp duration;
|
|
20
|
+
readonly attribute unsigned long long navigationId;
|
|
19
21
|
[Default] object toJSON();
|
|
20
22
|
};
|
|
21
23
|
|
package/webauthn.idl
CHANGED
package/webgpu.idl
CHANGED
|
@@ -95,7 +95,7 @@ interface GPUAdapter {
|
|
|
95
95
|
readonly attribute boolean isFallbackAdapter;
|
|
96
96
|
|
|
97
97
|
Promise<GPUDevice> requestDevice(optional GPUDeviceDescriptor descriptor = {});
|
|
98
|
-
Promise<GPUAdapterInfo> requestAdapterInfo(
|
|
98
|
+
Promise<GPUAdapterInfo> requestAdapterInfo();
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
dictionary GPUDeviceDescriptor
|
|
@@ -760,8 +760,8 @@ enum GPUBlendOperation {
|
|
|
760
760
|
dictionary GPUDepthStencilState {
|
|
761
761
|
required GPUTextureFormat format;
|
|
762
762
|
|
|
763
|
-
|
|
764
|
-
|
|
763
|
+
boolean depthWriteEnabled;
|
|
764
|
+
GPUCompareFunction depthCompare;
|
|
765
765
|
|
|
766
766
|
GPUStencilFaceState stencilFront = {};
|
|
767
767
|
GPUStencilFaceState stencilBack = {};
|
package/webmidi.idl
CHANGED
|
@@ -73,7 +73,7 @@ enum MIDIPortConnectionState {
|
|
|
73
73
|
[SecureContext, Exposed=Window]
|
|
74
74
|
interface MIDIMessageEvent : Event {
|
|
75
75
|
constructor(DOMString type, optional MIDIMessageEventInit eventInitDict = {});
|
|
76
|
-
readonly attribute Uint8Array data;
|
|
76
|
+
readonly attribute Uint8Array? data;
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
dictionary MIDIMessageEventInit: EventInit {
|
|
@@ -83,7 +83,7 @@ dictionary MIDIMessageEventInit: EventInit {
|
|
|
83
83
|
[SecureContext, Exposed=Window]
|
|
84
84
|
interface MIDIConnectionEvent : Event {
|
|
85
85
|
constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict = {});
|
|
86
|
-
readonly attribute MIDIPort port;
|
|
86
|
+
readonly attribute MIDIPort? port;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
dictionary MIDIConnectionEventInit: EventInit {
|
package/webtransport.idl
CHANGED
|
@@ -38,6 +38,7 @@ interface WebTransport {
|
|
|
38
38
|
optional WebTransportSendStreamOptions options = {});
|
|
39
39
|
/* a ReadableStream of WebTransportReceiveStream objects */
|
|
40
40
|
readonly attribute ReadableStream incomingUnidirectionalStreams;
|
|
41
|
+
WebTransportSendGroup createSendGroup();
|
|
41
42
|
};
|
|
42
43
|
|
|
43
44
|
enum WebTransportReliabilityMode {
|
|
@@ -70,7 +71,8 @@ dictionary WebTransportCloseInfo {
|
|
|
70
71
|
};
|
|
71
72
|
|
|
72
73
|
dictionary WebTransportSendStreamOptions {
|
|
73
|
-
|
|
74
|
+
WebTransportSendGroup? sendGroup = null;
|
|
75
|
+
long long sendOrder = 0;
|
|
74
76
|
};
|
|
75
77
|
|
|
76
78
|
dictionary WebTransportConnectionStats {
|
|
@@ -97,7 +99,8 @@ dictionary WebTransportDatagramStats {
|
|
|
97
99
|
|
|
98
100
|
[Exposed=(Window,Worker), SecureContext, Transferable]
|
|
99
101
|
interface WebTransportSendStream : WritableStream {
|
|
100
|
-
attribute
|
|
102
|
+
attribute WebTransportSendGroup? sendGroup;
|
|
103
|
+
attribute long long sendOrder;
|
|
101
104
|
Promise<WebTransportSendStreamStats> getStats();
|
|
102
105
|
};
|
|
103
106
|
|
|
@@ -108,6 +111,11 @@ dictionary WebTransportSendStreamStats {
|
|
|
108
111
|
unsigned long long bytesAcknowledged;
|
|
109
112
|
};
|
|
110
113
|
|
|
114
|
+
[Exposed=(Window,Worker), SecureContext]
|
|
115
|
+
interface WebTransportSendGroup {
|
|
116
|
+
Promise<WebTransportSendStreamStats> getStats();
|
|
117
|
+
};
|
|
118
|
+
|
|
111
119
|
[Exposed=(Window,Worker), SecureContext, Transferable]
|
|
112
120
|
interface WebTransportReceiveStream : ReadableStream {
|
|
113
121
|
Promise<WebTransportReceiveStreamStats> getStats();
|
package/webusb.idl
CHANGED
|
@@ -230,6 +230,13 @@ interface USBEndpoint {
|
|
|
230
230
|
readonly attribute unsigned long packetSize;
|
|
231
231
|
};
|
|
232
232
|
|
|
233
|
+
// USBBlocklistEntry is never exposed.
|
|
234
|
+
dictionary USBBlocklistEntry {
|
|
235
|
+
required unsigned short idVendor;
|
|
236
|
+
required unsigned short idProduct;
|
|
237
|
+
required unsigned short bcdDevice;
|
|
238
|
+
};
|
|
239
|
+
|
|
233
240
|
dictionary USBPermissionDescriptor : PermissionDescriptor {
|
|
234
241
|
sequence<USBDeviceFilter> filters;
|
|
235
242
|
sequence<USBDeviceFilter> exclusionFilters;
|