@webref/idl 3.65.0 → 3.65.1

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/CSP.idl CHANGED
@@ -3,20 +3,18 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Content Security Policy Level 3 (https://w3c.github.io/webappsec-csp/)
5
5
 
6
- [Exposed=Window]
7
- interface CSPViolationReportBody : ReportBody {
8
- [Default] object toJSON();
9
- readonly attribute USVString documentURL;
10
- readonly attribute USVString? referrer;
11
- readonly attribute USVString? blockedURL;
12
- readonly attribute DOMString effectiveDirective;
13
- readonly attribute DOMString originalPolicy;
14
- readonly attribute USVString? sourceFile;
15
- readonly attribute DOMString? sample;
16
- readonly attribute SecurityPolicyViolationEventDisposition disposition;
17
- readonly attribute unsigned short statusCode;
18
- readonly attribute unsigned long? lineNumber;
19
- readonly attribute unsigned long? columnNumber;
6
+ dictionary CSPViolationReportBody : ReportBody {
7
+ USVString documentURL;
8
+ USVString? referrer;
9
+ USVString? blockedURL;
10
+ DOMString effectiveDirective;
11
+ DOMString originalPolicy;
12
+ USVString? sourceFile;
13
+ DOMString? sample;
14
+ SecurityPolicyViolationEventDisposition disposition;
15
+ unsigned short statusCode;
16
+ unsigned long? lineNumber;
17
+ unsigned long? columnNumber;
20
18
  };
21
19
 
22
20
  enum SecurityPolicyViolationEventDisposition {
@@ -3,11 +3,9 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Crash Reporting (https://wicg.github.io/crash-reporting/)
5
5
 
6
- [Exposed=(Window,Worker)]
7
- interface CrashReportBody : ReportBody {
8
- [Default] object toJSON();
9
- readonly attribute DOMString? reason;
10
- readonly attribute DOMString? stack;
11
- readonly attribute boolean? is_top_level;
12
- readonly attribute DocumentVisibilityState? page_visibility;
6
+ dictionary CrashReportBody : ReportBody {
7
+ DOMString? reason;
8
+ DOMString? stack;
9
+ boolean? is_top_level;
10
+ DocumentVisibilityState? page_visibility;
13
11
  };
package/csp-next.idl CHANGED
@@ -10,12 +10,10 @@ enum ScriptingPolicyViolationType {
10
10
  "eval"
11
11
  };
12
12
 
13
- [Exposed=(Window,Worker), SecureContext]
14
- interface ScriptingPolicyReportBody : ReportBody {
15
- [Default] object toJSON();
16
- readonly attribute DOMString violationType;
17
- readonly attribute USVString? violationURL;
18
- readonly attribute USVString? violationSample;
19
- readonly attribute unsigned long lineno;
20
- readonly attribute unsigned long colno;
13
+ dictionary ScriptingPolicyReportBody : ReportBody {
14
+ DOMString violationType;
15
+ USVString? violationURL;
16
+ USVString? violationSample;
17
+ unsigned long lineno;
18
+ unsigned long colno;
21
19
  };
@@ -3,13 +3,11 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Deprecation Reporting (https://wicg.github.io/deprecation-reporting/)
5
5
 
6
- [Exposed=(Window,Worker)]
7
- interface DeprecationReportBody : ReportBody {
8
- [Default] object toJSON();
9
- readonly attribute DOMString id;
10
- readonly attribute object? anticipatedRemoval;
11
- readonly attribute DOMString message;
12
- readonly attribute DOMString? sourceFile;
13
- readonly attribute unsigned long? lineNumber;
14
- readonly attribute unsigned long? columnNumber;
6
+ dictionary DeprecationReportBody : ReportBody {
7
+ DOMString id;
8
+ object? anticipatedRemoval;
9
+ DOMString message;
10
+ DOMString? sourceFile;
11
+ unsigned long? lineNumber;
12
+ unsigned long? columnNumber;
15
13
  };
package/fedcm.idl CHANGED
@@ -79,6 +79,7 @@ dictionary IdentityProviderAPIConfig {
79
79
  required USVString login_url;
80
80
  USVString disconnect_endpoint;
81
81
  IdentityProviderBranding branding;
82
+ boolean supports_use_other_account = false;
82
83
  USVString account_label;
83
84
  };
84
85
 
@@ -122,6 +123,6 @@ dictionary IdentityResolveOptions {
122
123
 
123
124
  [Exposed=Window, SecureContext] interface IdentityProvider {
124
125
  static undefined close();
125
- static undefined resolve(DOMString token, optional IdentityResolveOptions options = {});
126
+ static Promise<undefined> resolve(DOMString token, optional IdentityResolveOptions options = {});
126
127
  static Promise<sequence<IdentityUserInfo>> getUserInfo(IdentityProviderConfig config);
127
128
  };
@@ -3,12 +3,10 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Intervention Reporting (https://wicg.github.io/intervention-reporting/)
5
5
 
6
- [Exposed=(Window,Worker)]
7
- interface InterventionReportBody : ReportBody {
8
- [Default] object toJSON();
9
- readonly attribute DOMString id;
10
- readonly attribute DOMString message;
11
- readonly attribute DOMString? sourceFile;
12
- readonly attribute unsigned long? lineNumber;
13
- readonly attribute unsigned long? columnNumber;
6
+ dictionary InterventionReportBody : ReportBody {
7
+ DOMString id;
8
+ DOMString message;
9
+ DOMString? sourceFile;
10
+ unsigned long? lineNumber;
11
+ unsigned long? columnNumber;
14
12
  };
@@ -73,7 +73,7 @@ dictionary MediaTrackCapabilities {
73
73
  sequence<DOMString> resizeMode;
74
74
  ULongRange sampleRate;
75
75
  ULongRange sampleSize;
76
- sequence<boolean> echoCancellation;
76
+ sequence<(boolean or DOMString)> echoCancellation;
77
77
  sequence<boolean> autoGainControl;
78
78
  sequence<boolean> noiseSuppression;
79
79
  DoubleRange latency;
@@ -96,7 +96,7 @@ dictionary MediaTrackConstraintSet {
96
96
  ConstrainDOMString resizeMode;
97
97
  ConstrainULong sampleRate;
98
98
  ConstrainULong sampleSize;
99
- ConstrainBoolean echoCancellation;
99
+ ConstrainBooleanOrDOMString echoCancellation;
100
100
  ConstrainBoolean autoGainControl;
101
101
  ConstrainBoolean noiseSuppression;
102
102
  ConstrainDouble latency;
@@ -115,7 +115,7 @@ dictionary MediaTrackSettings {
115
115
  DOMString resizeMode;
116
116
  unsigned long sampleRate;
117
117
  unsigned long sampleSize;
118
- boolean echoCancellation;
118
+ (boolean or DOMString) echoCancellation;
119
119
  boolean autoGainControl;
120
120
  boolean noiseSuppression;
121
121
  double latency;
@@ -137,6 +137,11 @@ enum VideoResizeModeEnum {
137
137
  "crop-and-scale"
138
138
  };
139
139
 
140
+ enum EchoCancellationModeEnum {
141
+ "all",
142
+ "remote-only"
143
+ };
144
+
140
145
  [Exposed=Window]
141
146
  interface MediaStreamTrackEvent : Event {
142
147
  constructor(DOMString type, MediaStreamTrackEventInit eventInitDict);
@@ -234,6 +239,11 @@ dictionary ConstrainDOMStringParameters {
234
239
  (DOMString or sequence<DOMString>) ideal;
235
240
  };
236
241
 
242
+ dictionary ConstrainBooleanOrDOMStringParameters {
243
+ (boolean or DOMString) exact;
244
+ (boolean or DOMString) ideal;
245
+ };
246
+
237
247
  typedef ([Clamp] unsigned long or ConstrainULongRange) ConstrainULong;
238
248
 
239
249
  typedef (double or ConstrainDoubleRange) ConstrainDouble;
@@ -244,6 +254,8 @@ typedef (DOMString or
244
254
  sequence<DOMString> or
245
255
  ConstrainDOMStringParameters) ConstrainDOMString;
246
256
 
257
+ typedef (boolean or DOMString or ConstrainBooleanOrDOMStringParameters) ConstrainBooleanOrDOMString;
258
+
247
259
  dictionary CameraDevicePermissionDescriptor : PermissionDescriptor {
248
260
  boolean panTiltZoom = false;
249
261
  };
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.65.0",
4
+ "version": "3.65.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -19,14 +19,12 @@ partial interface HTMLIFrameElement {
19
19
  [SameObject] readonly attribute PermissionsPolicy permissionsPolicy;
20
20
  };
21
21
 
22
- [Exposed=Window]
23
- interface PermissionsPolicyViolationReportBody : ReportBody {
24
- [Default] object toJSON();
25
- readonly attribute DOMString featureId;
26
- readonly attribute DOMString? sourceFile;
27
- readonly attribute long? lineNumber;
28
- readonly attribute long? columnNumber;
29
- readonly attribute DOMString disposition;
30
- readonly attribute DOMString? allowAttribute;
31
- readonly attribute DOMString? srcAttribute;
22
+ dictionary PermissionsPolicyViolationReportBody : ReportBody {
23
+ DOMString featureId;
24
+ DOMString? sourceFile;
25
+ long? lineNumber;
26
+ long? columnNumber;
27
+ DOMString disposition;
28
+ DOMString? allowAttribute;
29
+ DOMString? srcAttribute;
32
30
  };
@@ -1,44 +1,44 @@
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: Privacy-Preserving Attribution: Level 1 (https://w3c.github.io/ppa/)
4
+ // Source: Attribution: Level 1 (https://w3c.github.io/ppa/)
5
5
 
6
6
  partial interface Navigator {
7
- [SecureContext, SameObject] readonly attribute PrivateAttribution privateAttribution;
7
+ [SecureContext, SameObject] readonly attribute Attribution attribution;
8
8
  };
9
9
 
10
- enum PrivateAttributionProtocol { "dap-12-histogram", "tee-00" };
10
+ enum PrivateAttributionAggregationProtocol { "dap-12-histogram", "tee-00" };
11
11
 
12
- dictionary PrivateAttributionAggregationService {
12
+ dictionary AttributionAggregationService {
13
13
  required DOMString protocol;
14
14
  };
15
15
 
16
16
  [SecureContext, Exposed=Window]
17
- interface PrivateAttributionAggregationServices {
18
- readonly maplike<USVString, PrivateAttributionAggregationService>;
17
+ interface AttributionAggregationServices {
18
+ readonly maplike<USVString, AttributionAggregationService>;
19
19
  };
20
20
 
21
21
  [SecureContext, Exposed=Window]
22
- interface PrivateAttribution {
23
- readonly attribute PrivateAttributionAggregationServices aggregationServices;
22
+ interface Attribution {
23
+ readonly attribute AttributionAggregationServices aggregationServices;
24
24
  };
25
25
 
26
- dictionary PrivateAttributionImpressionOptions {
26
+ dictionary AttributionImpressionOptions {
27
27
  required unsigned long histogramIndex;
28
28
  unsigned long matchValue = 0;
29
29
  sequence<USVString> conversionSites = [];
30
30
  unsigned long lifetimeDays = 30;
31
31
  };
32
32
 
33
- dictionary PrivateAttributionImpressionResult {
33
+ dictionary AttributionImpressionResult {
34
34
  };
35
35
 
36
36
  [SecureContext, Exposed=Window]
37
- partial interface PrivateAttribution {
38
- Promise<PrivateAttributionImpressionResult> saveImpression(PrivateAttributionImpressionOptions options);
37
+ partial interface Attribution {
38
+ Promise<AttributionImpressionResult> saveImpression(AttributionImpressionOptions options);
39
39
  };
40
40
 
41
- dictionary PrivateAttributionConversionOptions {
41
+ dictionary AttributionConversionOptions {
42
42
  required USVString aggregationService;
43
43
  double epsilon = 1.0;
44
44
 
@@ -49,20 +49,20 @@ dictionary PrivateAttributionConversionOptions {
49
49
  sequence<USVString> impressionSites = [];
50
50
  sequence<USVString> intermediarySites = [];
51
51
 
52
- PrivateAttributionLogic logic = "last-touch";
52
+ AttributionLogic logic = "last-touch";
53
53
  unsigned long value = 1;
54
54
  unsigned long maxValue = 1;
55
55
  };
56
56
 
57
- enum PrivateAttributionLogic {
57
+ enum AttributionLogic {
58
58
  "last-touch",
59
59
  };
60
60
 
61
- dictionary PrivateAttributionConversionResult {
61
+ dictionary AttributionConversionResult {
62
62
  required Uint8Array report;
63
63
  };
64
64
 
65
65
  [SecureContext, Exposed=Window]
66
- partial interface PrivateAttribution {
67
- Promise<PrivateAttributionConversionResult> measureConversion(PrivateAttributionConversionOptions options);
66
+ partial interface Attribution {
67
+ Promise<AttributionConversionResult> measureConversion(AttributionConversionOptions options);
68
68
  };
package/reporting.idl CHANGED
@@ -3,17 +3,13 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Reporting API (https://w3c.github.io/reporting/)
5
5
 
6
- [Exposed=(Window,Worker)]
7
- interface ReportBody {
8
- [Default] object toJSON();
6
+ dictionary ReportBody {
9
7
  };
10
8
 
11
- [Exposed=(Window,Worker)]
12
- interface Report {
13
- [Default] object toJSON();
14
- readonly attribute DOMString type;
15
- readonly attribute DOMString url;
16
- readonly attribute ReportBody? body;
9
+ dictionary Report {
10
+ DOMString type;
11
+ DOMString url;
12
+ ReportBody? body;
17
13
  };
18
14
 
19
15
  [Exposed=(Window,Worker)]
@@ -83,6 +83,7 @@ dictionary PaymentCredentialInstrument {
83
83
  required USVString displayName;
84
84
  required USVString icon;
85
85
  boolean iconMustBeShown = true;
86
+ USVString details;
86
87
  };
87
88
 
88
89
  dictionary PaymentEntityLogo {
package/speech-api.idl CHANGED
@@ -8,6 +8,7 @@ interface SpeechRecognition : EventTarget {
8
8
  constructor();
9
9
 
10
10
  // recognition parameters
11
+ attribute SpeechGrammarList grammars;
11
12
  attribute DOMString lang;
12
13
  attribute boolean continuous;
13
14
  attribute boolean interimResults;
@@ -107,6 +108,25 @@ dictionary SpeechRecognitionEventInit : EventInit {
107
108
  required SpeechRecognitionResultList results;
108
109
  };
109
110
 
111
+ // The object representing a speech grammar. This interface has been deprecated and exists in this spec for the sole purpose of maintaining backwards compatibility.
112
+ [Exposed=Window]
113
+ interface SpeechGrammar {
114
+ attribute DOMString src;
115
+ attribute float weight;
116
+ };
117
+
118
+ // The object representing a speech grammar collection. This interface has been deprecated and exists in this spec for the sole purpose of maintaining backwards compatibility.
119
+ [Exposed=Window]
120
+ interface SpeechGrammarList {
121
+ constructor();
122
+ readonly attribute unsigned long length;
123
+ getter SpeechGrammar item(unsigned long index);
124
+ undefined addFromURI(DOMString src,
125
+ optional float weight = 1.0);
126
+ undefined addFromString(DOMString string,
127
+ optional float weight = 1.0);
128
+ };
129
+
110
130
  // The object representing a phrase for contextual biasing.
111
131
  [SecureContext, Exposed=Window]
112
132
  interface SpeechRecognitionPhrase {
package/sri.idl CHANGED
@@ -3,11 +3,9 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Subresource Integrity (https://w3c.github.io/webappsec-subresource-integrity/)
5
5
 
6
- [Exposed=Window]
7
- interface IntegrityPolicyViolationReportBody : ReportBody {
8
- [Default] object toJSON();
9
- readonly attribute USVString documentURL;
10
- readonly attribute USVString blockedURL;
11
- readonly attribute USVString destination;
12
- readonly attribute boolean reportOnly;
6
+ dictionary IntegrityViolationReportBody : ReportBody {
7
+ USVString documentURL;
8
+ USVString blockedURL;
9
+ USVString destination;
10
+ boolean reportOnly;
13
11
  };