@webref/idl 3.73.2 → 3.74.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.
@@ -1,40 +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: The HTML Permission Elements (https://wicg.github.io/PEPC/permission-elements.html)
5
-
6
- interface mixin InPagePermissionMixin {
7
- readonly attribute boolean isValid;
8
- readonly attribute InPagePermissionMixinBlockerReason invalidReason;
9
- readonly attribute PermissionState initialPermissionStatus;
10
- readonly attribute PermissionState permissionStatus;
11
-
12
- attribute EventHandler onpromptaction;
13
- attribute EventHandler onpromptdismiss;
14
- attribute EventHandler onvalidationstatuschange;
15
- };
16
-
17
- enum InPagePermissionMixinBlockerReason {
18
- // No blocker reason.
19
- "",
20
-
21
- // Blocker reasons supported by all InPagePermissionMixin users.
22
- "illegal_subframe", "unsuccesful_registration",
23
- "recently_attached", "intersection_changed",
24
- "intersection_out_of_viewport_or_clipped",
25
- "intersection_occluded_or_distorted", "style_invalid",
26
-
27
- // Blocker reason specific to HTMLPermissionElement.
28
- "type_invalid",
29
- };
30
-
31
- [Exposed=Window]
32
- interface HTMLPermissionElement : HTMLElement {
33
- [HTMLConstructor] constructor();
34
- [CEReactions, Reflect] attribute DOMString type;
35
- static boolean isTypeSupported(DOMString type);
36
- };
37
- HTMLPermissionElement includes InPagePermissionMixin;
4
+ // Source: The HTML Geolocation Element (https://wicg.github.io/PEPC/geolocation-element.html)
38
5
 
39
6
  [Exposed=Window]
40
7
  interface HTMLGeolocationElement : HTMLElement {
@@ -47,4 +14,27 @@ interface HTMLGeolocationElement : HTMLElement {
47
14
 
48
15
  attribute EventHandler onlocation;
49
16
  };
50
- HTMLGeolocationElement includes InPagePermissionMixin;
17
+ HTMLGeolocationElement includes ActivationBlockersMixin;
18
+ HTMLGeolocationElement includes PowerfulFeatureObserver;
19
+
20
+ interface mixin ActivationBlockersMixin {
21
+ readonly attribute boolean isValid;
22
+ readonly attribute ActivationBlockersMixinBlockerReason invalidReason;
23
+ attribute EventHandler onvalidationstatuschange;
24
+ };
25
+
26
+ enum ActivationBlockersMixinBlockerReason {
27
+ "", // No blocker reason.
28
+ "illegal_subframe", "unsuccessful_registration",
29
+ "recently_attached", "intersection_changed",
30
+ "intersection_out_of_viewport_or_clipped",
31
+ "intersection_occluded_or_distorted", "style_invalid",
32
+ "type_invalid",
33
+ };
34
+
35
+ interface mixin PowerfulFeatureObserver {
36
+ readonly attribute PermissionState initialPermissionStatus;
37
+ readonly attribute PermissionState permissionStatus;
38
+ attribute EventHandler onpromptaction;
39
+ attribute EventHandler onpromptdismiss;
40
+ };
package/html.idl CHANGED
@@ -2700,12 +2700,16 @@ Worker includes MessageEventTarget;
2700
2700
 
2701
2701
  [Exposed=Window]
2702
2702
  interface SharedWorker : EventTarget {
2703
- constructor((TrustedScriptURL or USVString) scriptURL, optional (DOMString or WorkerOptions) options = {});
2703
+ constructor((TrustedScriptURL or USVString) scriptURL, optional (DOMString or SharedWorkerOptions) options = {});
2704
2704
 
2705
2705
  readonly attribute MessagePort port;
2706
2706
  };
2707
2707
  SharedWorker includes AbstractWorker;
2708
2708
 
2709
+ dictionary SharedWorkerOptions : WorkerOptions {
2710
+ boolean extendedLifetime = false;
2711
+ };
2712
+
2709
2713
  interface mixin NavigatorConcurrentHardware {
2710
2714
  readonly attribute unsigned long long hardwareConcurrency;
2711
2715
  };
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.73.2",
4
+ "version": "3.74.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -40,6 +40,6 @@ partial interface Document {
40
40
 
41
41
  enum SameSiteCookiesType { "all", "none" };
42
42
 
43
- dictionary SharedWorkerOptions : WorkerOptions {
43
+ partial dictionary SharedWorkerOptions {
44
44
  SameSiteCookiesType sameSiteCookies;
45
45
  };
package/sanitizer-api.idl CHANGED
@@ -18,7 +18,7 @@ interface Sanitizer {
18
18
  // Query configuration:
19
19
  SanitizerConfig get();
20
20
 
21
- // Modify a Sanitizers lists and fields:
21
+ // Modify a Sanitizer's lists and fields:
22
22
  boolean allowElement(SanitizerElementWithAttributes element);
23
23
  boolean removeElement(SanitizerElement element);
24
24
  boolean replaceElementWithChildren(SanitizerElement element);
@@ -80,6 +80,16 @@ dictionary CShakeParams : Algorithm {
80
80
  BufferSource customization;
81
81
  };
82
82
 
83
+ dictionary TurboShakeParams : Algorithm {
84
+ required [EnforceRange] unsigned long outputLength;
85
+ [EnforceRange] octet domainSeparation;
86
+ };
87
+
88
+ dictionary KangarooTwelveParams : Algorithm {
89
+ required [EnforceRange] unsigned long outputLength;
90
+ BufferSource customization;
91
+ };
92
+
83
93
  dictionary KmacKeyGenParams : Algorithm {
84
94
  [EnforceRange] unsigned long length;
85
95
  };
package/webmcp.idl CHANGED
@@ -9,16 +9,10 @@ partial interface Navigator {
9
9
 
10
10
  [Exposed=Window, SecureContext]
11
11
  interface ModelContext {
12
- undefined provideContext(optional ModelContextOptions options = {});
13
- undefined clearContext();
14
12
  undefined registerTool(ModelContextTool tool);
15
13
  undefined unregisterTool(DOMString name);
16
14
  };
17
15
 
18
- dictionary ModelContextOptions {
19
- sequence<ModelContextTool> tools = [];
20
- };
21
-
22
16
  dictionary ModelContextTool {
23
17
  required DOMString name;
24
18
  required DOMString description;
@@ -28,7 +22,7 @@ dictionary ModelContextTool {
28
22
  };
29
23
 
30
24
  dictionary ToolAnnotations {
31
- boolean readOnlyHint;
25
+ boolean readOnlyHint = false;
32
26
  };
33
27
 
34
28
  callback ToolExecuteCallback = Promise<any> (object input, ModelContextClient client);