@webref/idl 3.46.2 → 3.47.0
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/DOM-Parsing.idl +0 -5
- package/css-nesting.idl +9 -0
- package/dom.idl +6 -6
- package/html.idl +2 -1
- package/package.json +1 -1
- package/shared-storage.idl +21 -30
- package/webrtc-encoded-transform.idl +10 -0
- package/webrtc.idl +1 -1
package/DOM-Parsing.idl
CHANGED
|
@@ -9,11 +9,6 @@ interface XMLSerializer {
|
|
|
9
9
|
DOMString serializeToString(Node root);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
partial interface Element {
|
|
13
|
-
[CEReactions] attribute [LegacyNullToEmptyString] HTMLString outerHTML;
|
|
14
|
-
[CEReactions] undefined insertAdjacentHTML(DOMString position, HTMLString text);
|
|
15
|
-
};
|
|
16
|
-
|
|
17
12
|
partial interface Range {
|
|
18
13
|
[CEReactions, NewObject] DocumentFragment createContextualFragment(HTMLString fragment);
|
|
19
14
|
};
|
package/css-nesting.idl
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Nesting Module (https://drafts.csswg.org/css-nesting-1/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface CSSNestRule : CSSGroupingRule {
|
|
8
|
+
[SameObject, PutForwards=cssText] readonly attribute CSSStyleProperties style;
|
|
9
|
+
};
|
package/dom.idl
CHANGED
|
@@ -120,9 +120,9 @@ interface mixin ParentNode {
|
|
|
120
120
|
readonly attribute Element? lastElementChild;
|
|
121
121
|
readonly attribute unsigned long childElementCount;
|
|
122
122
|
|
|
123
|
-
[CEReactions, Unscopable] undefined prepend((Node or DOMString)... nodes);
|
|
124
|
-
[CEReactions, Unscopable] undefined append((Node or DOMString)... nodes);
|
|
125
|
-
[CEReactions, Unscopable] undefined replaceChildren((Node or DOMString)... nodes);
|
|
123
|
+
[CEReactions, Unscopable] undefined prepend((Node or TrustedScript or DOMString)... nodes);
|
|
124
|
+
[CEReactions, Unscopable] undefined append((Node or TrustedScript or DOMString)... nodes);
|
|
125
|
+
[CEReactions, Unscopable] undefined replaceChildren((Node or TrustedScript or DOMString)... nodes);
|
|
126
126
|
|
|
127
127
|
Element? querySelector(DOMString selectors);
|
|
128
128
|
[NewObject] NodeList querySelectorAll(DOMString selectors);
|
|
@@ -139,9 +139,9 @@ Element includes NonDocumentTypeChildNode;
|
|
|
139
139
|
CharacterData includes NonDocumentTypeChildNode;
|
|
140
140
|
|
|
141
141
|
interface mixin ChildNode {
|
|
142
|
-
[CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);
|
|
143
|
-
[CEReactions, Unscopable] undefined after((Node or DOMString)... nodes);
|
|
144
|
-
[CEReactions, Unscopable] undefined replaceWith((Node or DOMString)... nodes);
|
|
142
|
+
[CEReactions, Unscopable] undefined before((Node or TrustedScript or DOMString)... nodes);
|
|
143
|
+
[CEReactions, Unscopable] undefined after((Node or TrustedScript or DOMString)... nodes);
|
|
144
|
+
[CEReactions, Unscopable] undefined replaceWith((Node or TrustedScript or DOMString)... nodes);
|
|
145
145
|
[CEReactions, Unscopable] undefined remove();
|
|
146
146
|
};
|
|
147
147
|
DocumentType includes ChildNode;
|
package/html.idl
CHANGED
|
@@ -1580,7 +1580,6 @@ interface OffscreenCanvas : EventTarget {
|
|
|
1580
1580
|
|
|
1581
1581
|
[Exposed=(Window,Worker)]
|
|
1582
1582
|
interface OffscreenCanvasRenderingContext2D {
|
|
1583
|
-
undefined commit();
|
|
1584
1583
|
readonly attribute OffscreenCanvas canvas;
|
|
1585
1584
|
};
|
|
1586
1585
|
|
|
@@ -2298,6 +2297,8 @@ partial interface Element {
|
|
|
2298
2297
|
DOMString getHTML(optional GetHTMLOptions options = {});
|
|
2299
2298
|
|
|
2300
2299
|
[CEReactions] attribute [LegacyNullToEmptyString] HTMLString innerHTML;
|
|
2300
|
+
[CEReactions] attribute [LegacyNullToEmptyString] HTMLString outerHTML;
|
|
2301
|
+
[CEReactions] undefined insertAdjacentHTML(DOMString position, HTMLString string);
|
|
2301
2302
|
};
|
|
2302
2303
|
|
|
2303
2304
|
partial interface ShadowRoot {
|
package/package.json
CHANGED
package/shared-storage.idl
CHANGED
|
@@ -3,40 +3,30 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Shared Storage API (https://wicg.github.io/shared-storage/)
|
|
5
5
|
|
|
6
|
+
typedef (USVString or FencedFrameConfig) SharedStorageResponse;
|
|
7
|
+
|
|
6
8
|
[Exposed=(Window)]
|
|
7
9
|
interface SharedStorageWorklet : Worklet {
|
|
10
|
+
Promise<SharedStorageResponse> selectURL(DOMString name,
|
|
11
|
+
FrozenArray<SharedStorageUrlWithMetadata> urls,
|
|
12
|
+
optional SharedStorageRunOperationMethodOptions options = {});
|
|
13
|
+
Promise<any> run(DOMString name,
|
|
14
|
+
optional SharedStorageRunOperationMethodOptions options = {});
|
|
8
15
|
};
|
|
9
16
|
|
|
17
|
+
callback RunFunctionForSharedStorageSelectURLOperation = Promise<unsigned long>(sequence<USVString> urls, optional any data);
|
|
18
|
+
|
|
10
19
|
[Exposed=SharedStorageWorklet, Global=SharedStorageWorklet]
|
|
11
20
|
interface SharedStorageWorkletGlobalScope : WorkletGlobalScope {
|
|
12
21
|
undefined register(DOMString name,
|
|
13
|
-
|
|
22
|
+
Function operationCtor);
|
|
14
23
|
|
|
15
24
|
readonly attribute WorkletSharedStorage sharedStorage;
|
|
16
25
|
};
|
|
17
26
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
[Exposed=SharedStorageWorklet]
|
|
22
|
-
interface SharedStorageOperation {
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
dictionary SharedStorageRunOperationMethodOptions {
|
|
26
|
-
object data;
|
|
27
|
-
boolean resolveToConfig = false;
|
|
28
|
-
boolean keepAlive = false;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
[Exposed=SharedStorageWorklet]
|
|
32
|
-
interface SharedStorageRunOperation : SharedStorageOperation {
|
|
33
|
-
Promise<undefined> run(object data);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
[Exposed=SharedStorageWorklet]
|
|
37
|
-
interface SharedStorageSelectURLOperation : SharedStorageOperation {
|
|
38
|
-
Promise<long> run(object data,
|
|
39
|
-
FrozenArray<SharedStorageUrlWithMetadata> urls);
|
|
27
|
+
dictionary SharedStorageUrlWithMetadata {
|
|
28
|
+
required USVString url;
|
|
29
|
+
object reportingMetadata;
|
|
40
30
|
};
|
|
41
31
|
|
|
42
32
|
[Exposed=(Window,SharedStorageWorklet)]
|
|
@@ -54,22 +44,23 @@ dictionary SharedStorageSetMethodOptions {
|
|
|
54
44
|
boolean ignoreIfPresent = false;
|
|
55
45
|
};
|
|
56
46
|
|
|
57
|
-
typedef (USVString or FencedFrameConfig) SharedStorageResponse;
|
|
58
|
-
|
|
59
47
|
[Exposed=(Window)]
|
|
60
48
|
interface WindowSharedStorage : SharedStorage {
|
|
61
|
-
Promise<any> run(DOMString name,
|
|
62
|
-
optional SharedStorageRunOperationMethodOptions options = {});
|
|
63
49
|
Promise<SharedStorageResponse> selectURL(DOMString name,
|
|
64
50
|
FrozenArray<SharedStorageUrlWithMetadata> urls,
|
|
65
51
|
optional SharedStorageRunOperationMethodOptions options = {});
|
|
52
|
+
Promise<any> run(DOMString name,
|
|
53
|
+
optional SharedStorageRunOperationMethodOptions options = {});
|
|
54
|
+
|
|
55
|
+
Promise<SharedStorageWorklet> createWorklet(USVString moduleURL, optional WorkletOptions options = {});
|
|
66
56
|
|
|
67
57
|
readonly attribute SharedStorageWorklet worklet;
|
|
68
58
|
};
|
|
69
59
|
|
|
70
|
-
dictionary
|
|
71
|
-
|
|
72
|
-
|
|
60
|
+
dictionary SharedStorageRunOperationMethodOptions {
|
|
61
|
+
object data;
|
|
62
|
+
boolean resolveToConfig = false;
|
|
63
|
+
boolean keepAlive = false;
|
|
73
64
|
};
|
|
74
65
|
|
|
75
66
|
partial interface Window {
|
|
@@ -78,10 +78,15 @@ dictionary RTCEncodedVideoFrameMetadata {
|
|
|
78
78
|
DOMString mimeType;
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
+
dictionary RTCEncodedVideoFrameOptions {
|
|
82
|
+
RTCEncodedVideoFrameMetadata metadata;
|
|
83
|
+
};
|
|
84
|
+
|
|
81
85
|
// New interfaces to define encoded video and audio frames. Will eventually
|
|
82
86
|
// re-use or extend the equivalent defined in WebCodecs.
|
|
83
87
|
[Exposed=(Window,DedicatedWorker), Serializable]
|
|
84
88
|
interface RTCEncodedVideoFrame {
|
|
89
|
+
constructor(RTCEncodedVideoFrame originalFrame, optional RTCEncodedVideoFrameOptions options = {});
|
|
85
90
|
readonly attribute RTCEncodedVideoFrameType type;
|
|
86
91
|
attribute ArrayBuffer data;
|
|
87
92
|
RTCEncodedVideoFrameMetadata getMetadata();
|
|
@@ -96,8 +101,13 @@ dictionary RTCEncodedAudioFrameMetadata {
|
|
|
96
101
|
DOMString mimeType;
|
|
97
102
|
};
|
|
98
103
|
|
|
104
|
+
dictionary RTCEncodedAudioFrameOptions {
|
|
105
|
+
RTCEncodedAudioFrameMetadata metadata;
|
|
106
|
+
};
|
|
107
|
+
|
|
99
108
|
[Exposed=(Window,DedicatedWorker), Serializable]
|
|
100
109
|
interface RTCEncodedAudioFrame {
|
|
110
|
+
constructor(RTCEncodedAudioFrame originalFrame, optional RTCEncodedAudioFrameOptions options = {});
|
|
101
111
|
attribute ArrayBuffer data;
|
|
102
112
|
RTCEncodedAudioFrameMetadata getMetadata();
|
|
103
113
|
};
|
package/webrtc.idl
CHANGED
|
@@ -388,7 +388,7 @@ interface RTCRtpTransceiver {
|
|
|
388
388
|
attribute RTCRtpTransceiverDirection direction;
|
|
389
389
|
readonly attribute RTCRtpTransceiverDirection? currentDirection;
|
|
390
390
|
undefined stop();
|
|
391
|
-
undefined setCodecPreferences(sequence<
|
|
391
|
+
undefined setCodecPreferences(sequence<RTCRtpCodec> codecs);
|
|
392
392
|
};
|
|
393
393
|
|
|
394
394
|
[Exposed=Window]
|