@webref/idl 3.42.2 → 3.42.4

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/FedCM.idl CHANGED
@@ -56,6 +56,7 @@ dictionary IdentityProviderConfig {
56
56
  dictionary IdentityProviderRequestOptions : IdentityProviderConfig {
57
57
  USVString nonce;
58
58
  DOMString loginHint;
59
+ DOMString domainHint;
59
60
  };
60
61
 
61
62
  dictionary IdentityProviderWellKnown {
@@ -91,6 +92,7 @@ dictionary IdentityProviderAccount {
91
92
  USVString picture;
92
93
  sequence<USVString> approved_clients;
93
94
  sequence<DOMString> login_hints;
95
+ sequence<DOMString> domain_hints;
94
96
  };
95
97
  dictionary IdentityProviderAccountList {
96
98
  sequence<IdentityProviderAccount> accounts;
package/html.idl CHANGED
@@ -1633,6 +1633,9 @@ interface ElementInternals {
1633
1633
  boolean reportValidity();
1634
1634
 
1635
1635
  readonly attribute NodeList labels;
1636
+
1637
+ // Custom state pseudo-class
1638
+ [SameObject] readonly attribute CustomStateSet states;
1636
1639
  };
1637
1640
 
1638
1641
  // Accessibility semantics
@@ -1651,6 +1654,11 @@ dictionary ValidityStateFlags {
1651
1654
  boolean customError = false;
1652
1655
  };
1653
1656
 
1657
+ [Exposed=Window]
1658
+ interface CustomStateSet {
1659
+ setlike<DOMString>;
1660
+ };
1661
+
1654
1662
  [Exposed=(Window)]
1655
1663
  interface VisibilityStateEntry : PerformanceEntry {
1656
1664
  readonly attribute DOMString name; // shadows inherited name
package/longtasks.idl CHANGED
@@ -5,12 +5,24 @@
5
5
 
6
6
  [Exposed=Window]
7
7
  interface PerformanceLongTaskTiming : PerformanceEntry {
8
+ /* Overloading PerformanceEntry */
9
+ readonly attribute DOMHighResTimeStamp startTime;
10
+ readonly attribute DOMHighResTimeStamp duration;
11
+ readonly attribute DOMString name;
12
+ readonly attribute DOMString entryType;
13
+
8
14
  readonly attribute FrozenArray<TaskAttributionTiming> attribution;
9
15
  [Default] object toJSON();
10
16
  };
11
17
 
12
18
  [Exposed=Window]
13
19
  interface TaskAttributionTiming : PerformanceEntry {
20
+ /* Overloading PerformanceEntry */
21
+ readonly attribute DOMHighResTimeStamp startTime;
22
+ readonly attribute DOMHighResTimeStamp duration;
23
+ readonly attribute DOMString name;
24
+ readonly attribute DOMString entryType;
25
+
14
26
  readonly attribute DOMString containerType;
15
27
  readonly attribute DOMString containerSrc;
16
28
  readonly attribute DOMString containerId;
@@ -20,9 +32,39 @@ interface TaskAttributionTiming : PerformanceEntry {
20
32
 
21
33
  [Exposed=Window]
22
34
  interface PerformanceLongAnimationFrameTiming : PerformanceEntry {
35
+ /* Overloading PerformanceEntry */
36
+ readonly attribute DOMHighResTimeStamp startTime;
37
+ readonly attribute DOMHighResTimeStamp duration;
38
+ readonly attribute DOMString name;
39
+ readonly attribute DOMString entryType;
40
+
23
41
  readonly attribute DOMHighResTimeStamp renderStart;
24
42
  readonly attribute DOMHighResTimeStamp styleAndLayoutStart;
25
43
  readonly attribute DOMHighResTimeStamp blockingDuration;
44
+ readonly attribute DOMHighResTimeStamp firstUIEventTimestamp;
45
+ [SameObject] readonly attribute FrozenArray<PerformanceScriptTiming> scripts;
46
+ [Default] object toJSON();
47
+ };
48
+
49
+ enum ScriptTimingType {
50
+ "classic-script",
51
+ "module-script",
52
+ "event-listener",
53
+ "user-callback",
54
+ "resolve-promise",
55
+ "reject-promise"
56
+ };
57
+
58
+ [Exposed=Window]
59
+ interface PerformanceScriptTiming : PerformanceEntry {
60
+ /* Overloading PerformanceEntry */
61
+ readonly attribute DOMHighResTimeStamp startTime;
62
+ readonly attribute DOMHighResTimeStamp duration;
63
+ readonly attribute DOMString name;
64
+ readonly attribute DOMString entryType;
26
65
 
66
+ readonly attribute ScriptTimingType type;
67
+ readonly attribute DOMHighResTimeStamp executionStart;
68
+ readonly attribute DOMString sourceLocation;
27
69
  [Default] object toJSON();
28
70
  };
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.42.2",
4
+ "version": "3.42.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/serial.idl CHANGED
@@ -36,6 +36,7 @@ dictionary SerialPortFilter {
36
36
  interface SerialPort : EventTarget {
37
37
  attribute EventHandler onconnect;
38
38
  attribute EventHandler ondisconnect;
39
+ readonly attribute boolean connected;
39
40
  readonly attribute ReadableStream readable;
40
41
  readonly attribute WritableStream writable;
41
42
 
package/wai-aria.idl CHANGED
@@ -8,6 +8,8 @@ interface mixin ARIAMixin {
8
8
  [CEReactions] attribute Element? ariaActiveDescendantElement;
9
9
  [CEReactions] attribute DOMString? ariaAtomic;
10
10
  [CEReactions] attribute DOMString? ariaAutoComplete;
11
+ [CEReactions] attribute DOMString? ariaBrailleLabel;
12
+ [CEReactions] attribute DOMString? ariaBrailleRoleDescription;
11
13
  [CEReactions] attribute DOMString? ariaBusy;
12
14
  [CEReactions] attribute DOMString? ariaChecked;
13
15
  [CEReactions] attribute DOMString? ariaColCount;
package/webgpu.idl CHANGED
@@ -640,7 +640,7 @@ dictionary GPUProgrammableStage {
640
640
  record<USVString, GPUPipelineConstantValue> constants;
641
641
  };
642
642
 
643
- typedef double GPUPipelineConstantValue; // May represent WGSLs bool, f32, i32, u32, and f16 if enabled.
643
+ typedef double GPUPipelineConstantValue; // May represent WGSL's bool, f32, i32, u32, and f16 if enabled.
644
644
 
645
645
  [Exposed=(Window, DedicatedWorker), SecureContext]
646
646
  interface GPUComputePipeline {
package/webidl.idl CHANGED
@@ -12,7 +12,7 @@ typedef (ArrayBufferView or ArrayBuffer) BufferSource;
12
12
  typedef (ArrayBuffer or SharedArrayBuffer or [AllowShared] ArrayBufferView) AllowSharedBufferSource;
13
13
  [Exposed=*,
14
14
  Serializable]
15
- interface DOMException { // but see below note about ECMAScript binding
15
+ interface DOMException { // but see below note about JavaScript binding
16
16
  constructor(optional DOMString message = "", optional DOMString name = "Error");
17
17
  readonly attribute DOMString name;
18
18
  readonly attribute DOMString message;
@@ -1,14 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: Custom State Pseudo Class (https://wicg.github.io/custom-state-pseudo-class/)
5
-
6
- partial interface ElementInternals {
7
- readonly attribute CustomStateSet states;
8
- };
9
-
10
- [Exposed=Window]
11
- interface CustomStateSet {
12
- setlike<DOMString>;
13
- undefined add(DOMString value);
14
- };