@webref/idl 3.2.0 → 3.4.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/clipboard-apis.idl +14 -21
- package/close-watcher.idl +6 -2
- package/compute-pressure.idl +12 -7
- package/css-typed-om.idl +24 -0
- package/html.idl +2 -1
- package/navigation-api.idl +137 -0
- package/navigation-timing.idl +11 -11
- package/package.json +2 -2
- package/priority-hints.idl +7 -7
- package/webgpu.idl +10 -1
- package/webusb.idl +57 -57
- package/app-history.idl +0 -136
- package/floc.idl +0 -13
package/clipboard-apis.idl
CHANGED
|
@@ -17,31 +17,14 @@ partial interface Navigator {
|
|
|
17
17
|
[SecureContext, SameObject] readonly attribute Clipboard clipboard;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
typedef
|
|
21
|
-
|
|
22
|
-
[SecureContext, Exposed=Window] interface Clipboard : EventTarget {
|
|
23
|
-
Promise<ClipboardItems> read();
|
|
24
|
-
Promise<DOMString> readText();
|
|
25
|
-
Promise<undefined> write(ClipboardItems data);
|
|
26
|
-
Promise<undefined> writeText(DOMString data);
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
typedef (DOMString or Blob) ClipboardItemDataType;
|
|
30
|
-
typedef Promise<ClipboardItemDataType> ClipboardItemData;
|
|
31
|
-
|
|
32
|
-
callback ClipboardItemDelayedCallback = ClipboardItemData ();
|
|
20
|
+
typedef Promise<(DOMString or Blob)> ClipboardItemData;
|
|
33
21
|
|
|
34
|
-
[Exposed=Window]
|
|
22
|
+
[SecureContext, Exposed=Window]
|
|
23
|
+
interface ClipboardItem {
|
|
35
24
|
constructor(record<DOMString, ClipboardItemData> items,
|
|
36
|
-
|
|
37
|
-
static ClipboardItem createDelayed(
|
|
38
|
-
record<DOMString, ClipboardItemDelayedCallback> items,
|
|
39
|
-
optional ClipboardItemOptions options = {});
|
|
25
|
+
optional ClipboardItemOptions options = {});
|
|
40
26
|
|
|
41
27
|
readonly attribute PresentationStyle presentationStyle;
|
|
42
|
-
readonly attribute long long lastModified;
|
|
43
|
-
readonly attribute boolean delayed;
|
|
44
|
-
|
|
45
28
|
readonly attribute FrozenArray<DOMString> types;
|
|
46
29
|
|
|
47
30
|
Promise<Blob> getType(DOMString type);
|
|
@@ -53,6 +36,16 @@ dictionary ClipboardItemOptions {
|
|
|
53
36
|
PresentationStyle presentationStyle = "unspecified";
|
|
54
37
|
};
|
|
55
38
|
|
|
39
|
+
typedef sequence<ClipboardItem> ClipboardItems;
|
|
40
|
+
|
|
41
|
+
[SecureContext, Exposed=Window]
|
|
42
|
+
interface Clipboard : EventTarget {
|
|
43
|
+
Promise<ClipboardItems> read();
|
|
44
|
+
Promise<DOMString> readText();
|
|
45
|
+
Promise<undefined> write(ClipboardItems data);
|
|
46
|
+
Promise<undefined> writeText(DOMString data);
|
|
47
|
+
};
|
|
48
|
+
|
|
56
49
|
dictionary ClipboardPermissionDescriptor : PermissionDescriptor {
|
|
57
50
|
boolean allowWithoutGesture = false;
|
|
58
51
|
};
|
package/close-watcher.idl
CHANGED
|
@@ -5,11 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface CloseWatcher : EventTarget {
|
|
8
|
-
constructor();
|
|
8
|
+
constructor(optional CloseWatcherOptions options = {});
|
|
9
9
|
|
|
10
10
|
undefined destroy();
|
|
11
|
-
undefined
|
|
11
|
+
undefined close();
|
|
12
12
|
|
|
13
13
|
attribute EventHandler oncancel;
|
|
14
14
|
attribute EventHandler onclose;
|
|
15
15
|
};
|
|
16
|
+
|
|
17
|
+
dictionary CloseWatcherOptions {
|
|
18
|
+
AbortSignal signal;
|
|
19
|
+
};
|
package/compute-pressure.idl
CHANGED
|
@@ -3,34 +3,39 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Compute Pressure API (https://wicg.github.io/compute-pressure/)
|
|
5
5
|
|
|
6
|
-
enum
|
|
6
|
+
enum ComputePressureState { "nominal", "fair", "serious", "critical" };
|
|
7
|
+
|
|
8
|
+
enum ComputePressureFactor { "thermal", "power-supply" };
|
|
7
9
|
|
|
8
10
|
callback ComputePressureUpdateCallback = undefined (
|
|
9
11
|
sequence<ComputePressureRecord> changes,
|
|
10
12
|
ComputePressureObserver observer
|
|
11
13
|
);
|
|
12
14
|
|
|
13
|
-
enum
|
|
15
|
+
enum ComputePressureSource { "cpu" };
|
|
14
16
|
|
|
15
17
|
[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
|
|
16
18
|
interface ComputePressureObserver {
|
|
17
19
|
constructor(ComputePressureUpdateCallback callback);
|
|
18
20
|
|
|
19
|
-
undefined observe(
|
|
20
|
-
undefined unobserve(
|
|
21
|
+
undefined observe(ComputePressureSource source, optional ComputePressureObserverOptions options = {});
|
|
22
|
+
undefined unobserve(ComputePressureSource source);
|
|
21
23
|
undefined disconnect();
|
|
22
24
|
sequence<ComputePressureRecord> takeRecords();
|
|
23
25
|
|
|
24
|
-
[SameObject] static readonly attribute FrozenArray<DOMString>
|
|
26
|
+
[SameObject] static readonly attribute FrozenArray<DOMString> supportedSources;
|
|
25
27
|
|
|
26
28
|
[Exposed=Window] static Promise<PermissionState> requestPermission();
|
|
27
29
|
};
|
|
28
30
|
|
|
29
31
|
dictionary ComputePressureRecord {
|
|
30
|
-
|
|
32
|
+
ComputePressureSource source;
|
|
33
|
+
ComputePressureState state;
|
|
34
|
+
sequence<ComputePressureFactor> factors;
|
|
35
|
+
DOMHighResTimeStamp timestamp;
|
|
31
36
|
ComputePressureObserverOptions options;
|
|
32
37
|
};
|
|
33
38
|
|
|
34
39
|
dictionary ComputePressureObserverOptions {
|
|
35
|
-
|
|
40
|
+
double frequency;
|
|
36
41
|
};
|
package/css-typed-om.idl
CHANGED
|
@@ -199,6 +199,30 @@ partial namespace CSS {
|
|
|
199
199
|
CSSUnitValue vb(double value);
|
|
200
200
|
CSSUnitValue vmin(double value);
|
|
201
201
|
CSSUnitValue vmax(double value);
|
|
202
|
+
CSSUnitValue svw(double value);
|
|
203
|
+
CSSUnitValue svh(double value);
|
|
204
|
+
CSSUnitValue svi(double value);
|
|
205
|
+
CSSUnitValue svb(double value);
|
|
206
|
+
CSSUnitValue svmin(double value);
|
|
207
|
+
CSSUnitValue svmax(double value);
|
|
208
|
+
CSSUnitValue lvw(double value);
|
|
209
|
+
CSSUnitValue lvh(double value);
|
|
210
|
+
CSSUnitValue lvi(double value);
|
|
211
|
+
CSSUnitValue lvb(double value);
|
|
212
|
+
CSSUnitValue lvmin(double value);
|
|
213
|
+
CSSUnitValue lvmax(double value);
|
|
214
|
+
CSSUnitValue dvw(double value);
|
|
215
|
+
CSSUnitValue dvh(double value);
|
|
216
|
+
CSSUnitValue dvi(double value);
|
|
217
|
+
CSSUnitValue dvb(double value);
|
|
218
|
+
CSSUnitValue dvmin(double value);
|
|
219
|
+
CSSUnitValue dvmax(double value);
|
|
220
|
+
CSSUnitValue cqw(double value);
|
|
221
|
+
CSSUnitValue cqh(double value);
|
|
222
|
+
CSSUnitValue cqi(double value);
|
|
223
|
+
CSSUnitValue cqb(double value);
|
|
224
|
+
CSSUnitValue cqmin(double value);
|
|
225
|
+
CSSUnitValue cqmax(double value);
|
|
202
226
|
CSSUnitValue cm(double value);
|
|
203
227
|
CSSUnitValue mm(double value);
|
|
204
228
|
CSSUnitValue Q(double value);
|
package/html.idl
CHANGED
|
@@ -116,6 +116,7 @@ interface HTMLElement : Element {
|
|
|
116
116
|
|
|
117
117
|
// user interaction
|
|
118
118
|
[CEReactions] attribute boolean hidden;
|
|
119
|
+
[CEReactions] attribute boolean inert;
|
|
119
120
|
undefined click();
|
|
120
121
|
[CEReactions] attribute DOMString accessKey;
|
|
121
122
|
readonly attribute DOMString accessKeyLabel;
|
|
@@ -1480,7 +1481,7 @@ interface mixin CanvasPath {
|
|
|
1480
1481
|
undefined bezierCurveTo(unrestricted double cp1x, unrestricted double cp1y, unrestricted double cp2x, unrestricted double cp2y, unrestricted double x, unrestricted double y);
|
|
1481
1482
|
undefined arcTo(unrestricted double x1, unrestricted double y1, unrestricted double x2, unrestricted double y2, unrestricted double radius);
|
|
1482
1483
|
undefined rect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h);
|
|
1483
|
-
undefined roundRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h, optional (unrestricted double or DOMPointInit or sequence<(unrestricted double or DOMPointInit)>) radii =
|
|
1484
|
+
undefined roundRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h, optional (unrestricted double or DOMPointInit or sequence<(unrestricted double or DOMPointInit)>) radii = 0);
|
|
1484
1485
|
undefined arc(unrestricted double x, unrestricted double y, unrestricted double radius, unrestricted double startAngle, unrestricted double endAngle, optional boolean counterclockwise = false);
|
|
1485
1486
|
undefined ellipse(unrestricted double x, unrestricted double y, unrestricted double radiusX, unrestricted double radiusY, unrestricted double rotation, unrestricted double startAngle, unrestricted double endAngle, optional boolean counterclockwise = false);
|
|
1486
1487
|
};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Navigation API (https://wicg.github.io/navigation-api/)
|
|
5
|
+
|
|
6
|
+
partial interface Window {
|
|
7
|
+
[Replaceable] readonly attribute Navigation navigation;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Exposed=Window]
|
|
11
|
+
interface Navigation : EventTarget {
|
|
12
|
+
sequence<NavigationHistoryEntry> entries();
|
|
13
|
+
readonly attribute NavigationHistoryEntry? currentEntry;
|
|
14
|
+
undefined updateCurrentEntry(NavigationUpdateCurrentEntryOptions options);
|
|
15
|
+
readonly attribute NavigationTransition? transition;
|
|
16
|
+
|
|
17
|
+
readonly attribute boolean canGoBack;
|
|
18
|
+
readonly attribute boolean canGoForward;
|
|
19
|
+
|
|
20
|
+
NavigationResult navigate(USVString url, optional NavigationNavigateOptions options = {});
|
|
21
|
+
NavigationResult reload(optional NavigationReloadOptions options = {});
|
|
22
|
+
|
|
23
|
+
NavigationResult traverseTo(DOMString key, optional NavigationOptions options = {});
|
|
24
|
+
NavigationResult back(optional NavigationOptions options = {});
|
|
25
|
+
NavigationResult forward(optional NavigationOptions options = {});
|
|
26
|
+
|
|
27
|
+
attribute EventHandler onnavigate;
|
|
28
|
+
attribute EventHandler onnavigatesuccess;
|
|
29
|
+
attribute EventHandler onnavigateerror;
|
|
30
|
+
attribute EventHandler oncurrententrychange;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
dictionary NavigationUpdateCurrentEntryOptions {
|
|
34
|
+
required any state;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
dictionary NavigationOptions {
|
|
38
|
+
any info;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
dictionary NavigationNavigateOptions : NavigationOptions {
|
|
42
|
+
any state;
|
|
43
|
+
boolean replace = false;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
dictionary NavigationReloadOptions : NavigationOptions {
|
|
47
|
+
any state;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
dictionary NavigationResult {
|
|
51
|
+
Promise<NavigationHistoryEntry> committed;
|
|
52
|
+
Promise<NavigationHistoryEntry> finished;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
[Exposed=Window]
|
|
56
|
+
interface NavigationCurrentEntryChangeEvent : Event {
|
|
57
|
+
constructor(DOMString type, NavigationCurrentEntryChangeEventInit eventInit);
|
|
58
|
+
|
|
59
|
+
readonly attribute NavigationNavigationType? navigationType;
|
|
60
|
+
readonly attribute NavigationHistoryEntry from;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
dictionary NavigationCurrentEntryChangeEventInit : EventInit {
|
|
64
|
+
NavigationNavigationType? navigationType = null;
|
|
65
|
+
required NavigationHistoryEntry destination;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
[Exposed=Window]
|
|
69
|
+
interface NavigationTransition {
|
|
70
|
+
readonly attribute NavigationNavigationType navigationType;
|
|
71
|
+
readonly attribute NavigationHistoryEntry from;
|
|
72
|
+
readonly attribute Promise<undefined> finished;
|
|
73
|
+
|
|
74
|
+
NavigationResult rollback(optional NavigationOptions options = {});
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
[Exposed=Window]
|
|
78
|
+
interface NavigateEvent : Event {
|
|
79
|
+
constructor(DOMString type, NavigateEventInit eventInit);
|
|
80
|
+
|
|
81
|
+
readonly attribute NavigationNavigationType navigationType;
|
|
82
|
+
readonly attribute NavigationDestination destination;
|
|
83
|
+
readonly attribute boolean canTransition;
|
|
84
|
+
readonly attribute boolean userInitiated;
|
|
85
|
+
readonly attribute boolean hashChange;
|
|
86
|
+
readonly attribute AbortSignal signal;
|
|
87
|
+
readonly attribute FormData? formData;
|
|
88
|
+
readonly attribute any info;
|
|
89
|
+
|
|
90
|
+
undefined transitionWhile(Promise<undefined> newNavigationAction);
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
dictionary NavigateEventInit : EventInit {
|
|
94
|
+
NavigationNavigationType navigationType = "push";
|
|
95
|
+
required NavigationDestination destination;
|
|
96
|
+
boolean canTransition = false;
|
|
97
|
+
boolean userInitiated = false;
|
|
98
|
+
boolean hashChange = false;
|
|
99
|
+
required AbortSignal signal;
|
|
100
|
+
FormData? formData = null;
|
|
101
|
+
any info;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
// TODO: rename to NavigationType after https://github.com/w3c/navigation-timing/pull/172 lands.
|
|
105
|
+
enum NavigationNavigationType {
|
|
106
|
+
"reload",
|
|
107
|
+
"push",
|
|
108
|
+
"replace",
|
|
109
|
+
"traverse"
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
[Exposed=Window]
|
|
113
|
+
interface NavigationDestination {
|
|
114
|
+
readonly attribute USVString url;
|
|
115
|
+
readonly attribute DOMString? key;
|
|
116
|
+
readonly attribute DOMString? id;
|
|
117
|
+
readonly attribute long long index;
|
|
118
|
+
readonly attribute boolean sameDocument;
|
|
119
|
+
|
|
120
|
+
any getState();
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
[Exposed=Window]
|
|
124
|
+
interface NavigationHistoryEntry : EventTarget {
|
|
125
|
+
readonly attribute USVString? url;
|
|
126
|
+
readonly attribute DOMString key;
|
|
127
|
+
readonly attribute DOMString id;
|
|
128
|
+
readonly attribute long long index;
|
|
129
|
+
readonly attribute boolean sameDocument;
|
|
130
|
+
|
|
131
|
+
any getState();
|
|
132
|
+
|
|
133
|
+
attribute EventHandler onnavigateto;
|
|
134
|
+
attribute EventHandler onnavigatefrom;
|
|
135
|
+
attribute EventHandler onfinish;
|
|
136
|
+
attribute EventHandler ondispose;
|
|
137
|
+
};
|
package/navigation-timing.idl
CHANGED
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface PerformanceNavigationTiming : PerformanceResourceTiming {
|
|
8
|
-
readonly attribute DOMHighResTimeStamp
|
|
9
|
-
readonly attribute DOMHighResTimeStamp
|
|
10
|
-
readonly attribute DOMHighResTimeStamp
|
|
11
|
-
readonly attribute DOMHighResTimeStamp
|
|
12
|
-
readonly attribute DOMHighResTimeStamp
|
|
13
|
-
readonly attribute DOMHighResTimeStamp
|
|
14
|
-
readonly attribute DOMHighResTimeStamp
|
|
15
|
-
readonly attribute DOMHighResTimeStamp
|
|
16
|
-
readonly attribute
|
|
17
|
-
readonly attribute unsigned short
|
|
8
|
+
readonly attribute DOMHighResTimeStamp unloadEventStart;
|
|
9
|
+
readonly attribute DOMHighResTimeStamp unloadEventEnd;
|
|
10
|
+
readonly attribute DOMHighResTimeStamp domInteractive;
|
|
11
|
+
readonly attribute DOMHighResTimeStamp domContentLoadedEventStart;
|
|
12
|
+
readonly attribute DOMHighResTimeStamp domContentLoadedEventEnd;
|
|
13
|
+
readonly attribute DOMHighResTimeStamp domComplete;
|
|
14
|
+
readonly attribute DOMHighResTimeStamp loadEventStart;
|
|
15
|
+
readonly attribute DOMHighResTimeStamp loadEventEnd;
|
|
16
|
+
readonly attribute NavigationTimingType type;
|
|
17
|
+
readonly attribute unsigned short redirectCount;
|
|
18
18
|
[Default] object toJSON();
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
enum
|
|
21
|
+
enum NavigationTimingType {
|
|
22
22
|
"navigate",
|
|
23
23
|
"reload",
|
|
24
24
|
"back_forward",
|
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.
|
|
4
|
+
"version": "3.4.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.2.
|
|
15
|
+
"webidl2": "^24.2.1"
|
|
16
16
|
}
|
|
17
17
|
}
|
package/priority-hints.idl
CHANGED
|
@@ -3,28 +3,28 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Priority Hints (https://wicg.github.io/priority-hints/)
|
|
5
5
|
|
|
6
|
-
enum
|
|
6
|
+
enum FetchPriority { "high", "low", "auto" };
|
|
7
7
|
|
|
8
8
|
partial interface Request {
|
|
9
|
-
readonly attribute
|
|
9
|
+
readonly attribute FetchPriority priority;
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
partial dictionary RequestInit {
|
|
13
|
-
|
|
13
|
+
FetchPriority priority;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
partial interface HTMLImageElement {
|
|
17
|
-
[CEReactions] attribute DOMString
|
|
17
|
+
[CEReactions] attribute DOMString fetchpriority;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
partial interface HTMLLinkElement {
|
|
21
|
-
[CEReactions] attribute DOMString
|
|
21
|
+
[CEReactions] attribute DOMString fetchpriority;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
partial interface HTMLScriptElement {
|
|
25
|
-
[CEReactions] attribute DOMString
|
|
25
|
+
[CEReactions] attribute DOMString fetchpriority;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
partial interface HTMLIFrameElement {
|
|
29
|
-
[CEReactions] attribute DOMString
|
|
29
|
+
[CEReactions] attribute DOMString fetchpriority;
|
|
30
30
|
};
|
package/webgpu.idl
CHANGED
|
@@ -84,6 +84,7 @@ interface GPUAdapter {
|
|
|
84
84
|
dictionary GPUDeviceDescriptor : GPUObjectDescriptorBase {
|
|
85
85
|
sequence<GPUFeatureName> requiredFeatures = [];
|
|
86
86
|
record<DOMString, GPUSize64> requiredLimits = {};
|
|
87
|
+
GPUQueueDescriptor defaultQueue = {};
|
|
87
88
|
};
|
|
88
89
|
|
|
89
90
|
enum GPUFeatureName {
|
|
@@ -375,7 +376,7 @@ dictionary GPUSamplerDescriptor : GPUObjectDescriptorBase {
|
|
|
375
376
|
GPUAddressMode addressModeW = "clamp-to-edge";
|
|
376
377
|
GPUFilterMode magFilter = "nearest";
|
|
377
378
|
GPUFilterMode minFilter = "nearest";
|
|
378
|
-
|
|
379
|
+
GPUMipmapFilterMode mipmapFilter = "nearest";
|
|
379
380
|
float lodMinClamp = 0;
|
|
380
381
|
float lodMaxClamp = 32;
|
|
381
382
|
GPUCompareFunction compare;
|
|
@@ -393,6 +394,11 @@ enum GPUFilterMode {
|
|
|
393
394
|
"linear",
|
|
394
395
|
};
|
|
395
396
|
|
|
397
|
+
enum GPUMipmapFilterMode {
|
|
398
|
+
"nearest",
|
|
399
|
+
"linear",
|
|
400
|
+
};
|
|
401
|
+
|
|
396
402
|
enum GPUCompareFunction {
|
|
397
403
|
"never",
|
|
398
404
|
"less",
|
|
@@ -1034,6 +1040,9 @@ dictionary GPURenderBundleEncoderDescriptor : GPURenderPassLayout {
|
|
|
1034
1040
|
boolean stencilReadOnly = false;
|
|
1035
1041
|
};
|
|
1036
1042
|
|
|
1043
|
+
dictionary GPUQueueDescriptor : GPUObjectDescriptorBase {
|
|
1044
|
+
};
|
|
1045
|
+
|
|
1037
1046
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1038
1047
|
interface GPUQueue {
|
|
1039
1048
|
undefined submit(sequence<GPUCommandBuffer> commandBuffers);
|
package/webusb.idl
CHANGED
|
@@ -47,69 +47,12 @@ interface USBConnectionEvent : Event {
|
|
|
47
47
|
[SameObject] readonly attribute USBDevice device;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
|
|
51
|
-
interface USBDevice {
|
|
52
|
-
readonly attribute octet usbVersionMajor;
|
|
53
|
-
readonly attribute octet usbVersionMinor;
|
|
54
|
-
readonly attribute octet usbVersionSubminor;
|
|
55
|
-
readonly attribute octet deviceClass;
|
|
56
|
-
readonly attribute octet deviceSubclass;
|
|
57
|
-
readonly attribute octet deviceProtocol;
|
|
58
|
-
readonly attribute unsigned short vendorId;
|
|
59
|
-
readonly attribute unsigned short productId;
|
|
60
|
-
readonly attribute octet deviceVersionMajor;
|
|
61
|
-
readonly attribute octet deviceVersionMinor;
|
|
62
|
-
readonly attribute octet deviceVersionSubminor;
|
|
63
|
-
readonly attribute DOMString? manufacturerName;
|
|
64
|
-
readonly attribute DOMString? productName;
|
|
65
|
-
readonly attribute DOMString? serialNumber;
|
|
66
|
-
readonly attribute USBConfiguration? configuration;
|
|
67
|
-
readonly attribute FrozenArray<USBConfiguration> configurations;
|
|
68
|
-
readonly attribute boolean opened;
|
|
69
|
-
Promise<undefined> open();
|
|
70
|
-
Promise<undefined> close();
|
|
71
|
-
Promise<undefined> forget();
|
|
72
|
-
Promise<undefined> selectConfiguration(octet configurationValue);
|
|
73
|
-
Promise<undefined> claimInterface(octet interfaceNumber);
|
|
74
|
-
Promise<undefined> releaseInterface(octet interfaceNumber);
|
|
75
|
-
Promise<undefined> selectAlternateInterface(octet interfaceNumber, octet alternateSetting);
|
|
76
|
-
Promise<USBInTransferResult> controlTransferIn(USBControlTransferParameters setup, unsigned short length);
|
|
77
|
-
Promise<USBOutTransferResult> controlTransferOut(USBControlTransferParameters setup, optional BufferSource data);
|
|
78
|
-
Promise<undefined> clearHalt(USBDirection direction, octet endpointNumber);
|
|
79
|
-
Promise<USBInTransferResult> transferIn(octet endpointNumber, unsigned long length);
|
|
80
|
-
Promise<USBOutTransferResult> transferOut(octet endpointNumber, BufferSource data);
|
|
81
|
-
Promise<USBIsochronousInTransferResult> isochronousTransferIn(octet endpointNumber, sequence<unsigned long> packetLengths);
|
|
82
|
-
Promise<USBIsochronousOutTransferResult> isochronousTransferOut(octet endpointNumber, BufferSource data, sequence<unsigned long> packetLengths);
|
|
83
|
-
Promise<undefined> reset();
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
enum USBRequestType {
|
|
87
|
-
"standard",
|
|
88
|
-
"class",
|
|
89
|
-
"vendor"
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
enum USBRecipient {
|
|
93
|
-
"device",
|
|
94
|
-
"interface",
|
|
95
|
-
"endpoint",
|
|
96
|
-
"other"
|
|
97
|
-
};
|
|
98
|
-
|
|
99
50
|
enum USBTransferStatus {
|
|
100
51
|
"ok",
|
|
101
52
|
"stall",
|
|
102
53
|
"babble"
|
|
103
54
|
};
|
|
104
55
|
|
|
105
|
-
dictionary USBControlTransferParameters {
|
|
106
|
-
required USBRequestType requestType;
|
|
107
|
-
required USBRecipient recipient;
|
|
108
|
-
required octet request;
|
|
109
|
-
required unsigned short value;
|
|
110
|
-
required unsigned short index;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
56
|
[
|
|
114
57
|
Exposed=(DedicatedWorker,SharedWorker,Window),
|
|
115
58
|
SecureContext
|
|
@@ -169,6 +112,63 @@ interface USBIsochronousOutTransferResult {
|
|
|
169
112
|
readonly attribute FrozenArray<USBIsochronousOutTransferPacket> packets;
|
|
170
113
|
};
|
|
171
114
|
|
|
115
|
+
[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
|
|
116
|
+
interface USBDevice {
|
|
117
|
+
readonly attribute octet usbVersionMajor;
|
|
118
|
+
readonly attribute octet usbVersionMinor;
|
|
119
|
+
readonly attribute octet usbVersionSubminor;
|
|
120
|
+
readonly attribute octet deviceClass;
|
|
121
|
+
readonly attribute octet deviceSubclass;
|
|
122
|
+
readonly attribute octet deviceProtocol;
|
|
123
|
+
readonly attribute unsigned short vendorId;
|
|
124
|
+
readonly attribute unsigned short productId;
|
|
125
|
+
readonly attribute octet deviceVersionMajor;
|
|
126
|
+
readonly attribute octet deviceVersionMinor;
|
|
127
|
+
readonly attribute octet deviceVersionSubminor;
|
|
128
|
+
readonly attribute DOMString? manufacturerName;
|
|
129
|
+
readonly attribute DOMString? productName;
|
|
130
|
+
readonly attribute DOMString? serialNumber;
|
|
131
|
+
readonly attribute USBConfiguration? configuration;
|
|
132
|
+
readonly attribute FrozenArray<USBConfiguration> configurations;
|
|
133
|
+
readonly attribute boolean opened;
|
|
134
|
+
Promise<undefined> open();
|
|
135
|
+
Promise<undefined> close();
|
|
136
|
+
Promise<undefined> forget();
|
|
137
|
+
Promise<undefined> selectConfiguration(octet configurationValue);
|
|
138
|
+
Promise<undefined> claimInterface(octet interfaceNumber);
|
|
139
|
+
Promise<undefined> releaseInterface(octet interfaceNumber);
|
|
140
|
+
Promise<undefined> selectAlternateInterface(octet interfaceNumber, octet alternateSetting);
|
|
141
|
+
Promise<USBInTransferResult> controlTransferIn(USBControlTransferParameters setup, unsigned short length);
|
|
142
|
+
Promise<USBOutTransferResult> controlTransferOut(USBControlTransferParameters setup, optional BufferSource data);
|
|
143
|
+
Promise<undefined> clearHalt(USBDirection direction, octet endpointNumber);
|
|
144
|
+
Promise<USBInTransferResult> transferIn(octet endpointNumber, unsigned long length);
|
|
145
|
+
Promise<USBOutTransferResult> transferOut(octet endpointNumber, BufferSource data);
|
|
146
|
+
Promise<USBIsochronousInTransferResult> isochronousTransferIn(octet endpointNumber, sequence<unsigned long> packetLengths);
|
|
147
|
+
Promise<USBIsochronousOutTransferResult> isochronousTransferOut(octet endpointNumber, BufferSource data, sequence<unsigned long> packetLengths);
|
|
148
|
+
Promise<undefined> reset();
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
enum USBRequestType {
|
|
152
|
+
"standard",
|
|
153
|
+
"class",
|
|
154
|
+
"vendor"
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
enum USBRecipient {
|
|
158
|
+
"device",
|
|
159
|
+
"interface",
|
|
160
|
+
"endpoint",
|
|
161
|
+
"other"
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
dictionary USBControlTransferParameters {
|
|
165
|
+
required USBRequestType requestType;
|
|
166
|
+
required USBRecipient recipient;
|
|
167
|
+
required octet request;
|
|
168
|
+
required unsigned short value;
|
|
169
|
+
required unsigned short index;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
172
|
[
|
|
173
173
|
Exposed=(DedicatedWorker,SharedWorker,Window),
|
|
174
174
|
SecureContext
|
package/app-history.idl
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
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
|
-
attribute EventHandler oncurrentchange;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
dictionary AppHistoryUpdateCurrentOptions {
|
|
34
|
-
required any state;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
dictionary AppHistoryNavigationOptions {
|
|
38
|
-
any info;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
dictionary AppHistoryNavigateOptions : AppHistoryNavigationOptions {
|
|
42
|
-
any state;
|
|
43
|
-
boolean replace = false;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
dictionary AppHistoryReloadOptions : AppHistoryNavigationOptions {
|
|
47
|
-
any state;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
dictionary AppHistoryResult {
|
|
51
|
-
Promise<AppHistoryEntry> committed;
|
|
52
|
-
Promise<AppHistoryEntry> finished;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
[Exposed=Window]
|
|
56
|
-
interface AppHistoryCurrentChangeEvent : Event {
|
|
57
|
-
constructor(DOMString type, AppHistoryCurrentChangeEventInit eventInit);
|
|
58
|
-
|
|
59
|
-
readonly attribute AppHistoryNavigationType? navigationType;
|
|
60
|
-
readonly attribute AppHistoryEntry from;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
dictionary AppHistoryCurrentChangeEventInit : EventInit {
|
|
64
|
-
AppHistoryNavigationType? navigationType = null;
|
|
65
|
-
required AppHistoryEntry destination;
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
[Exposed=Window]
|
|
69
|
-
interface AppHistoryTransition {
|
|
70
|
-
readonly attribute AppHistoryNavigationType navigationType;
|
|
71
|
-
readonly attribute AppHistoryEntry from;
|
|
72
|
-
readonly attribute Promise<undefined> finished;
|
|
73
|
-
|
|
74
|
-
AppHistoryResult rollback(optional AppHistoryNavigationOptions options = {});
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
[Exposed=Window]
|
|
78
|
-
interface AppHistoryNavigateEvent : Event {
|
|
79
|
-
constructor(DOMString type, AppHistoryNavigateEventInit eventInit);
|
|
80
|
-
|
|
81
|
-
readonly attribute AppHistoryNavigationType navigationType;
|
|
82
|
-
readonly attribute AppHistoryDestination destination;
|
|
83
|
-
readonly attribute boolean canTransition;
|
|
84
|
-
readonly attribute boolean userInitiated;
|
|
85
|
-
readonly attribute boolean hashChange;
|
|
86
|
-
readonly attribute AbortSignal signal;
|
|
87
|
-
readonly attribute FormData? formData;
|
|
88
|
-
readonly attribute any info;
|
|
89
|
-
|
|
90
|
-
undefined transitionWhile(Promise<undefined> newNavigationAction);
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
dictionary AppHistoryNavigateEventInit : EventInit {
|
|
94
|
-
AppHistoryNavigationType navigationType = "push";
|
|
95
|
-
required AppHistoryDestination destination;
|
|
96
|
-
boolean canTransition = false;
|
|
97
|
-
boolean userInitiated = false;
|
|
98
|
-
boolean hashChange = false;
|
|
99
|
-
required AbortSignal signal;
|
|
100
|
-
FormData? formData = null;
|
|
101
|
-
any info;
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
enum AppHistoryNavigationType {
|
|
105
|
-
"reload",
|
|
106
|
-
"push",
|
|
107
|
-
"replace",
|
|
108
|
-
"traverse"
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
[Exposed=Window]
|
|
112
|
-
interface AppHistoryDestination {
|
|
113
|
-
readonly attribute USVString url;
|
|
114
|
-
readonly attribute DOMString? key;
|
|
115
|
-
readonly attribute DOMString? id;
|
|
116
|
-
readonly attribute long long index;
|
|
117
|
-
readonly attribute boolean sameDocument;
|
|
118
|
-
|
|
119
|
-
any getState();
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
[Exposed=Window]
|
|
123
|
-
interface AppHistoryEntry : EventTarget {
|
|
124
|
-
readonly attribute USVString? url;
|
|
125
|
-
readonly attribute DOMString key;
|
|
126
|
-
readonly attribute DOMString id;
|
|
127
|
-
readonly attribute long long index;
|
|
128
|
-
readonly attribute boolean sameDocument;
|
|
129
|
-
|
|
130
|
-
any getState();
|
|
131
|
-
|
|
132
|
-
attribute EventHandler onnavigateto;
|
|
133
|
-
attribute EventHandler onnavigatefrom;
|
|
134
|
-
attribute EventHandler onfinish;
|
|
135
|
-
attribute EventHandler ondispose;
|
|
136
|
-
};
|
package/floc.idl
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
-
// Content was automatically extracted by Reffy into webref
|
|
3
|
-
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: Federated Learning of Cohorts (https://wicg.github.io/floc/)
|
|
5
|
-
|
|
6
|
-
dictionary InterestCohort {
|
|
7
|
-
DOMString id;
|
|
8
|
-
DOMString version;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
partial interface Document {
|
|
12
|
-
Promise<InterestCohort> interestCohort();
|
|
13
|
-
};
|