@webref/idl 3.68.0 → 3.68.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.
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Anchor Positioning (https://drafts.csswg.org/css-anchor-position-1/)
4
+ // Source: CSS Anchor Positioning Module Level 1 (https://drafts.csswg.org/css-anchor-position-1/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface CSSPositionTryRule : CSSRule {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Animations Level 2 (https://drafts.csswg.org/css-animations-2/)
4
+ // Source: CSS Animations Module Level 2 (https://drafts.csswg.org/css-animations-2/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface CSSAnimation : Animation {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Animations Level 1 (https://drafts.csswg.org/css-animations-1/)
4
+ // Source: CSS Animations Module Level 1 (https://drafts.csswg.org/css-animations-1/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface AnimationEvent : Event {
package/css-cascade-6.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Cascading and Inheritance Level 6 (https://drafts.csswg.org/css-cascade-6/)
4
+ // Source: CSS Cascading and Inheritance Module Level 6 (https://drafts.csswg.org/css-cascade-6/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface CSSScopeRule : CSSGroupingRule {
package/css-cascade.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Cascading and Inheritance Level 5 (https://drafts.csswg.org/css-cascade-5/)
4
+ // Source: CSS Cascading and Inheritance Module Level 5 (https://drafts.csswg.org/css-cascade-5/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface CSSLayerBlockRule : CSSGroupingRule {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Counter Styles Level 3 (https://drafts.csswg.org/css-counter-styles-3/)
4
+ // Source: CSS Counter Styles Module Level 3 (https://drafts.csswg.org/css-counter-styles-3/)
5
5
 
6
6
  partial interface CSSRule {
7
7
  const unsigned short COUNTER_STYLE_RULE = 11;
package/css-nav.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Spatial Navigation Level 1 (https://drafts.csswg.org/css-nav-1/)
4
+ // Source: CSS Spatial Navigation Module Level 1 (https://drafts.csswg.org/css-nav-1/)
5
5
 
6
6
  enum SpatialNavigationDirection {
7
7
  "up",
package/css-nesting.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Nesting Module (https://drafts.csswg.org/css-nesting-1/)
4
+ // Source: CSS Nesting Module Level 1 (https://drafts.csswg.org/css-nesting-1/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface CSSNestedDeclarations : CSSRule {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Shadow Parts (https://drafts.csswg.org/css-shadow-parts-1/)
4
+ // Source: CSS Shadow Parts Module Level 1 (https://drafts.csswg.org/css-shadow-parts-1/)
5
5
 
6
6
  partial interface Element {
7
7
  [SameObject, PutForwards=value] readonly attribute DOMTokenList part;
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Transitions Level 2 (https://drafts.csswg.org/css-transitions-2/)
4
+ // Source: CSS Transitions Module Level 2 (https://drafts.csswg.org/css-transitions-2/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface CSSStartingStyleRule : CSSGroupingRule {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Transitions Level 1 (https://drafts.csswg.org/css-transitions-1/)
4
+ // Source: CSS Transitions Module Level 1 (https://drafts.csswg.org/css-transitions-1/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface TransitionEvent : Event {
@@ -23,6 +23,13 @@ dictionary StartViewTransitionOptions {
23
23
  sequence<DOMString>? types = null;
24
24
  };
25
25
 
26
+ partial interface Element {
27
+ ViewTransition startViewTransition(
28
+ optional (ViewTransitionUpdateCallback or StartViewTransitionOptions) callbackOptions = {}
29
+ );
30
+ readonly attribute ViewTransition? activeViewTransition;
31
+ };
32
+
26
33
  [Exposed=Window]
27
34
  interface ViewTransition {
28
35
  readonly attribute Promise<undefined> updateCallbackDone;
@@ -30,6 +37,7 @@ interface ViewTransition {
30
37
  readonly attribute Promise<undefined> finished;
31
38
  undefined skipTransition();
32
39
  attribute ViewTransitionTypeSet types;
40
+ readonly attribute Element transitionRoot;
33
41
  };
34
42
 
35
43
  [Exposed=Window]
package/cssom-view.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSSOM View Module (https://drafts.csswg.org/cssom-view-1/)
4
+ // Source: CSSOM View Module Level 1 (https://drafts.csswg.org/cssom-view-1/)
5
5
 
6
6
  enum ScrollBehavior { "auto", "instant", "smooth" };
7
7
 
@@ -33,12 +33,12 @@ partial interface Window {
33
33
  [Replaceable] readonly attribute double pageXOffset;
34
34
  [Replaceable] readonly attribute double scrollY;
35
35
  [Replaceable] readonly attribute double pageYOffset;
36
- undefined scroll(optional ScrollToOptions options = {});
37
- undefined scroll(unrestricted double x, unrestricted double y);
38
- undefined scrollTo(optional ScrollToOptions options = {});
39
- undefined scrollTo(unrestricted double x, unrestricted double y);
40
- undefined scrollBy(optional ScrollToOptions options = {});
41
- undefined scrollBy(unrestricted double x, unrestricted double y);
36
+ Promise<undefined> scroll(optional ScrollToOptions options = {});
37
+ Promise<undefined> scroll(unrestricted double x, unrestricted double y);
38
+ Promise<undefined> scrollTo(optional ScrollToOptions options = {});
39
+ Promise<undefined> scrollTo(unrestricted double x, unrestricted double y);
40
+ Promise<undefined> scrollBy(optional ScrollToOptions options = {});
41
+ Promise<undefined> scrollBy(unrestricted double x, unrestricted double y);
42
42
 
43
43
  // client
44
44
  [Replaceable] readonly attribute long screenX;
@@ -122,13 +122,13 @@ partial interface Element {
122
122
 
123
123
  boolean checkVisibility(optional CheckVisibilityOptions options = {});
124
124
 
125
- undefined scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
126
- undefined scroll(optional ScrollToOptions options = {});
127
- undefined scroll(unrestricted double x, unrestricted double y);
128
- undefined scrollTo(optional ScrollToOptions options = {});
129
- undefined scrollTo(unrestricted double x, unrestricted double y);
130
- undefined scrollBy(optional ScrollToOptions options = {});
131
- undefined scrollBy(unrestricted double x, unrestricted double y);
125
+ Promise<undefined> scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
126
+ Promise<undefined> scroll(optional ScrollToOptions options = {});
127
+ Promise<undefined> scroll(unrestricted double x, unrestricted double y);
128
+ Promise<undefined> scrollTo(optional ScrollToOptions options = {});
129
+ Promise<undefined> scrollTo(unrestricted double x, unrestricted double y);
130
+ Promise<undefined> scrollBy(optional ScrollToOptions options = {});
131
+ Promise<undefined> scrollBy(unrestricted double x, unrestricted double y);
132
132
  attribute unrestricted double scrollTop;
133
133
  attribute unrestricted double scrollLeft;
134
134
  readonly attribute long scrollWidth;
package/cssom.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: CSS Object Model (CSSOM) (https://drafts.csswg.org/cssom-1/)
4
+ // Source: CSS Object Model (CSSOM) Module Level 1 (https://drafts.csswg.org/cssom-1/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface MediaList {
package/fedcm.idl CHANGED
@@ -120,6 +120,7 @@ dictionary IdentityAssertionResponse {
120
120
  dictionary IdentityProviderClientMetadata {
121
121
  USVString privacy_policy_url;
122
122
  USVString terms_of_service_url;
123
+ boolean client_is_third_party_to_top_frame_origin = false;
123
124
  };
124
125
 
125
126
  dictionary IdentityUserInfo {
package/fetch.idl CHANGED
@@ -127,5 +127,5 @@ interface FetchLaterResult {
127
127
  };
128
128
 
129
129
  partial interface Window {
130
- [NewObject] FetchLaterResult fetchLater(RequestInfo input, optional DeferredRequestInit init = {});
130
+ [NewObject, SecureContext] FetchLaterResult fetchLater(RequestInfo input, optional DeferredRequestInit init = {});
131
131
  };
package/html.idl CHANGED
@@ -1709,6 +1709,7 @@ interface ToggleEvent : Event {
1709
1709
  dictionary ToggleEventInit : EventInit {
1710
1710
  DOMString oldState = "";
1711
1711
  DOMString newState = "";
1712
+ Element? source = null;
1712
1713
  };
1713
1714
 
1714
1715
  [Exposed=Window]
@@ -23,8 +23,7 @@ interface PerformanceNavigationTiming : PerformanceResourceTiming {
23
23
  enum NavigationTimingType {
24
24
  "navigate",
25
25
  "reload",
26
- "back_forward",
27
- "prerender"
26
+ "back_forward"
28
27
  };
29
28
 
30
29
  [Exposed=Window]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.68.0",
4
+ "version": "3.68.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: Resize Observer (https://drafts.csswg.org/resize-observer-1/)
4
+ // Source: Resize Observer Module Level 1 (https://drafts.csswg.org/resize-observer-1/)
5
5
 
6
6
  enum ResizeObserverBoxOptions {
7
7
  "border-box", "content-box", "device-pixel-content-box"
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: Scroll-driven Animations (https://drafts.csswg.org/scroll-animations-1/)
4
+ // Source: Scroll-driven Animations Module Level 1 (https://drafts.csswg.org/scroll-animations-1/)
5
5
 
6
6
  enum ScrollAxis {
7
7
  "block",
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: Web Animations Level 2 (https://drafts.csswg.org/web-animations-2/)
4
+ // Source: Web Animations Module Level 2 (https://drafts.csswg.org/web-animations-2/)
5
5
 
6
6
  [Exposed=Window]
7
7
  partial interface AnimationTimeline {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: Web Animations (https://drafts.csswg.org/web-animations-1/)
4
+ // Source: Web Animations Module Level 1 (https://drafts.csswg.org/web-animations-1/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface AnimationTimeline {
package/webgpu.idl CHANGED
@@ -130,6 +130,7 @@ enum GPUFeatureName {
130
130
  "texture-formats-tier1",
131
131
  "texture-formats-tier2",
132
132
  "primitive-index",
133
+ "texture-component-swizzle",
133
134
  };
134
135
 
135
136
  [Exposed=(Window, Worker), SecureContext]
@@ -273,6 +274,9 @@ dictionary GPUTextureViewDescriptor
273
274
  GPUIntegerCoordinate mipLevelCount;
274
275
  GPUIntegerCoordinate baseArrayLayer = 0;
275
276
  GPUIntegerCoordinate arrayLayerCount;
277
+
278
+ // Requires "texture-component-swizzle" feature.
279
+ DOMString swizzle = "rgba";
276
280
  };
277
281
 
278
282
  enum GPUTextureViewDimension {
package/webnn.idl CHANGED
@@ -54,15 +54,9 @@ interface MLContext {
54
54
  dictionary MLOpSupportLimits {
55
55
  MLInputOperandLayout preferredInputLayout;
56
56
  [EnforceRange] unsigned long long maxTensorByteLength;
57
- MLDataTypeLimits input;
58
- MLDataTypeLimits constant;
59
- MLDataTypeLimits output;
60
- };
61
-
62
- typedef sequence<MLOperandDataType> MLDataTypeList;
63
-
64
- dictionary MLDataTypeLimits {
65
- MLDataTypeList dataTypes;
57
+ MLTensorLimits input;
58
+ MLTensorLimits constant;
59
+ MLTensorLimits output;
66
60
  };
67
61
 
68
62
  dictionary MLRankRange {
@@ -70,6 +64,8 @@ dictionary MLRankRange {
70
64
  unsigned long max;
71
65
  };
72
66
 
67
+ typedef sequence<MLOperandDataType> MLDataTypeList;
68
+
73
69
  dictionary MLTensorLimits {
74
70
  MLDataTypeList dataTypes;
75
71
  MLRankRange rankRange;
@@ -78,12 +74,12 @@ dictionary MLTensorLimits {
78
74
  dictionary MLBinarySupportLimits {
79
75
  MLTensorLimits a;
80
76
  MLTensorLimits b;
81
- MLDataTypeLimits output;
77
+ MLTensorLimits output;
82
78
  };
83
79
 
84
80
  dictionary MLSingleInputSupportLimits {
85
81
  MLTensorLimits input;
86
- MLDataTypeLimits output;
82
+ MLTensorLimits output;
87
83
  };
88
84
 
89
85
  [SecureContext, Exposed=(Window, Worker)]
@@ -199,7 +195,7 @@ dictionary MLBatchNormalizationSupportLimits {
199
195
  MLTensorLimits variance;
200
196
  MLTensorLimits scale;
201
197
  MLTensorLimits bias;
202
- MLDataTypeLimits output;
198
+ MLTensorLimits output;
203
199
  };
204
200
 
205
201
  partial dictionary MLOpSupportLimits {
@@ -237,7 +233,7 @@ partial interface MLGraphBuilder {
237
233
 
238
234
  dictionary MLConcatSupportLimits {
239
235
  MLTensorLimits inputs;
240
- MLDataTypeLimits output;
236
+ MLTensorLimits output;
241
237
  };
242
238
 
243
239
  partial dictionary MLOpSupportLimits {
@@ -271,7 +267,7 @@ dictionary MLConv2dSupportLimits {
271
267
  MLTensorLimits input;
272
268
  MLTensorLimits filter;
273
269
  MLTensorLimits bias;
274
- MLDataTypeLimits output;
270
+ MLTensorLimits output;
275
271
  };
276
272
 
277
273
  partial dictionary MLOpSupportLimits {
@@ -375,7 +371,7 @@ partial interface MLGraphBuilder {
375
371
 
376
372
  dictionary MLLogicalNotSupportLimits {
377
373
  MLTensorLimits a;
378
- MLDataTypeLimits output;
374
+ MLTensorLimits output;
379
375
  };
380
376
 
381
377
  partial dictionary MLOpSupportLimits {
@@ -440,7 +436,7 @@ dictionary MLQuantizeDequantizeLinearSupportLimits {
440
436
  MLTensorLimits input;
441
437
  MLTensorLimits scale;
442
438
  MLTensorLimits zeroPoint;
443
- MLDataTypeLimits output;
439
+ MLTensorLimits output;
444
440
  };
445
441
 
446
442
  partial dictionary MLOpSupportLimits {
@@ -493,7 +489,7 @@ partial interface MLGraphBuilder {
493
489
  dictionary MLGatherSupportLimits {
494
490
  MLTensorLimits input;
495
491
  MLTensorLimits indices;
496
- MLDataTypeLimits output;
492
+ MLTensorLimits output;
497
493
  };
498
494
 
499
495
  partial dictionary MLOpSupportLimits {
@@ -544,7 +540,7 @@ dictionary MLGemmSupportLimits {
544
540
  MLTensorLimits a;
545
541
  MLTensorLimits b;
546
542
  MLTensorLimits c;
547
- MLDataTypeLimits output;
543
+ MLTensorLimits output;
548
544
  };
549
545
 
550
546
  partial dictionary MLOpSupportLimits {
@@ -595,7 +591,8 @@ dictionary MLGruSupportLimits {
595
591
  MLTensorLimits bias;
596
592
  MLTensorLimits recurrentBias;
597
593
  MLTensorLimits initialHiddenState;
598
- MLDataTypeLimits outputs;
594
+ MLTensorLimits output0;
595
+ MLTensorLimits output1;
599
596
  };
600
597
 
601
598
  partial dictionary MLOpSupportLimits {
@@ -626,7 +623,7 @@ dictionary MLGruCellSupportLimits {
626
623
  MLTensorLimits hiddenState;
627
624
  MLTensorLimits bias;
628
625
  MLTensorLimits recurrentBias;
629
- MLDataTypeLimits output;
626
+ MLTensorLimits output;
630
627
  };
631
628
 
632
629
  partial dictionary MLOpSupportLimits {
@@ -662,15 +659,16 @@ dictionary MLInstanceNormalizationOptions : MLOperatorOptions {
662
659
  };
663
660
 
664
661
  partial interface MLGraphBuilder {
665
- MLOperand instanceNormalization(MLOperand input,
666
- optional MLInstanceNormalizationOptions options = {});
662
+ MLOperand instanceNormalization(
663
+ MLOperand input,
664
+ optional MLInstanceNormalizationOptions options = {});
667
665
  };
668
666
 
669
667
  dictionary MLNormalizationSupportLimits {
670
668
  MLTensorLimits input;
671
669
  MLTensorLimits scale;
672
670
  MLTensorLimits bias;
673
- MLDataTypeLimits output;
671
+ MLTensorLimits output;
674
672
  };
675
673
 
676
674
  partial dictionary MLOpSupportLimits {
@@ -753,7 +751,9 @@ dictionary MLLstmSupportLimits {
753
751
  MLTensorLimits peepholeWeight;
754
752
  MLTensorLimits initialHiddenState;
755
753
  MLTensorLimits initialCellState;
756
- MLDataTypeLimits outputs;
754
+ MLTensorLimits output0;
755
+ MLTensorLimits output1;
756
+ MLTensorLimits output2;
757
757
  };
758
758
 
759
759
  partial dictionary MLOpSupportLimits {
@@ -787,7 +787,8 @@ dictionary MLLstmCellSupportLimits {
787
787
  MLTensorLimits bias;
788
788
  MLTensorLimits recurrentBias;
789
789
  MLTensorLimits peepholeWeight;
790
- MLDataTypeLimits outputs;
790
+ MLTensorLimits output0;
791
+ MLTensorLimits output1;
791
792
  };
792
793
 
793
794
  partial dictionary MLOpSupportLimits {
@@ -835,7 +836,7 @@ dictionary MLPool2dOptions : MLOperatorOptions {
835
836
  sequence<[EnforceRange] unsigned long> strides;
836
837
  sequence<[EnforceRange] unsigned long> dilations;
837
838
  MLInputOperandLayout layout = "nchw";
838
- MLRoundingType roundingType = "floor";
839
+ MLRoundingType outputShapeRounding = "floor";
839
840
  sequence<[EnforceRange] unsigned long> outputSizes;
840
841
  };
841
842
 
@@ -860,7 +861,7 @@ partial interface MLGraphBuilder {
860
861
  dictionary MLPreluSupportLimits {
861
862
  MLTensorLimits input;
862
863
  MLTensorLimits slope;
863
- MLDataTypeLimits output;
864
+ MLTensorLimits output;
864
865
  };
865
866
 
866
867
  partial dictionary MLOpSupportLimits {
@@ -963,7 +964,7 @@ dictionary MLScatterSupportLimits {
963
964
  MLTensorLimits input;
964
965
  MLTensorLimits indices;
965
966
  MLTensorLimits updates;
966
- MLDataTypeLimits output;
967
+ MLTensorLimits output;
967
968
  };
968
969
 
969
970
  partial dictionary MLOpSupportLimits {
@@ -1043,7 +1044,7 @@ partial interface MLGraphBuilder {
1043
1044
 
1044
1045
  dictionary MLSplitSupportLimits {
1045
1046
  MLTensorLimits input;
1046
- MLDataTypeLimits outputs;
1047
+ MLTensorLimits outputs;
1047
1048
  };
1048
1049
 
1049
1050
  partial dictionary MLOpSupportLimits {
@@ -1104,7 +1105,7 @@ dictionary MLWhereSupportLimits {
1104
1105
  MLTensorLimits condition;
1105
1106
  MLTensorLimits trueValue;
1106
1107
  MLTensorLimits falseValue;
1107
- MLDataTypeLimits output;
1108
+ MLTensorLimits output;
1108
1109
  };
1109
1110
 
1110
1111
  partial dictionary MLOpSupportLimits {
@@ -14,11 +14,6 @@ partial interface RTCRtpReceiver {
14
14
  attribute RTCRtpTransform? transform;
15
15
  };
16
16
 
17
- enum SFrameTransformRole {
18
- "encrypt",
19
- "decrypt"
20
- };
21
-
22
17
  // List of supported cipher suites, as defined in [[RFC9605]] section 4.5.
23
18
  enum SFrameCipherSuite {
24
19
  "AES_128_CTR_HMAC_SHA256_80",
@@ -29,20 +24,36 @@ enum SFrameCipherSuite {
29
24
  };
30
25
 
31
26
  dictionary SFrameTransformOptions {
32
- SFrameTransformRole role = "encrypt";
33
27
  required SFrameCipherSuite cipherSuite;
34
28
  };
35
29
 
36
30
  typedef [EnforceRange] unsigned long long SmallCryptoKeyID;
37
31
  typedef (SmallCryptoKeyID or bigint) CryptoKeyID;
38
32
 
39
- [Exposed=(Window,DedicatedWorker)]
40
- interface SFrameTransform : EventTarget {
41
- constructor(optional SFrameTransformOptions options = {});
33
+ interface mixin SFrameKeyManagement {
42
34
  Promise<undefined> setEncryptionKey(CryptoKey key, optional CryptoKeyID keyID);
43
35
  attribute EventHandler onerror;
44
36
  };
45
- SFrameTransform includes GenericTransformStream;
37
+
38
+ [Exposed=Window]
39
+ interface SFrameTransform : EventTarget {
40
+ constructor(optional SFrameTransformOptions options = {});
41
+ };
42
+ SFrameTransform includes SFrameKeyManagement;
43
+
44
+ [Exposed=(Window,DedicatedWorker)]
45
+ interface SFrameEncrypterStream : EventTarget {
46
+ constructor(optional SFrameTransformOptions options = {});
47
+ };
48
+ SFrameEncrypterStream includes GenericTransformStream;
49
+ SFrameEncrypterStream includes SFrameKeyManagement;
50
+
51
+ [Exposed=(Window,DedicatedWorker)]
52
+ interface SFrameDecrypterStream : EventTarget {
53
+ constructor(optional SFrameTransformOptions options = {});
54
+ };
55
+ SFrameDecrypterStream includes GenericTransformStream;
56
+ SFrameDecrypterStream includes SFrameKeyManagement;
46
57
 
47
58
  enum SFrameTransformErrorEventType {
48
59
  "authentication",
package/webxr.idl CHANGED
@@ -131,6 +131,7 @@ enum XREye {
131
131
 
132
132
  [SecureContext, Exposed=Window] interface XRView {
133
133
  readonly attribute XREye eye;
134
+ readonly attribute unsigned long index;
134
135
  readonly attribute double? recommendedViewportScale;
135
136
 
136
137
  undefined requestViewportScale(double? scale);
@@ -289,6 +290,24 @@ dictionary XRReferenceSpaceEventInit : EventInit {
289
290
  XRRigidTransform? transform = null;
290
291
  };
291
292
 
293
+ [SecureContext, Exposed=Window]
294
+ interface XRVisibilityMaskChangeEvent : Event {
295
+ constructor(DOMString type, XRVisibilityMaskChangeEventInit eventInitDict);
296
+ [SameObject] readonly attribute XRSession session;
297
+ readonly attribute XREye eye;
298
+ readonly attribute unsigned long index;
299
+ [SameObject] readonly attribute Float32Array vertices;
300
+ [SameObject] readonly attribute Uint32Array indices;
301
+ };
302
+
303
+ dictionary XRVisibilityMaskChangeEventInit : EventInit {
304
+ required XRSession session;
305
+ required XREye eye;
306
+ required unsigned long index;
307
+ required Float32Array vertices;
308
+ required Uint32Array indices;
309
+ };
310
+
292
311
  dictionary XRSessionSupportedPermissionDescriptor: PermissionDescriptor {
293
312
  XRSessionMode mode;
294
313
  };