@webref/idl 2.3.0 → 2.6.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/app-history.idl +122 -0
- package/close-watcher.idl +15 -0
- package/compute-pressure.idl +30 -0
- package/conversion-measurement-api.idl +13 -0
- package/csp-next.idl +21 -0
- package/css-font-loading.idl +41 -1
- package/css-fonts.idl +5 -8
- package/event-timing.idl +1 -0
- package/eyedropper-api.idl +18 -0
- package/html.idl +2 -0
- package/ink-enhancement.idl +32 -0
- package/keyboard-map.idl +2 -0
- package/package.json +2 -2
- package/private-click-measurement.idl +0 -1
- package/secure-payment-confirmation.idl +45 -0
- package/streams.idl +1 -1
- package/ua-client-hints.idl +3 -2
- package/urlpattern.idl +54 -0
- package/visual-viewport.idl +1 -1
- package/web-animations-2.idl +19 -0
- package/web-animations.idl +0 -14
- package/web-nfc.idl +1 -3
- package/webcodecs.idl +15 -5
- package/webgpu.idl +5 -5
- package/webnn.idl +12 -4
- package/webtransport.idl +10 -5
package/app-history.idl
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: App History API (https://wicg.github.io/app-history/)
|
|
5
|
+
|
|
6
|
+
partial interface Window {
|
|
7
|
+
readonly attribute AppHistory appHistory;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Exposed=Window]
|
|
11
|
+
interface AppHistory : EventTarget {
|
|
12
|
+
sequence<AppHistoryEntry> entries();
|
|
13
|
+
readonly attribute AppHistoryEntry? current;
|
|
14
|
+
undefined updateCurrent(AppHistoryUpdateCurrentOptions options);
|
|
15
|
+
readonly attribute AppHistoryTransition? transition;
|
|
16
|
+
|
|
17
|
+
readonly attribute boolean canGoBack;
|
|
18
|
+
readonly attribute boolean canGoForward;
|
|
19
|
+
|
|
20
|
+
AppHistoryResult navigate(USVString url, optional AppHistoryNavigateOptions options = {});
|
|
21
|
+
AppHistoryResult reload(optional AppHistoryReloadOptions options = {});
|
|
22
|
+
|
|
23
|
+
AppHistoryResult goTo(DOMString key, optional AppHistoryNavigationOptions options = {});
|
|
24
|
+
AppHistoryResult back(optional AppHistoryNavigationOptions options = {});
|
|
25
|
+
AppHistoryResult forward(optional AppHistoryNavigationOptions options = {});
|
|
26
|
+
|
|
27
|
+
attribute EventHandler onnavigate;
|
|
28
|
+
attribute EventHandler onnavigatesuccess;
|
|
29
|
+
attribute EventHandler onnavigateerror;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
dictionary AppHistoryUpdateCurrentOptions {
|
|
33
|
+
required any state;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
dictionary AppHistoryNavigationOptions {
|
|
37
|
+
any info;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
dictionary AppHistoryNavigateOptions : AppHistoryNavigationOptions {
|
|
41
|
+
any state;
|
|
42
|
+
boolean replace = false;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
dictionary AppHistoryReloadOptions : AppHistoryNavigationOptions {
|
|
46
|
+
any state;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
dictionary AppHistoryResult {
|
|
50
|
+
Promise<AppHistoryEntry> committed;
|
|
51
|
+
Promise<AppHistoryEntry> finished;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
[Exposed=Window]
|
|
55
|
+
interface AppHistoryTransition {
|
|
56
|
+
readonly attribute AppHistoryNavigationType navigationType;
|
|
57
|
+
readonly attribute AppHistoryEntry from;
|
|
58
|
+
readonly attribute Promise<undefined> finished;
|
|
59
|
+
|
|
60
|
+
AppHistoryResult rollback(optional AppHistoryNavigationOptions options = {});
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
[Exposed=Window]
|
|
64
|
+
interface AppHistoryNavigateEvent : Event {
|
|
65
|
+
constructor(DOMString type, AppHistoryNavigateEventInit eventInit);
|
|
66
|
+
|
|
67
|
+
readonly attribute AppHistoryNavigationType navigationType;
|
|
68
|
+
readonly attribute AppHistoryDestination destination;
|
|
69
|
+
readonly attribute boolean canTransition;
|
|
70
|
+
readonly attribute boolean userInitiated;
|
|
71
|
+
readonly attribute boolean hashChange;
|
|
72
|
+
readonly attribute AbortSignal signal;
|
|
73
|
+
readonly attribute FormData? formData;
|
|
74
|
+
readonly attribute any info;
|
|
75
|
+
|
|
76
|
+
undefined transitionWhile(Promise<undefined> newNavigationAction);
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
dictionary AppHistoryNavigateEventInit : EventInit {
|
|
80
|
+
AppHistoryNavigationType navigationType = "push";
|
|
81
|
+
required AppHistoryDestination destination;
|
|
82
|
+
boolean canTransition = false;
|
|
83
|
+
boolean userInitiated = false;
|
|
84
|
+
boolean hashChange = false;
|
|
85
|
+
required AbortSignal signal;
|
|
86
|
+
FormData? formData = null;
|
|
87
|
+
any info;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
enum AppHistoryNavigationType {
|
|
91
|
+
"reload",
|
|
92
|
+
"push",
|
|
93
|
+
"replace",
|
|
94
|
+
"traverse"
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
[Exposed=Window]
|
|
98
|
+
interface AppHistoryDestination {
|
|
99
|
+
readonly attribute USVString url;
|
|
100
|
+
readonly attribute DOMString? key;
|
|
101
|
+
readonly attribute DOMString? id;
|
|
102
|
+
readonly attribute long long index;
|
|
103
|
+
readonly attribute boolean sameDocument;
|
|
104
|
+
|
|
105
|
+
any getState();
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
[Exposed=Window]
|
|
109
|
+
interface AppHistoryEntry : EventTarget {
|
|
110
|
+
readonly attribute USVString url;
|
|
111
|
+
readonly attribute DOMString key;
|
|
112
|
+
readonly attribute DOMString id;
|
|
113
|
+
readonly attribute long long index;
|
|
114
|
+
readonly attribute boolean sameDocument;
|
|
115
|
+
|
|
116
|
+
any getState();
|
|
117
|
+
|
|
118
|
+
attribute EventHandler onnavigateto;
|
|
119
|
+
attribute EventHandler onnavigatefrom;
|
|
120
|
+
attribute EventHandler onfinish;
|
|
121
|
+
attribute EventHandler ondispose;
|
|
122
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Close Watcher API (https://wicg.github.io/close-watcher/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface CloseWatcher : EventTarget {
|
|
8
|
+
constructor();
|
|
9
|
+
|
|
10
|
+
undefined destroy();
|
|
11
|
+
undefined signalClose();
|
|
12
|
+
|
|
13
|
+
attribute EventHandler oncancel;
|
|
14
|
+
attribute EventHandler onclose;
|
|
15
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Compute Pressure API (https://wicg.github.io/compute-pressure/)
|
|
5
|
+
|
|
6
|
+
callback ComputePressureUpdateCallback = undefined (
|
|
7
|
+
ComputePressureObserverUpdate update,
|
|
8
|
+
ComputePressureObserver observer
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
[Exposed=Window]
|
|
12
|
+
interface ComputePressureObserver {
|
|
13
|
+
constructor(
|
|
14
|
+
ComputePressureUpdateCallback callback,
|
|
15
|
+
optional ComputePressureObserverOptions options = {}
|
|
16
|
+
);
|
|
17
|
+
undefined observe();
|
|
18
|
+
undefined unobserve();
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
dictionary ComputePressureObserverUpdate {
|
|
22
|
+
double cpuSpeed;
|
|
23
|
+
double cpuUtilization;
|
|
24
|
+
ComputePressureObserverOptions options;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
dictionary ComputePressureObserverOptions {
|
|
28
|
+
sequence<double> cpuUtilizationThresholds = [];
|
|
29
|
+
sequence<double> cpuSpeedThresholds = [];
|
|
30
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Attribution Reporting (https://wicg.github.io/conversion-measurement-api/)
|
|
5
|
+
|
|
6
|
+
partial interface HTMLAnchorElement {
|
|
7
|
+
[CEReactions] attribute USVString attributionDestination;
|
|
8
|
+
[CEReactions] attribute DOMString attributionSourceEventId;
|
|
9
|
+
[CEReactions] attribute USVString attributionReportTo;
|
|
10
|
+
[CEReactions] attribute long long attributionExpiry;
|
|
11
|
+
[CEReactions] attribute long long attributionSourcePriority;
|
|
12
|
+
[CEReactions] attribute boolean registerAttributionSource;
|
|
13
|
+
};
|
package/csp-next.idl
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Scripting Policy (https://wicg.github.io/csp-next/scripting-policy.html)
|
|
5
|
+
|
|
6
|
+
enum ScriptingPolicyViolationType {
|
|
7
|
+
"externalScript",
|
|
8
|
+
"inlineScript",
|
|
9
|
+
"inlineEventHandler",
|
|
10
|
+
"eval"
|
|
11
|
+
};
|
|
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;
|
|
21
|
+
};
|
package/css-font-loading.idl
CHANGED
|
@@ -44,6 +44,47 @@ interface FontFace {
|
|
|
44
44
|
readonly attribute Promise<FontFace> loaded;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
+
[Exposed=(Window,Worker)]
|
|
48
|
+
interface FontFaceFeatures {
|
|
49
|
+
/* The CSSWG is still discussing what goes in here */
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
[Exposed=(Window,Worker)]
|
|
53
|
+
interface FontFaceVariationAxis {
|
|
54
|
+
readonly attribute DOMString name;
|
|
55
|
+
readonly attribute DOMString axisTag;
|
|
56
|
+
readonly attribute double minimumValue;
|
|
57
|
+
readonly attribute double maximumValue;
|
|
58
|
+
readonly attribute double defaultValue;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
[Exposed=(Window,Worker)]
|
|
62
|
+
interface FontFaceVariations {
|
|
63
|
+
readonly setlike<FontFaceVariationAxis>;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
[Exposed=(Window,Worker)]
|
|
67
|
+
interface FontFacePalette {
|
|
68
|
+
iterable<DOMString>;
|
|
69
|
+
readonly attribute unsigned long length;
|
|
70
|
+
getter DOMString (unsigned long index);
|
|
71
|
+
readonly attribute boolean usableWithLightBackground;
|
|
72
|
+
readonly attribute boolean usableWithDarkBackground;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
[Exposed=(Window,Worker)]
|
|
76
|
+
interface FontFacePalettes {
|
|
77
|
+
iterable<FontFacePalette>;
|
|
78
|
+
readonly attribute unsigned long length;
|
|
79
|
+
getter FontFacePalette (unsigned long index);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
partial interface FontFace {
|
|
83
|
+
readonly attribute FontFaceFeatures features;
|
|
84
|
+
readonly attribute FontFaceVariations variations;
|
|
85
|
+
readonly attribute FontFacePalettes palettes;
|
|
86
|
+
};
|
|
87
|
+
|
|
47
88
|
dictionary FontFaceSetLoadEventInit : EventInit {
|
|
48
89
|
sequence<FontFace> fontfaces = [];
|
|
49
90
|
};
|
|
@@ -60,7 +101,6 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
|
|
|
60
101
|
interface FontFaceSet : EventTarget {
|
|
61
102
|
constructor(sequence<FontFace> initialFaces);
|
|
62
103
|
|
|
63
|
-
// FontFaceSet is Set-like!
|
|
64
104
|
setlike<FontFace>;
|
|
65
105
|
FontFaceSet add(FontFace font);
|
|
66
106
|
boolean delete(FontFace font);
|
package/css-fonts.idl
CHANGED
|
@@ -28,12 +28,9 @@ interface CSSFontFeatureValuesMap {
|
|
|
28
28
|
(unsigned long or sequence<unsigned long>) values);
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
maplike<unsigned long, CSSOMString>;
|
|
37
|
-
attribute CSSOMString fontFamily;
|
|
38
|
-
attribute CSSOMString basePalette;
|
|
31
|
+
[Exposed=Window]interface CSSFontPaletteValuesRule : CSSRule {
|
|
32
|
+
readonly attribute CSSOMString name;
|
|
33
|
+
readonly attribute CSSOMString fontFamily;
|
|
34
|
+
readonly attribute CSSOMString basePalette;
|
|
35
|
+
readonly attribute CSSOMString overrideColors;
|
|
39
36
|
};
|
package/event-timing.idl
CHANGED
|
@@ -9,6 +9,7 @@ interface PerformanceEventTiming : PerformanceEntry {
|
|
|
9
9
|
readonly attribute DOMHighResTimeStamp processingEnd;
|
|
10
10
|
readonly attribute boolean cancelable;
|
|
11
11
|
readonly attribute Node? target;
|
|
12
|
+
readonly attribute unsigned long long interactionId;
|
|
12
13
|
[Default] object toJSON();
|
|
13
14
|
};
|
|
14
15
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: EyeDropper API (https://wicg.github.io/eyedropper-api/)
|
|
5
|
+
|
|
6
|
+
dictionary ColorSelectionResult {
|
|
7
|
+
DOMString sRGBHex;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
dictionary ColorSelectionOptions {
|
|
11
|
+
AbortSignal signal;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
[Exposed=Window, SecureContext]
|
|
15
|
+
interface EyeDropper {
|
|
16
|
+
constructor();
|
|
17
|
+
Promise<ColorSelectionResult> open(optional ColorSelectionOptions options = {});
|
|
18
|
+
};
|
package/html.idl
CHANGED
|
@@ -1216,6 +1216,8 @@ interface HTMLScriptElement : HTMLElement {
|
|
|
1216
1216
|
[CEReactions] attribute DOMString integrity;
|
|
1217
1217
|
[CEReactions] attribute DOMString referrerPolicy;
|
|
1218
1218
|
|
|
1219
|
+
static boolean supports(DOMString type);
|
|
1220
|
+
|
|
1219
1221
|
// also has obsolete members
|
|
1220
1222
|
};
|
|
1221
1223
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Ink API (https://wicg.github.io/ink-enhancement/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface Ink {
|
|
8
|
+
Promise<InkPresenter> requestPresenter(
|
|
9
|
+
optional InkPresenterParam param = {});
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
dictionary InkPresenterParam {
|
|
13
|
+
Element? presentationArea = null;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
[Exposed=Window]
|
|
17
|
+
interface InkPresenter {
|
|
18
|
+
readonly attribute Element? presentationArea;
|
|
19
|
+
readonly attribute unsigned long expectedImprovement;
|
|
20
|
+
|
|
21
|
+
undefined updateInkTrailStartPoint(PointerEvent event, InkTrailStyle style);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
dictionary InkTrailStyle {
|
|
25
|
+
required DOMString color;
|
|
26
|
+
required unrestricted double diameter;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
[Exposed=Window]
|
|
30
|
+
partial interface Navigator {
|
|
31
|
+
[SameObject] readonly attribute Ink ink;
|
|
32
|
+
};
|
package/keyboard-map.idl
CHANGED
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": "2.
|
|
4
|
+
"version": "2.6.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/w3c/webref.git"
|
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"main": "index.js",
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"webidl2": "^24.
|
|
15
|
+
"webidl2": "^24.1.2"
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Secure Payment Confirmation (https://w3c.github.io/secure-payment-confirmation)
|
|
5
|
+
|
|
6
|
+
dictionary SecurePaymentConfirmationRequest {
|
|
7
|
+
required BufferSource challenge;
|
|
8
|
+
required FrozenArray<BufferSource> credentialIds;
|
|
9
|
+
required PaymentCredentialInstrument instrument;
|
|
10
|
+
unsigned long timeout;
|
|
11
|
+
required USVString payeeOrigin;
|
|
12
|
+
AuthenticationExtensionsClientInputs extensions;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
partial dictionary AuthenticationExtensionsClientInputs {
|
|
16
|
+
AuthenticationExtensionsPaymentInputs payment;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
dictionary AuthenticationExtensionsPaymentInputs {
|
|
20
|
+
boolean isPayment;
|
|
21
|
+
|
|
22
|
+
// Only used for authentication.
|
|
23
|
+
USVString rp;
|
|
24
|
+
USVString topOrigin;
|
|
25
|
+
USVString payeeOrigin;
|
|
26
|
+
PaymentCurrencyAmount total;
|
|
27
|
+
PaymentCredentialInstrument instrument;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
dictionary CollectedClientPaymentData : CollectedClientData {
|
|
31
|
+
required CollectedClientAdditionalPaymentData payment;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
dictionary CollectedClientAdditionalPaymentData {
|
|
35
|
+
required USVString rp;
|
|
36
|
+
required USVString topOrigin;
|
|
37
|
+
required USVString payeeOrigin;
|
|
38
|
+
required PaymentCurrencyAmount total;
|
|
39
|
+
required PaymentCredentialInstrument instrument;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
dictionary PaymentCredentialInstrument {
|
|
43
|
+
required DOMString displayName;
|
|
44
|
+
required USVString icon;
|
|
45
|
+
};
|
package/streams.idl
CHANGED
|
@@ -200,7 +200,7 @@ dictionary QueuingStrategy {
|
|
|
200
200
|
QueuingStrategySize size;
|
|
201
201
|
};
|
|
202
202
|
|
|
203
|
-
callback QueuingStrategySize = unrestricted double (
|
|
203
|
+
callback QueuingStrategySize = unrestricted double (any chunk);
|
|
204
204
|
|
|
205
205
|
dictionary QueuingStrategyInit {
|
|
206
206
|
required unrestricted double highWaterMark;
|
package/ua-client-hints.idl
CHANGED
|
@@ -11,12 +11,13 @@ dictionary NavigatorUABrandVersion {
|
|
|
11
11
|
dictionary UADataValues {
|
|
12
12
|
sequence<NavigatorUABrandVersion> brands;
|
|
13
13
|
boolean mobile;
|
|
14
|
-
DOMString platform;
|
|
15
14
|
DOMString architecture;
|
|
16
15
|
DOMString bitness;
|
|
17
16
|
DOMString model;
|
|
17
|
+
DOMString platform;
|
|
18
18
|
DOMString platformVersion;
|
|
19
|
-
DOMString uaFullVersion;
|
|
19
|
+
DOMString uaFullVersion; // deprecated in favor of fullVersionList
|
|
20
|
+
sequence<NavigatorUABrandVersion> fullVersionList;
|
|
20
21
|
};
|
|
21
22
|
|
|
22
23
|
dictionary UALowEntropyJSON {
|
package/urlpattern.idl
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: URLPattern API (https://wicg.github.io/urlpattern/)
|
|
5
|
+
|
|
6
|
+
typedef (USVString or URLPatternInit) URLPatternInput;
|
|
7
|
+
|
|
8
|
+
[Exposed=(Window,Worker)]
|
|
9
|
+
interface URLPattern {
|
|
10
|
+
constructor(optional URLPatternInput input = {}, optional USVString baseURL);
|
|
11
|
+
|
|
12
|
+
boolean test(optional URLPatternInput input = {}, optional USVString baseURL);
|
|
13
|
+
|
|
14
|
+
URLPatternResult? exec(optional URLPatternInput input = {}, optional USVString baseURL);
|
|
15
|
+
|
|
16
|
+
readonly attribute USVString protocol;
|
|
17
|
+
readonly attribute USVString username;
|
|
18
|
+
readonly attribute USVString password;
|
|
19
|
+
readonly attribute USVString hostname;
|
|
20
|
+
readonly attribute USVString port;
|
|
21
|
+
readonly attribute USVString pathname;
|
|
22
|
+
readonly attribute USVString search;
|
|
23
|
+
readonly attribute USVString hash;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
dictionary URLPatternInit {
|
|
27
|
+
USVString protocol;
|
|
28
|
+
USVString username;
|
|
29
|
+
USVString password;
|
|
30
|
+
USVString hostname;
|
|
31
|
+
USVString port;
|
|
32
|
+
USVString pathname;
|
|
33
|
+
USVString search;
|
|
34
|
+
USVString hash;
|
|
35
|
+
USVString baseURL;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
dictionary URLPatternResult {
|
|
39
|
+
sequence<URLPatternInput> inputs;
|
|
40
|
+
|
|
41
|
+
URLPatternComponentResult protocol;
|
|
42
|
+
URLPatternComponentResult username;
|
|
43
|
+
URLPatternComponentResult password;
|
|
44
|
+
URLPatternComponentResult hostname;
|
|
45
|
+
URLPatternComponentResult port;
|
|
46
|
+
URLPatternComponentResult pathname;
|
|
47
|
+
URLPatternComponentResult search;
|
|
48
|
+
URLPatternComponentResult hash;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
dictionary URLPatternComponentResult {
|
|
52
|
+
USVString input;
|
|
53
|
+
record<USVString, USVString> groups;
|
|
54
|
+
};
|
package/visual-viewport.idl
CHANGED
|
@@ -20,7 +20,7 @@ interface VisualViewport : EventTarget {
|
|
|
20
20
|
|
|
21
21
|
readonly attribute double scale;
|
|
22
22
|
|
|
23
|
-
readonly attribute FrozenArray<DOMRect
|
|
23
|
+
readonly attribute FrozenArray<DOMRect>? segments;
|
|
24
24
|
|
|
25
25
|
attribute EventHandler onresize;
|
|
26
26
|
attribute EventHandler onscroll;
|
package/web-animations-2.idl
CHANGED
|
@@ -9,6 +9,12 @@ partial interface AnimationTimeline {
|
|
|
9
9
|
Animation play (optional AnimationEffect? effect = null);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
+
[Exposed=Window]
|
|
13
|
+
partial interface Animation {
|
|
14
|
+
attribute CSSNumberish? startTime;
|
|
15
|
+
attribute CSSNumberish? currentTime;
|
|
16
|
+
};
|
|
17
|
+
|
|
12
18
|
[Exposed=Window]
|
|
13
19
|
partial interface AnimationEffect {
|
|
14
20
|
// Timing hierarchy
|
|
@@ -24,6 +30,7 @@ partial interface AnimationEffect {
|
|
|
24
30
|
|
|
25
31
|
partial dictionary EffectTiming {
|
|
26
32
|
double playbackRate = 1.0;
|
|
33
|
+
(unrestricted double or CSSNumericValue or DOMString) duration = "auto";
|
|
27
34
|
};
|
|
28
35
|
|
|
29
36
|
partial dictionary OptionalEffectTiming {
|
|
@@ -79,3 +86,15 @@ enum IterationCompositeOperation { "replace", "accumulate" };
|
|
|
79
86
|
callback EffectCallback = undefined (double? progress,
|
|
80
87
|
(Element or CSSPseudoElement) currentTarget,
|
|
81
88
|
Animation animation);
|
|
89
|
+
|
|
90
|
+
[Exposed=Window]
|
|
91
|
+
interface AnimationPlaybackEvent : Event {
|
|
92
|
+
constructor(DOMString type, optional AnimationPlaybackEventInit
|
|
93
|
+
eventInitDict = {});
|
|
94
|
+
readonly attribute CSSNumberish? currentTime;
|
|
95
|
+
readonly attribute CSSNumberish? timelineTime;
|
|
96
|
+
};
|
|
97
|
+
dictionary AnimationPlaybackEventInit : EventInit {
|
|
98
|
+
CSSNumberish? currentTime = null;
|
|
99
|
+
CSSNumberish? timelineTime = null;
|
|
100
|
+
};
|
package/web-animations.idl
CHANGED
|
@@ -25,8 +25,6 @@ interface Animation : EventTarget {
|
|
|
25
25
|
attribute DOMString id;
|
|
26
26
|
attribute AnimationEffect? effect;
|
|
27
27
|
attribute AnimationTimeline? timeline;
|
|
28
|
-
attribute double? startTime;
|
|
29
|
-
attribute double? currentTime;
|
|
30
28
|
attribute double playbackRate;
|
|
31
29
|
readonly attribute AnimationPlayState playState;
|
|
32
30
|
readonly attribute AnimationReplaceState replaceState;
|
|
@@ -65,7 +63,6 @@ dictionary EffectTiming {
|
|
|
65
63
|
FillMode fill = "auto";
|
|
66
64
|
double iterationStart = 0.0;
|
|
67
65
|
unrestricted double iterations = 1.0;
|
|
68
|
-
(unrestricted double or DOMString) duration = "auto";
|
|
69
66
|
PlaybackDirection direction = "normal";
|
|
70
67
|
DOMString easing = "linear";
|
|
71
68
|
};
|
|
@@ -154,14 +151,3 @@ partial interface mixin DocumentOrShadowRoot {
|
|
|
154
151
|
};
|
|
155
152
|
|
|
156
153
|
Element includes Animatable;
|
|
157
|
-
|
|
158
|
-
[Exposed=Window]
|
|
159
|
-
interface AnimationPlaybackEvent : Event {
|
|
160
|
-
constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {});
|
|
161
|
-
readonly attribute double? currentTime;
|
|
162
|
-
readonly attribute double? timelineTime;
|
|
163
|
-
};
|
|
164
|
-
dictionary AnimationPlaybackEventInit : EventInit {
|
|
165
|
-
double? currentTime = null;
|
|
166
|
-
double? timelineTime = null;
|
|
167
|
-
};
|
package/web-nfc.idl
CHANGED
|
@@ -13,8 +13,6 @@ dictionary NDEFMessageInit {
|
|
|
13
13
|
required sequence<NDEFRecordInit> records;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
typedef (DOMString or BufferSource or NDEFMessageInit) NDEFRecordDataSource;
|
|
17
|
-
|
|
18
16
|
[SecureContext, Exposed=Window]
|
|
19
17
|
interface NDEFRecord {
|
|
20
18
|
constructor(NDEFRecordInit recordInit);
|
|
@@ -38,7 +36,7 @@ dictionary NDEFRecordInit {
|
|
|
38
36
|
USVString encoding;
|
|
39
37
|
USVString lang;
|
|
40
38
|
|
|
41
|
-
|
|
39
|
+
any data; // DOMString or BufferSource or NDEFMessageInit
|
|
42
40
|
};
|
|
43
41
|
|
|
44
42
|
typedef (DOMString or BufferSource or NDEFMessageInit) NDEFMessageSource;
|
package/webcodecs.idl
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: WebCodecs (https://w3c.github.io/webcodecs/)
|
|
5
5
|
|
|
6
|
-
[Exposed=(Window,DedicatedWorker)]
|
|
6
|
+
[Exposed=(Window,DedicatedWorker), SecureContext]
|
|
7
7
|
interface AudioDecoder {
|
|
8
8
|
constructor(AudioDecoderInit init);
|
|
9
9
|
|
|
@@ -26,7 +26,7 @@ dictionary AudioDecoderInit {
|
|
|
26
26
|
|
|
27
27
|
callback AudioDataOutputCallback = undefined(AudioData output);
|
|
28
28
|
|
|
29
|
-
[Exposed=(Window,DedicatedWorker)]
|
|
29
|
+
[Exposed=(Window,DedicatedWorker), SecureContext]
|
|
30
30
|
interface VideoDecoder {
|
|
31
31
|
constructor(VideoDecoderInit init);
|
|
32
32
|
|
|
@@ -49,7 +49,7 @@ dictionary VideoDecoderInit {
|
|
|
49
49
|
|
|
50
50
|
callback VideoFrameOutputCallback = undefined(VideoFrame output);
|
|
51
51
|
|
|
52
|
-
[Exposed=(Window,DedicatedWorker)]
|
|
52
|
+
[Exposed=(Window,DedicatedWorker), SecureContext]
|
|
53
53
|
interface AudioEncoder {
|
|
54
54
|
constructor(AudioEncoderInit init);
|
|
55
55
|
|
|
@@ -78,7 +78,7 @@ dictionary EncodedAudioChunkMetadata {
|
|
|
78
78
|
AudioDecoderConfig decoderConfig;
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
-
[Exposed=(Window,DedicatedWorker)]
|
|
81
|
+
[Exposed=(Window,DedicatedWorker), SecureContext]
|
|
82
82
|
interface VideoEncoder {
|
|
83
83
|
constructor(VideoEncoderInit init);
|
|
84
84
|
|
|
@@ -278,6 +278,7 @@ dictionary AudioDataCopyToOptions {
|
|
|
278
278
|
[EnforceRange] required unsigned long planeIndex;
|
|
279
279
|
[EnforceRange] unsigned long frameOffset = 0;
|
|
280
280
|
[EnforceRange] unsigned long frameCount;
|
|
281
|
+
AudioSampleFormat format;
|
|
281
282
|
};
|
|
282
283
|
|
|
283
284
|
enum AudioSampleFormat {
|
|
@@ -320,6 +321,15 @@ dictionary VideoFrameInit {
|
|
|
320
321
|
unsigned long long duration; // microseconds
|
|
321
322
|
long long timestamp; // microseconds
|
|
322
323
|
AlphaOption alpha = "keep";
|
|
324
|
+
|
|
325
|
+
// Default matches image. May be used to efficiently crop. Will trigger
|
|
326
|
+
// new computation of displayWidth and displayHeight using image’s pixel
|
|
327
|
+
// aspect ratio unless an explicit displayWidth and displayHeight are given.
|
|
328
|
+
DOMRectInit visibleRect;
|
|
329
|
+
|
|
330
|
+
// Default matches image unless visibleRect is provided.
|
|
331
|
+
[EnforceRange] unsigned long displayWidth;
|
|
332
|
+
[EnforceRange] unsigned long displayHeight;
|
|
323
333
|
};
|
|
324
334
|
|
|
325
335
|
dictionary VideoFrameBufferInit {
|
|
@@ -411,7 +421,7 @@ enum VideoMatrixCoefficients {
|
|
|
411
421
|
"smpte170m", // BT.601 NTSC (functionally the same as bt470bg)
|
|
412
422
|
};
|
|
413
423
|
|
|
414
|
-
[Exposed=(Window,DedicatedWorker)]
|
|
424
|
+
[Exposed=(Window,DedicatedWorker), SecureContext]
|
|
415
425
|
interface ImageDecoder {
|
|
416
426
|
constructor(ImageDecoderInit init);
|
|
417
427
|
|
package/webgpu.idl
CHANGED
|
@@ -144,7 +144,7 @@ dictionary GPUBufferDescriptor : GPUObjectDescriptorBase {
|
|
|
144
144
|
|
|
145
145
|
typedef [EnforceRange] unsigned long GPUBufferUsageFlags;
|
|
146
146
|
[Exposed=(Window, DedicatedWorker)]
|
|
147
|
-
|
|
147
|
+
namespace GPUBufferUsage {
|
|
148
148
|
const GPUFlagsConstant MAP_READ = 0x0001;
|
|
149
149
|
const GPUFlagsConstant MAP_WRITE = 0x0002;
|
|
150
150
|
const GPUFlagsConstant COPY_SRC = 0x0004;
|
|
@@ -159,7 +159,7 @@ interface GPUBufferUsage {
|
|
|
159
159
|
|
|
160
160
|
typedef [EnforceRange] unsigned long GPUMapModeFlags;
|
|
161
161
|
[Exposed=(Window, DedicatedWorker)]
|
|
162
|
-
|
|
162
|
+
namespace GPUMapMode {
|
|
163
163
|
const GPUFlagsConstant READ = 0x0001;
|
|
164
164
|
const GPUFlagsConstant WRITE = 0x0002;
|
|
165
165
|
};
|
|
@@ -189,7 +189,7 @@ enum GPUTextureDimension {
|
|
|
189
189
|
|
|
190
190
|
typedef [EnforceRange] unsigned long GPUTextureUsageFlags;
|
|
191
191
|
[Exposed=(Window, DedicatedWorker)]
|
|
192
|
-
|
|
192
|
+
namespace GPUTextureUsage {
|
|
193
193
|
const GPUFlagsConstant COPY_SRC = 0x01;
|
|
194
194
|
const GPUFlagsConstant COPY_DST = 0x02;
|
|
195
195
|
const GPUFlagsConstant TEXTURE_BINDING = 0x04;
|
|
@@ -367,7 +367,7 @@ dictionary GPUBindGroupLayoutDescriptor : GPUObjectDescriptorBase {
|
|
|
367
367
|
|
|
368
368
|
typedef [EnforceRange] unsigned long GPUShaderStageFlags;
|
|
369
369
|
[Exposed=(Window, DedicatedWorker)]
|
|
370
|
-
|
|
370
|
+
namespace GPUShaderStage {
|
|
371
371
|
const GPUFlagsConstant VERTEX = 0x1;
|
|
372
372
|
const GPUFlagsConstant FRAGMENT = 0x2;
|
|
373
373
|
const GPUFlagsConstant COMPUTE = 0x4;
|
|
@@ -590,7 +590,7 @@ dictionary GPUBlendState {
|
|
|
590
590
|
|
|
591
591
|
typedef [EnforceRange] unsigned long GPUColorWriteFlags;
|
|
592
592
|
[Exposed=(Window, DedicatedWorker)]
|
|
593
|
-
|
|
593
|
+
namespace GPUColorWrite {
|
|
594
594
|
const GPUFlagsConstant RED = 0x1;
|
|
595
595
|
const GPUFlagsConstant GREEN = 0x2;
|
|
596
596
|
const GPUFlagsConstant BLUE = 0x4;
|
package/webnn.idl
CHANGED
|
@@ -120,8 +120,8 @@ partial interface MLGraphBuilder {
|
|
|
120
120
|
};
|
|
121
121
|
|
|
122
122
|
dictionary MLClampOptions {
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
float minValue;
|
|
124
|
+
float maxValue;
|
|
125
125
|
};
|
|
126
126
|
|
|
127
127
|
partial interface MLGraphBuilder {
|
|
@@ -317,6 +317,11 @@ partial interface MLGraphBuilder {
|
|
|
317
317
|
MLOperand pad(MLOperand input, MLOperand padding, optional MLPadOptions options = {});
|
|
318
318
|
};
|
|
319
319
|
|
|
320
|
+
enum MLRoundingType {
|
|
321
|
+
"floor",
|
|
322
|
+
"ceil"
|
|
323
|
+
};
|
|
324
|
+
|
|
320
325
|
dictionary MLPool2dOptions {
|
|
321
326
|
sequence<long> windowDimensions;
|
|
322
327
|
sequence<long> padding;
|
|
@@ -324,6 +329,8 @@ dictionary MLPool2dOptions {
|
|
|
324
329
|
sequence<long> dilations;
|
|
325
330
|
MLAutoPad autoPad = "explicit";
|
|
326
331
|
MLInputOperandLayout layout = "nchw";
|
|
332
|
+
MLRoundingType roundingType = "floor";
|
|
333
|
+
sequence<long> outputSizes;
|
|
327
334
|
};
|
|
328
335
|
|
|
329
336
|
partial interface MLGraphBuilder {
|
|
@@ -360,14 +367,15 @@ enum MLInterpolationMode {
|
|
|
360
367
|
"linear"
|
|
361
368
|
};
|
|
362
369
|
|
|
363
|
-
dictionary
|
|
370
|
+
dictionary MLResample2dOptions {
|
|
364
371
|
MLInterpolationMode mode = "nearest-neighbor";
|
|
365
372
|
sequence<float> scales;
|
|
366
373
|
sequence<long> sizes;
|
|
374
|
+
sequence<long> axes;
|
|
367
375
|
};
|
|
368
376
|
|
|
369
377
|
partial interface MLGraphBuilder {
|
|
370
|
-
MLOperand
|
|
378
|
+
MLOperand resample2d(MLOperand input, optional MLResample2dOptions options = {});
|
|
371
379
|
};
|
|
372
380
|
|
|
373
381
|
partial interface MLGraphBuilder {
|
package/webtransport.idl
CHANGED
|
@@ -35,14 +35,19 @@ interface WebTransport {
|
|
|
35
35
|
readonly attribute ReadableStream incomingUnidirectionalStreams;
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
+
dictionary WebTransportHash {
|
|
39
|
+
DOMString algorithm;
|
|
40
|
+
BufferSource value;
|
|
41
|
+
};
|
|
42
|
+
|
|
38
43
|
dictionary WebTransportOptions {
|
|
39
44
|
boolean allowPooling;
|
|
40
|
-
sequence<
|
|
45
|
+
sequence<WebTransportHash> serverCertificateHashes;
|
|
41
46
|
};
|
|
42
47
|
|
|
43
48
|
dictionary WebTransportCloseInfo {
|
|
44
|
-
unsigned long
|
|
45
|
-
DOMString reason
|
|
49
|
+
unsigned long closeCode;
|
|
50
|
+
DOMString reason;
|
|
46
51
|
};
|
|
47
52
|
|
|
48
53
|
dictionary WebTransportStats {
|
|
@@ -67,12 +72,12 @@ interface WebTransportBidirectionalStream {
|
|
|
67
72
|
interface WebTransportError : DOMException {
|
|
68
73
|
constructor(optional WebTransportErrorInit init = {});
|
|
69
74
|
|
|
70
|
-
readonly attribute octet? applicationProtocolCode;
|
|
71
75
|
readonly attribute WebTransportErrorSource source;
|
|
76
|
+
readonly attribute octet? streamErrorCode;
|
|
72
77
|
};
|
|
73
78
|
|
|
74
79
|
dictionary WebTransportErrorInit {
|
|
75
|
-
[Clamp] octet
|
|
80
|
+
[Clamp] octet streamErrorCode;
|
|
76
81
|
DOMString message;
|
|
77
82
|
};
|
|
78
83
|
|