@webref/idl 3.56.2 → 3.57.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.
package/gpc.idl ADDED
@@ -0,0 +1,10 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Global Privacy Control (GPC) (https://w3c.github.io/gpc/)
5
+
6
+ interface mixin GlobalPrivacyControl {
7
+ readonly attribute boolean globalPrivacyControl;
8
+ };
9
+ Navigator includes GlobalPrivacyControl;
10
+ WorkerNavigator includes GlobalPrivacyControl;
@@ -0,0 +1,16 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Captured Surface Control (https://w3c.github.io/mediacapture-surface-control/)
5
+
6
+ partial interface CaptureController {
7
+ sequence<long> getSupportedZoomLevels();
8
+ long getZoomLevel();
9
+ Promise<undefined> setZoomLevel(long zoomLevel);
10
+ attribute EventHandler oncapturedzoomlevelchange;
11
+ };
12
+
13
+ partial interface CaptureController {
14
+ constructor();
15
+ Promise<undefined> forwardWheel(HTMLElement element);
16
+ };
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.56.2",
4
+ "version": "3.57.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/sanitizer-api.idl CHANGED
@@ -9,9 +9,22 @@ dictionary SetHTMLOptions {
9
9
 
10
10
  [Exposed=(Window,Worker)]
11
11
  interface Sanitizer {
12
- constructor(optional SanitizerConfig config = {});
12
+ constructor(optional SanitizerConfig configuration = {});
13
+
14
+ // Query configuration:
13
15
  SanitizerConfig get();
14
- SanitizerConfig getUnsafe();
16
+
17
+ // Modify a Sanitizer’s lists and fields:
18
+ undefined allowElement(SanitizerElementWithAttributes element);
19
+ undefined removeElement(SanitizerElement element);
20
+ undefined replaceElementWithChildren(SanitizerElement element);
21
+ undefined allowAttribute(SanitizerAttribute attribute);
22
+ undefined removeAttribute(SanitizerAttribute attribute);
23
+ undefined setComments(boolean allow);
24
+ undefined setDataAttributes(boolean allow);
25
+
26
+ // Remove markup that executes script. May modify multiple lists:
27
+ undefined removeUnsafe();
15
28
  };
16
29
 
17
30
  dictionary SanitizerElementNamespace {
package/vibration.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: Vibration API (Second Edition) (https://w3c.github.io/vibration/)
4
+ // Source: Vibration API (https://w3c.github.io/vibration/)
5
5
 
6
6
  typedef (unsigned long or sequence<unsigned long>) VibratePattern;
7
7
 
package/webnn.idl CHANGED
@@ -32,19 +32,10 @@ interface ML {
32
32
  Promise<MLContext> createContext(GPUDevice gpuDevice);
33
33
  };
34
34
 
35
- typedef record<USVString, ArrayBufferView> MLNamedArrayBufferViews;
36
35
  typedef record<USVString, MLTensor> MLNamedTensors;
37
36
 
38
- dictionary MLComputeResult {
39
- MLNamedArrayBufferViews inputs;
40
- MLNamedArrayBufferViews outputs;
41
- };
42
-
43
37
  [SecureContext, Exposed=(Window, DedicatedWorker)]
44
38
  interface MLContext {
45
- // ISSUE(791): compute() will soon be removed in favor of dispatch().
46
- Promise<MLComputeResult> compute(
47
- MLGraph graph, MLNamedArrayBufferViews inputs, MLNamedArrayBufferViews outputs);
48
39
  undefined dispatch(MLGraph graph, MLNamedTensors inputs, MLNamedTensors outputs);
49
40
 
50
41
  Promise<MLTensor> createTensor(MLTensorDescriptor descriptor);
@@ -141,7 +132,8 @@ interface MLGraphBuilder {
141
132
  MLOperand input(USVString name, MLOperandDescriptor descriptor);
142
133
 
143
134
  // Create an operand for a graph constant.
144
- MLOperand constant(MLOperandDescriptor descriptor, ArrayBufferView bufferView);
135
+ MLOperand constant(MLOperandDescriptor descriptor,
136
+ AllowSharedBufferSource buffer);
145
137
 
146
138
  // Create a scalar operand from the specified number of the specified type.
147
139
  MLOperand constant(MLOperandDataType type, MLNumber value);