@webref/idl 2.9.0 → 2.10.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.
@@ -4,7 +4,7 @@
4
4
  // Source: Compute Pressure API (https://wicg.github.io/compute-pressure/)
5
5
 
6
6
  callback ComputePressureUpdateCallback = undefined (
7
- ComputePressureObserverUpdate update,
7
+ ComputePressureEntry update,
8
8
  ComputePressureObserver observer
9
9
  );
10
10
 
@@ -18,7 +18,7 @@ interface ComputePressureObserver {
18
18
  undefined unobserve();
19
19
  };
20
20
 
21
- dictionary ComputePressureObserverUpdate {
21
+ dictionary ComputePressureEntry {
22
22
  double cpuSpeed;
23
23
  double cpuUtilization;
24
24
  ComputePressureObserverOptions options;
package/dom.idl CHANGED
@@ -97,6 +97,7 @@ interface AbortSignal : EventTarget {
97
97
 
98
98
  readonly attribute boolean aborted;
99
99
  readonly attribute any reason;
100
+ undefined throwIfAborted();
100
101
 
101
102
  attribute EventHandler onabort;
102
103
  };
package/event-timing.idl CHANGED
@@ -18,9 +18,15 @@ interface EventCounts {
18
18
  readonly maplike<DOMString, unsigned long long>;
19
19
  };
20
20
 
21
+ [Exposed=Window]
22
+ interface InteractionCounts {
23
+ readonly maplike<DOMString, unsigned long long>;
24
+ };
25
+
21
26
  [Exposed=Window]
22
27
  partial interface Performance {
23
28
  [SameObject] readonly attribute EventCounts eventCounts;
29
+ [SameObject] readonly attribute InteractionCounts interactionCounts;
24
30
  };
25
31
 
26
32
  partial dictionary PerformanceObserverInit {
package/html.idl CHANGED
@@ -1369,7 +1369,14 @@ interface mixin CanvasShadowStyles {
1369
1369
 
1370
1370
  interface mixin CanvasFilters {
1371
1371
  // filters
1372
- attribute DOMString filter; // (default "none")
1372
+ attribute (DOMString or CanvasFilter) filter; // (default "none")
1373
+ };
1374
+
1375
+ typedef record<DOMString, any> CanvasFilterInput;
1376
+
1377
+ [Exposed=(Window,Worker,PaintWorklet)]
1378
+ interface CanvasFilter {
1379
+ constructor(optional (CanvasFilterInput or sequence<CanvasFilterInput>) filters);
1373
1380
  };
1374
1381
 
1375
1382
  interface mixin CanvasRect {
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": "2.9.0",
4
+ "version": "2.10.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -14,4 +14,4 @@
14
14
  "peerDependencies": {
15
15
  "webidl2": "^24.2.0"
16
16
  }
17
- }
17
+ }
@@ -0,0 +1,30 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Priority Hints (https://wicg.github.io/priority-hints/)
5
+
6
+ enum Importance { "high", "low", "auto" };
7
+
8
+ partial interface Request {
9
+ readonly attribute Importance importance;
10
+ };
11
+
12
+ partial dictionary RequestInit {
13
+ Importance importance;
14
+ };
15
+
16
+ partial interface HTMLImageElement {
17
+ [CEReactions] attribute DOMString importance;
18
+ };
19
+
20
+ partial interface HTMLLinkElement {
21
+ [CEReactions] attribute DOMString importance;
22
+ };
23
+
24
+ partial interface HTMLScriptElement {
25
+ [CEReactions] attribute DOMString importance;
26
+ };
27
+
28
+ partial interface HTMLIFrameElement {
29
+ [CEReactions] attribute DOMString importance;
30
+ };
package/webauthn.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: Web Authentication: An API for accessing Public Key Credentials - Level 3 (https://w3c.github.io/webauthn/)
4
+ // Source: Web Authentication: An API for accessing Public Key Credentials - Level (https://w3c.github.io/webauthn/)
5
5
 
6
6
  [SecureContext, Exposed=Window]
7
7
  interface PublicKeyCredential : Credential {
@@ -18,11 +18,11 @@ interface WindowControlsOverlay : EventTarget {
18
18
  [Exposed=Window]
19
19
  interface WindowControlsOverlayGeometryChangeEvent : Event {
20
20
  constructor(DOMString type, WindowControlsOverlayGeometryChangeEventInit eventInitDict);
21
- [SameObject] readonly attribute DOMRect boundingRect;
21
+ [SameObject] readonly attribute DOMRect titlebarAreaRect;
22
22
  readonly attribute boolean visible;
23
23
  };
24
24
 
25
25
  dictionary WindowControlsOverlayGeometryChangeEventInit : EventInit {
26
- required DOMRect boundingRect;
26
+ required DOMRect titlebarAreaRect;
27
27
  boolean visible = false;
28
28
  };