@webref/idl 3.66.1 → 3.66.3

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/cookiestore.idl CHANGED
@@ -53,12 +53,6 @@ dictionary CookieStoreDeleteOptions {
53
53
  dictionary CookieListItem {
54
54
  USVString name;
55
55
  USVString value;
56
- USVString? domain;
57
- USVString path;
58
- DOMHighResTimeStamp? expires;
59
- boolean secure;
60
- CookieSameSite sameSite;
61
- boolean partitioned;
62
56
  };
63
57
 
64
58
  typedef sequence<CookieListItem> CookieList;
@@ -4,8 +4,8 @@
4
4
  // Source: Crash Reporting (https://wicg.github.io/crash-reporting/)
5
5
 
6
6
  dictionary CrashReportBody : ReportBody {
7
- DOMString? reason;
8
- DOMString? stack;
9
- boolean? is_top_level;
10
- DocumentVisibilityState? page_visibility;
7
+ DOMString reason;
8
+ DOMString stack;
9
+ boolean is_top_level;
10
+ DocumentVisibilityState page_visibility;
11
11
  };
package/css-typed-om.idl CHANGED
@@ -45,7 +45,7 @@ interface CSSUnparsedValue : CSSStyleValue {
45
45
  iterable<CSSUnparsedSegment>;
46
46
  readonly attribute unsigned long length;
47
47
  getter CSSUnparsedSegment (unsigned long index);
48
- setter CSSUnparsedSegment (unsigned long index, CSSUnparsedSegment val);
48
+ setter undefined (unsigned long index, CSSUnparsedSegment val);
49
49
  };
50
50
 
51
51
  typedef (USVString or CSSVariableReferenceValue) CSSUnparsedSegment;
@@ -263,7 +263,7 @@ interface CSSTransformValue : CSSStyleValue {
263
263
  iterable<CSSTransformComponent>;
264
264
  readonly attribute unsigned long length;
265
265
  getter CSSTransformComponent (unsigned long index);
266
- setter CSSTransformComponent (unsigned long index, CSSTransformComponent val);
266
+ setter undefined (unsigned long index, CSSTransformComponent val);
267
267
 
268
268
  readonly attribute boolean is2D;
269
269
  DOMMatrix toMatrix();
@@ -20,5 +20,5 @@ interface PerformanceElementTiming : PerformanceEntry {
20
20
  PerformanceElementTiming includes PaintTimingMixin;
21
21
 
22
22
  partial interface Element {
23
- [CEReactions] attribute DOMString elementTiming;
23
+ [CEReactions, Reflect] attribute DOMString elementTiming;
24
24
  };
package/fedcm.idl CHANGED
@@ -10,7 +10,7 @@ dictionary IdentityCredentialDisconnectOptions : IdentityProviderConfig {
10
10
  [Exposed=Window, SecureContext]
11
11
  interface IdentityCredential : Credential {
12
12
  static Promise<undefined> disconnect(IdentityCredentialDisconnectOptions options);
13
- readonly attribute USVString? token;
13
+ readonly attribute any token;
14
14
  readonly attribute boolean isAutoSelected;
15
15
  readonly attribute USVString configURL;
16
16
  };
@@ -59,7 +59,6 @@ dictionary IdentityProviderConfig {
59
59
  };
60
60
 
61
61
  dictionary IdentityProviderRequestOptions : IdentityProviderConfig {
62
- USVString nonce;
63
62
  DOMString loginHint;
64
63
  DOMString domainHint;
65
64
  sequence<USVString> fields;
@@ -113,7 +112,7 @@ dictionary IdentityProviderAccountList {
113
112
  };
114
113
 
115
114
  dictionary IdentityAssertionResponse {
116
- USVString token;
115
+ any token;
117
116
  USVString continue_on;
118
117
  IdentityCredentialErrorInit error;
119
118
  };
@@ -136,6 +135,6 @@ dictionary IdentityResolveOptions {
136
135
 
137
136
  [Exposed=Window, SecureContext] interface IdentityProvider {
138
137
  static undefined close();
139
- static Promise<undefined> resolve(DOMString token, optional IdentityResolveOptions options = {});
138
+ static Promise<undefined> resolve(any token, optional IdentityResolveOptions options = {});
140
139
  static Promise<sequence<IdentityUserInfo>> getUserInfo(IdentityProviderConfig config);
141
140
  };
package/html.idl CHANGED
@@ -951,7 +951,7 @@ interface HTMLInputElement : HTMLElement {
951
951
 
952
952
  // also has obsolete members
953
953
  };
954
- HTMLInputElement includes PopoverInvokerElement;
954
+ HTMLInputElement includes PopoverTargetAttributes;
955
955
 
956
956
  [Exposed=Window]
957
957
  interface HTMLButtonElement : HTMLElement {
@@ -979,7 +979,7 @@ interface HTMLButtonElement : HTMLElement {
979
979
 
980
980
  readonly attribute NodeList labels;
981
981
  };
982
- HTMLButtonElement includes PopoverInvokerElement;
982
+ HTMLButtonElement includes PopoverTargetAttributes;
983
983
 
984
984
  [Exposed=Window]
985
985
  interface HTMLSelectElement : HTMLElement {
@@ -1798,7 +1798,7 @@ dictionary DragEventInit : MouseEventInit {
1798
1798
  DataTransfer? dataTransfer = null;
1799
1799
  };
1800
1800
 
1801
- interface mixin PopoverInvokerElement {
1801
+ interface mixin PopoverTargetAttributes {
1802
1802
  [CEReactions, Reflect] attribute Element? popoverTargetElement;
1803
1803
  [CEReactions] attribute DOMString popoverTargetAction;
1804
1804
  };
@@ -1981,6 +1981,7 @@ interface NavigationHistoryEntry : EventTarget {
1981
1981
  interface NavigationTransition {
1982
1982
  readonly attribute NavigationType navigationType;
1983
1983
  readonly attribute NavigationHistoryEntry from;
1984
+ readonly attribute Promise<undefined> committed;
1984
1985
  readonly attribute Promise<undefined> finished;
1985
1986
  };
1986
1987
 
@@ -2026,6 +2027,7 @@ dictionary NavigateEventInit : EventInit {
2026
2027
  };
2027
2028
 
2028
2029
  dictionary NavigationInterceptOptions {
2030
+ NavigationPrecommitHandler precommitHandler;
2029
2031
  NavigationInterceptHandler handler;
2030
2032
  NavigationFocusReset focusReset;
2031
2033
  NavigationScrollBehavior scroll;
@@ -2043,6 +2045,13 @@ enum NavigationScrollBehavior {
2043
2045
 
2044
2046
  callback NavigationInterceptHandler = Promise<undefined> ();
2045
2047
 
2048
+ [Exposed=Window]
2049
+ interface NavigationPrecommitController {
2050
+ undefined redirect(USVString url, optional NavigationNavigateOptions options = {});
2051
+ };
2052
+
2053
+ callback NavigationPrecommitHandler = Promise<undefined> (NavigationPrecommitController controller);
2054
+
2046
2055
  [Exposed=Window]
2047
2056
  interface NavigationDestination {
2048
2057
  readonly attribute USVString url;
@@ -6,6 +6,7 @@
6
6
  [Exposed=Window]
7
7
  interface LargestContentfulPaint : PerformanceEntry {
8
8
  readonly attribute DOMHighResTimeStamp loadTime;
9
+ readonly attribute DOMHighResTimeStamp renderTime;
9
10
  readonly attribute unsigned long size;
10
11
  readonly attribute DOMString id;
11
12
  readonly attribute DOMString url;
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.66.1",
4
+ "version": "3.66.3",
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: Attribution Level 1 (https://w3c.github.io/ppa/)
4
+ // Source: Attribution Level 1 (https://w3c.github.io/attribution/)
5
5
 
6
6
  partial interface Navigator {
7
7
  [SecureContext, SameObject] readonly attribute Attribution attribution;
package/push-api.idl CHANGED
@@ -73,14 +73,16 @@ partial interface ServiceWorkerGlobalScope {
73
73
  interface PushEvent : ExtendableEvent {
74
74
  constructor(DOMString type, optional PushEventInit eventInitDict = {});
75
75
  readonly attribute PushMessageData? data;
76
+ readonly attribute Notification? notification;
76
77
  };
77
78
 
78
- typedef (BufferSource or USVString) PushMessageDataInit;
79
-
80
79
  dictionary PushEventInit : ExtendableEventInit {
81
- PushMessageDataInit data;
80
+ PushMessageDataInit? data = null;
81
+ Notification? notification = null;
82
82
  };
83
83
 
84
+ typedef (BufferSource or USVString) PushMessageDataInit;
85
+
84
86
  [Exposed=ServiceWorker, SecureContext]
85
87
  interface PushSubscriptionChangeEvent : ExtendableEvent {
86
88
  constructor(DOMString type, optional PushSubscriptionChangeEventInit eventInitDict = {});
package/wai-aria.idl CHANGED
@@ -4,57 +4,57 @@
4
4
  // Source: Accessible Rich Internet Applications (WAI-ARIA) 1.3 (https://w3c.github.io/aria/)
5
5
 
6
6
  interface mixin ARIAMixin {
7
- [CEReactions] attribute DOMString? role;
8
- [CEReactions] attribute Element? ariaActiveDescendantElement;
9
- [CEReactions] attribute DOMString? ariaAtomic;
10
- [CEReactions] attribute DOMString? ariaAutoComplete;
11
- [CEReactions] attribute DOMString? ariaBrailleLabel;
12
- [CEReactions] attribute DOMString? ariaBrailleRoleDescription;
13
- [CEReactions] attribute DOMString? ariaBusy;
14
- [CEReactions] attribute DOMString? ariaChecked;
15
- [CEReactions] attribute DOMString? ariaColCount;
16
- [CEReactions] attribute DOMString? ariaColIndex;
17
- [CEReactions] attribute DOMString? ariaColIndexText;
18
- [CEReactions] attribute DOMString? ariaColSpan;
19
- [CEReactions] attribute FrozenArray<Element>? ariaControlsElements;
20
- [CEReactions] attribute DOMString? ariaCurrent;
21
- [CEReactions] attribute FrozenArray<Element>? ariaDescribedByElements;
22
- [CEReactions] attribute DOMString? ariaDescription;
23
- [CEReactions] attribute FrozenArray<Element>? ariaDetailsElements;
24
- [CEReactions] attribute DOMString? ariaDisabled;
25
- [CEReactions] attribute FrozenArray<Element>? ariaErrorMessageElements;
26
- [CEReactions] attribute DOMString? ariaExpanded;
27
- [CEReactions] attribute FrozenArray<Element>? ariaFlowToElements;
28
- [CEReactions] attribute DOMString? ariaHasPopup;
29
- [CEReactions] attribute DOMString? ariaHidden;
30
- [CEReactions] attribute DOMString? ariaInvalid;
31
- [CEReactions] attribute DOMString? ariaKeyShortcuts;
32
- [CEReactions] attribute DOMString? ariaLabel;
33
- [CEReactions] attribute FrozenArray<Element>? ariaLabelledByElements;
34
- [CEReactions] attribute DOMString? ariaLevel;
35
- [CEReactions] attribute DOMString? ariaLive;
36
- [CEReactions] attribute DOMString? ariaModal;
37
- [CEReactions] attribute DOMString? ariaMultiLine;
38
- [CEReactions] attribute DOMString? ariaMultiSelectable;
39
- [CEReactions] attribute DOMString? ariaOrientation;
40
- [CEReactions] attribute FrozenArray<Element>? ariaOwnsElements;
41
- [CEReactions] attribute DOMString? ariaPlaceholder;
42
- [CEReactions] attribute DOMString? ariaPosInSet;
43
- [CEReactions] attribute DOMString? ariaPressed;
44
- [CEReactions] attribute DOMString? ariaReadOnly;
45
- [CEReactions] attribute DOMString? ariaRelevant;
46
- [CEReactions] attribute DOMString? ariaRequired;
47
- [CEReactions] attribute DOMString? ariaRoleDescription;
48
- [CEReactions] attribute DOMString? ariaRowCount;
49
- [CEReactions] attribute DOMString? ariaRowIndex;
50
- [CEReactions] attribute DOMString? ariaRowIndexText;
51
- [CEReactions] attribute DOMString? ariaRowSpan;
52
- [CEReactions] attribute DOMString? ariaSelected;
53
- [CEReactions] attribute DOMString? ariaSetSize;
54
- [CEReactions] attribute DOMString? ariaSort;
55
- [CEReactions] attribute DOMString? ariaValueMax;
56
- [CEReactions] attribute DOMString? ariaValueMin;
57
- [CEReactions] attribute DOMString? ariaValueNow;
58
- [CEReactions] attribute DOMString? ariaValueText;
59
- };
60
- Element includes ARIAMixin;
7
+ [CEReactions, Reflect] attribute DOMString? role;
8
+ [CEReactions, Reflect="aria-activedescendant"] attribute Element? ariaActiveDescendantElement;
9
+ [CEReactions, Reflect="aria-atomic"] attribute DOMString? ariaAtomic;
10
+ [CEReactions, Reflect="aria-autocomplete"] attribute DOMString? ariaAutoComplete;
11
+ [CEReactions, Reflect="aria-braillelabel"] attribute DOMString? ariaBrailleLabel;
12
+ [CEReactions, Reflect="aria-brailleroledescription"] attribute DOMString? ariaBrailleRoleDescription;
13
+ [CEReactions, Reflect="aria-busy"] attribute DOMString? ariaBusy;
14
+ [CEReactions, Reflect="aria-checked"] attribute DOMString? ariaChecked;
15
+ [CEReactions, Reflect="aria-colcount"] attribute DOMString? ariaColCount;
16
+ [CEReactions, Reflect="aria-colindex"] attribute DOMString? ariaColIndex;
17
+ [CEReactions, Reflect="aria-colindextext"] attribute DOMString? ariaColIndexText;
18
+ [CEReactions, Reflect="aria-colspan"] attribute DOMString? ariaColSpan;
19
+ [CEReactions, Reflect="aria-controls"] attribute FrozenArray<Element>? ariaControlsElements;
20
+ [CEReactions, Reflect="aria-current"] attribute DOMString? ariaCurrent;
21
+ [CEReactions, Reflect="aria-describedby"] attribute FrozenArray<Element>? ariaDescribedByElements;
22
+ [CEReactions, Reflect="aria-description"] attribute DOMString? ariaDescription;
23
+ [CEReactions, Reflect="aria-details"] attribute FrozenArray<Element>? ariaDetailsElements;
24
+ [CEReactions, Reflect="aria-disabled"] attribute DOMString? ariaDisabled;
25
+ [CEReactions, Reflect="aria-errormessage"] attribute FrozenArray<Element>? ariaErrorMessageElements;
26
+ [CEReactions, Reflect="aria-expanded"] attribute DOMString? ariaExpanded;
27
+ [CEReactions, Reflect="aria-flowto"] attribute FrozenArray<Element>? ariaFlowToElements;
28
+ [CEReactions, Reflect="aria-haspopup"] attribute DOMString? ariaHasPopup;
29
+ [CEReactions, Reflect="aria-hidden"] attribute DOMString? ariaHidden;
30
+ [CEReactions, Reflect="aria-invalid"] attribute DOMString? ariaInvalid;
31
+ [CEReactions, Reflect="aria-keyshortcuts"] attribute DOMString? ariaKeyShortcuts;
32
+ [CEReactions, Reflect="aria-label"] attribute DOMString? ariaLabel;
33
+ [CEReactions, Reflect="aria-labelledby"] attribute FrozenArray<Element>? ariaLabelledByElements;
34
+ [CEReactions, Reflect="aria-level"] attribute DOMString? ariaLevel;
35
+ [CEReactions, Reflect="aria-live"] attribute DOMString? ariaLive;
36
+ [CEReactions, Reflect="aria-modal"] attribute DOMString? ariaModal;
37
+ [CEReactions, Reflect="aria-multiline"] attribute DOMString? ariaMultiLine;
38
+ [CEReactions, Reflect="aria-multiselectable"] attribute DOMString? ariaMultiSelectable;
39
+ [CEReactions, Reflect="aria-orientation"] attribute DOMString? ariaOrientation;
40
+ [CEReactions, Reflect="aria-owns"] attribute FrozenArray<Element>? ariaOwnsElements;
41
+ [CEReactions, Reflect="aria-placeholder"] attribute DOMString? ariaPlaceholder;
42
+ [CEReactions, Reflect="aria-posinset"] attribute DOMString? ariaPosInSet;
43
+ [CEReactions, Reflect="aria-pressed"] attribute DOMString? ariaPressed;
44
+ [CEReactions, Reflect="aria-readonly"] attribute DOMString? ariaReadOnly;
45
+ [CEReactions, Reflect="aria-relevant"] attribute DOMString? ariaRelevant;
46
+ [CEReactions, Reflect="aria-required"] attribute DOMString? ariaRequired;
47
+ [CEReactions, Reflect="aria-roledescription"] attribute DOMString? ariaRoleDescription;
48
+ [CEReactions, Reflect="aria-rowcount"] attribute DOMString? ariaRowCount;
49
+ [CEReactions, Reflect="aria-rowindex"] attribute DOMString? ariaRowIndex;
50
+ [CEReactions, Reflect="aria-rowindextext"] attribute DOMString? ariaRowIndexText;
51
+ [CEReactions, Reflect="aria-rowspan"] attribute DOMString? ariaRowSpan;
52
+ [CEReactions, Reflect="aria-selected"] attribute DOMString? ariaSelected;
53
+ [CEReactions, Reflect="aria-setsize"] attribute DOMString? ariaSetSize;
54
+ [CEReactions, Reflect="aria-sort"] attribute DOMString? ariaSort;
55
+ [CEReactions, Reflect="aria-valuemax"] attribute DOMString? ariaValueMax;
56
+ [CEReactions, Reflect="aria-valuemin"] attribute DOMString? ariaValueMin;
57
+ [CEReactions, Reflect="aria-valuenow"] attribute DOMString? ariaValueNow;
58
+ [CEReactions, Reflect="aria-valuetext"] attribute DOMString? ariaValueText;
59
+ };
60
+ Element includes ARIAMixin;
package/webgpu.idl CHANGED
@@ -129,6 +129,7 @@ enum GPUFeatureName {
129
129
  "subgroups",
130
130
  "texture-formats-tier1",
131
131
  "texture-formats-tier2",
132
+ "primitive-index",
132
133
  };
133
134
 
134
135
  [Exposed=(Window, Worker), SecureContext]
package/webnn.idl CHANGED
@@ -369,6 +369,8 @@ partial interface MLGraphBuilder {
369
369
  MLOperand logicalXor(MLOperand a,
370
370
  MLOperand b,
371
371
  optional MLOperatorOptions options = {});
372
+ MLOperand isNaN(MLOperand a, optional MLOperatorOptions options = {});
373
+ MLOperand isInfinite(MLOperand a, optional MLOperatorOptions options = {});
372
374
  };
373
375
 
374
376
  dictionary MLLogicalNotSupportLimits {
@@ -387,6 +389,8 @@ partial dictionary MLOpSupportLimits {
387
389
  MLBinarySupportLimits logicalAnd;
388
390
  MLBinarySupportLimits logicalOr;
389
391
  MLBinarySupportLimits logicalXor;
392
+ MLLogicalNotSupportLimits isNaN;
393
+ MLLogicalNotSupportLimits isInfinite;
390
394
  };
391
395
 
392
396
  partial interface MLGraphBuilder {