@webref/idl 3.65.0 → 3.65.2

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
  };
@@ -27,7 +27,12 @@ interface HighlightRegistry {
27
27
  };
28
28
 
29
29
  partial interface HighlightRegistry {
30
- sequence<Highlight> highlightsFromPoint(float x, float y, optional HighlightsFromPointOptions options = {});
30
+ sequence<HighlightHitResult> highlightsFromPoint(float x, float y, optional HighlightsFromPointOptions options = {});
31
+ };
32
+
33
+ dictionary HighlightHitResult {
34
+ Highlight highlight;
35
+ sequence<AbstractRange> ranges;
31
36
  };
32
37
 
33
38
  dictionary HighlightsFromPointOptions {
@@ -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
  };
@@ -33,4 +33,5 @@ dictionary DigitalCredentialCreateRequest {
33
33
  interface DigitalCredential : Credential {
34
34
  readonly attribute DOMString protocol;
35
35
  [SameObject] readonly attribute object data;
36
+ static boolean userAgentAllowsProtocol(DOMString protocol);
36
37
  };
package/fedcm.idl CHANGED
@@ -19,6 +19,18 @@ dictionary DisconnectedAccount {
19
19
  required USVString account_id;
20
20
  };
21
21
 
22
+ dictionary IdentityCredentialErrorInit {
23
+ DOMString error;
24
+ DOMString url;
25
+ };
26
+
27
+ [Exposed=Window, SecureContext]
28
+ interface IdentityCredentialError : DOMException {
29
+ constructor(optional DOMString message = "", optional IdentityCredentialErrorInit options = {});
30
+ readonly attribute DOMString error;
31
+ readonly attribute DOMString url;
32
+ };
33
+
22
34
  partial dictionary CredentialRequestOptions {
23
35
  IdentityCredentialRequestOptions identity;
24
36
  };
@@ -79,6 +91,7 @@ dictionary IdentityProviderAPIConfig {
79
91
  required USVString login_url;
80
92
  USVString disconnect_endpoint;
81
93
  IdentityProviderBranding branding;
94
+ boolean supports_use_other_account = false;
82
95
  USVString account_label;
83
96
  };
84
97
 
@@ -102,6 +115,7 @@ dictionary IdentityProviderAccountList {
102
115
  dictionary IdentityAssertionResponse {
103
116
  USVString token;
104
117
  USVString continue_on;
118
+ IdentityCredentialErrorInit error;
105
119
  };
106
120
 
107
121
  dictionary IdentityProviderClientMetadata {
@@ -122,6 +136,6 @@ dictionary IdentityResolveOptions {
122
136
 
123
137
  [Exposed=Window, SecureContext] interface IdentityProvider {
124
138
  static undefined close();
125
- static undefined resolve(DOMString token, optional IdentityResolveOptions options = {});
139
+ static Promise<undefined> resolve(DOMString token, optional IdentityResolveOptions options = {});
126
140
  static Promise<sequence<IdentityUserInfo>> getUserInfo(IdentityProviderConfig config);
127
141
  };
@@ -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.2",
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,68 +1,69 @@
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
+ sequence<USVString> conversionCallers = [];
30
31
  unsigned long lifetimeDays = 30;
31
32
  };
32
33
 
33
- dictionary PrivateAttributionImpressionResult {
34
+ dictionary AttributionImpressionResult {
34
35
  };
35
36
 
36
37
  [SecureContext, Exposed=Window]
37
- partial interface PrivateAttribution {
38
- Promise<PrivateAttributionImpressionResult> saveImpression(PrivateAttributionImpressionOptions options);
38
+ partial interface Attribution {
39
+ Promise<AttributionImpressionResult> saveImpression(AttributionImpressionOptions options);
39
40
  };
40
41
 
41
- dictionary PrivateAttributionConversionOptions {
42
+ dictionary AttributionConversionOptions {
42
43
  required USVString aggregationService;
43
44
  double epsilon = 1.0;
44
45
 
45
46
  required unsigned long histogramSize;
46
47
 
47
48
  unsigned long lookbackDays;
48
- sequence<unsigned long> matchValue = [];
49
+ sequence<unsigned long> matchValues = [];
49
50
  sequence<USVString> impressionSites = [];
50
- sequence<USVString> intermediarySites = [];
51
+ sequence<USVString> impressionCallers = [];
51
52
 
52
- PrivateAttributionLogic logic = "last-touch";
53
+ AttributionLogic logic = "last-touch";
53
54
  unsigned long value = 1;
54
55
  unsigned long maxValue = 1;
55
56
  };
56
57
 
57
- enum PrivateAttributionLogic {
58
+ enum AttributionLogic {
58
59
  "last-touch",
59
60
  };
60
61
 
61
- dictionary PrivateAttributionConversionResult {
62
+ dictionary AttributionConversionResult {
62
63
  required Uint8Array report;
63
64
  };
64
65
 
65
66
  [SecureContext, Exposed=Window]
66
- partial interface PrivateAttribution {
67
- Promise<PrivateAttributionConversionResult> measureConversion(PrivateAttributionConversionOptions options);
67
+ partial interface Attribution {
68
+ Promise<AttributionConversionResult> measureConversion(AttributionConversionOptions options);
68
69
  };
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
  };
package/webgpu.idl CHANGED
@@ -128,6 +128,7 @@ enum GPUFeatureName {
128
128
  "dual-source-blending",
129
129
  "subgroups",
130
130
  "texture-formats-tier1",
131
+ "texture-formats-tier2",
131
132
  };
132
133
 
133
134
  [Exposed=(Window, Worker), SecureContext]