@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 +12 -14
- package/crash-reporting.idl +5 -7
- package/csp-next.idl +6 -8
- package/css-highlight-api.idl +6 -1
- package/deprecation-reporting.idl +7 -9
- package/digital-credentials.idl +1 -0
- package/fedcm.idl +15 -1
- package/intervention-reporting.idl +6 -8
- package/mediacapture-streams.idl +15 -3
- package/package.json +1 -1
- package/permissions-policy.idl +8 -10
- package/privacy-preserving-attribution.idl +21 -20
- package/reporting.idl +5 -9
- package/secure-payment-confirmation.idl +1 -0
- package/speech-api.idl +20 -0
- package/sri.idl +5 -7
- package/webgpu.idl +1 -0
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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 {
|
package/crash-reporting.idl
CHANGED
|
@@ -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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
};
|
package/css-highlight-api.idl
CHANGED
|
@@ -27,7 +27,12 @@ interface HighlightRegistry {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
partial interface HighlightRegistry {
|
|
30
|
-
sequence<
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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/digital-credentials.idl
CHANGED
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
};
|
package/mediacapture-streams.idl
CHANGED
|
@@ -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
|
-
|
|
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
package/permissions-policy.idl
CHANGED
|
@@ -19,14 +19,12 @@ partial interface HTMLIFrameElement {
|
|
|
19
19
|
[SameObject] readonly attribute PermissionsPolicy permissionsPolicy;
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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:
|
|
4
|
+
// Source: Attribution Level 1 (https://w3c.github.io/ppa/)
|
|
5
5
|
|
|
6
6
|
partial interface Navigator {
|
|
7
|
-
[SecureContext, SameObject] readonly attribute
|
|
7
|
+
[SecureContext, SameObject] readonly attribute Attribution attribution;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
-
enum
|
|
10
|
+
enum PrivateAttributionAggregationProtocol { "dap-12-histogram", "tee-00" };
|
|
11
11
|
|
|
12
|
-
dictionary
|
|
12
|
+
dictionary AttributionAggregationService {
|
|
13
13
|
required DOMString protocol;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
[SecureContext, Exposed=Window]
|
|
17
|
-
interface
|
|
18
|
-
readonly maplike<USVString,
|
|
17
|
+
interface AttributionAggregationServices {
|
|
18
|
+
readonly maplike<USVString, AttributionAggregationService>;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
[SecureContext, Exposed=Window]
|
|
22
|
-
interface
|
|
23
|
-
readonly attribute
|
|
22
|
+
interface Attribution {
|
|
23
|
+
readonly attribute AttributionAggregationServices aggregationServices;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
dictionary
|
|
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
|
|
34
|
+
dictionary AttributionImpressionResult {
|
|
34
35
|
};
|
|
35
36
|
|
|
36
37
|
[SecureContext, Exposed=Window]
|
|
37
|
-
partial interface
|
|
38
|
-
Promise<
|
|
38
|
+
partial interface Attribution {
|
|
39
|
+
Promise<AttributionImpressionResult> saveImpression(AttributionImpressionOptions options);
|
|
39
40
|
};
|
|
40
41
|
|
|
41
|
-
dictionary
|
|
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>
|
|
49
|
+
sequence<unsigned long> matchValues = [];
|
|
49
50
|
sequence<USVString> impressionSites = [];
|
|
50
|
-
sequence<USVString>
|
|
51
|
+
sequence<USVString> impressionCallers = [];
|
|
51
52
|
|
|
52
|
-
|
|
53
|
+
AttributionLogic logic = "last-touch";
|
|
53
54
|
unsigned long value = 1;
|
|
54
55
|
unsigned long maxValue = 1;
|
|
55
56
|
};
|
|
56
57
|
|
|
57
|
-
enum
|
|
58
|
+
enum AttributionLogic {
|
|
58
59
|
"last-touch",
|
|
59
60
|
};
|
|
60
61
|
|
|
61
|
-
dictionary
|
|
62
|
+
dictionary AttributionConversionResult {
|
|
62
63
|
required Uint8Array report;
|
|
63
64
|
};
|
|
64
65
|
|
|
65
66
|
[SecureContext, Exposed=Window]
|
|
66
|
-
partial interface
|
|
67
|
-
Promise<
|
|
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
|
-
|
|
7
|
-
interface ReportBody {
|
|
8
|
-
[Default] object toJSON();
|
|
6
|
+
dictionary ReportBody {
|
|
9
7
|
};
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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)]
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
};
|