@webref/idl 3.3.0 → 3.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/{autoplay.idl → autoplay-detection.idl} +0 -0
- package/compute-pressure.idl +6 -7
- package/css-typed-om.idl +24 -0
- package/cssom-view.idl +10 -0
- package/digital-goods.idl +44 -0
- package/file-system-access.idl +1 -72
- package/fs.idl +78 -0
- package/html.idl +2 -1
- package/local-font-access.idl +3 -3
- package/mediacapture-handle-actions.idl +31 -0
- package/mediacapture-handle-identity.idl +37 -0
- package/mediacapture-region.idl +1 -1
- package/{app-history.idl → navigation-api.idl} +10 -2
- package/package.json +2 -2
- package/secure-payment-confirmation.idl +5 -2
- package/webgpu.idl +10 -1
- package/webhid.idl +1 -0
- package/floc.idl +0 -13
|
File without changes
|
package/compute-pressure.idl
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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: Compute Pressure API (https://wicg.github.io/compute-pressure/)
|
|
4
|
+
// Source: Compute Pressure API Level 1 (https://wicg.github.io/compute-pressure/)
|
|
5
5
|
|
|
6
6
|
enum ComputePressureState { "nominal", "fair", "serious", "critical" };
|
|
7
7
|
|
|
@@ -16,14 +16,14 @@ enum ComputePressureSource { "cpu" };
|
|
|
16
16
|
|
|
17
17
|
[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
|
|
18
18
|
interface ComputePressureObserver {
|
|
19
|
-
constructor(ComputePressureUpdateCallback callback);
|
|
19
|
+
constructor(ComputePressureUpdateCallback callback, optional ComputePressureObserverOptions options = {});
|
|
20
20
|
|
|
21
|
-
undefined observe(ComputePressureSource source
|
|
21
|
+
undefined observe(ComputePressureSource source);
|
|
22
22
|
undefined unobserve(ComputePressureSource source);
|
|
23
23
|
undefined disconnect();
|
|
24
24
|
sequence<ComputePressureRecord> takeRecords();
|
|
25
25
|
|
|
26
|
-
[SameObject] static readonly attribute FrozenArray<
|
|
26
|
+
[SameObject] static readonly attribute FrozenArray<ComputePressureSource> supportedSources;
|
|
27
27
|
|
|
28
28
|
[Exposed=Window] static Promise<PermissionState> requestPermission();
|
|
29
29
|
};
|
|
@@ -32,10 +32,9 @@ dictionary ComputePressureRecord {
|
|
|
32
32
|
ComputePressureSource source;
|
|
33
33
|
ComputePressureState state;
|
|
34
34
|
sequence<ComputePressureFactor> factors;
|
|
35
|
-
DOMHighResTimeStamp
|
|
36
|
-
ComputePressureObserverOptions options;
|
|
35
|
+
DOMHighResTimeStamp time;
|
|
37
36
|
};
|
|
38
37
|
|
|
39
38
|
dictionary ComputePressureObserverOptions {
|
|
40
|
-
|
|
39
|
+
double frequency;
|
|
41
40
|
};
|
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/cssom-view.idl
CHANGED
|
@@ -100,9 +100,19 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
|
|
|
100
100
|
ScrollLogicalPosition inline = "nearest";
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
+
dictionary IsVisibleOptions {
|
|
104
|
+
boolean checkAriaHidden = false;
|
|
105
|
+
boolean checkInert = false;
|
|
106
|
+
boolean checkOpacity = false;
|
|
107
|
+
boolean checkVisibilityCSS = false;
|
|
108
|
+
};
|
|
109
|
+
|
|
103
110
|
partial interface Element {
|
|
104
111
|
DOMRectList getClientRects();
|
|
105
112
|
[NewObject] DOMRect getBoundingClientRect();
|
|
113
|
+
|
|
114
|
+
boolean isVisible(optional IsVisibleOptions options = {});
|
|
115
|
+
|
|
106
116
|
undefined scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
|
|
107
117
|
undefined scroll(optional ScrollToOptions options = {});
|
|
108
118
|
undefined scroll(unrestricted double x, unrestricted double y);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Digital Goods API (https://wicg.github.io/digital-goods/)
|
|
5
|
+
|
|
6
|
+
partial interface Window {
|
|
7
|
+
[SecureContext] Promise<DigitalGoodsService> getDigitalGoodsService(
|
|
8
|
+
DOMString serviceProvider);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[Exposed=Window, SecureContext] interface DigitalGoodsService {
|
|
12
|
+
|
|
13
|
+
Promise<sequence<ItemDetails>> getDetails(sequence<DOMString> itemIds);
|
|
14
|
+
|
|
15
|
+
Promise<sequence<PurchaseDetails>> listPurchases();
|
|
16
|
+
|
|
17
|
+
Promise<sequence<PurchaseDetails>> listPurchaseHistory();
|
|
18
|
+
|
|
19
|
+
Promise<undefined> consume(DOMString purchaseToken);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
dictionary ItemDetails {
|
|
23
|
+
required DOMString itemId;
|
|
24
|
+
required DOMString title;
|
|
25
|
+
required PaymentCurrencyAmount price;
|
|
26
|
+
ItemType type;
|
|
27
|
+
DOMString description;
|
|
28
|
+
sequence<DOMString> iconURLs;
|
|
29
|
+
DOMString subscriptionPeriod;
|
|
30
|
+
DOMString freeTrialPeriod;
|
|
31
|
+
PaymentCurrencyAmount introductoryPrice;
|
|
32
|
+
DOMString introductoryPricePeriod;
|
|
33
|
+
[EnforceRange] unsigned long long introductoryPriceCycles;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
enum ItemType {
|
|
37
|
+
"product",
|
|
38
|
+
"subscription",
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
dictionary PurchaseDetails {
|
|
42
|
+
required DOMString itemId;
|
|
43
|
+
required DOMString purchaseToken;
|
|
44
|
+
};
|
package/file-system-access.idl
CHANGED
|
@@ -17,78 +17,12 @@ dictionary FileSystemHandlePermissionDescriptor {
|
|
|
17
17
|
FileSystemPermissionMode mode = "read";
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
enum FileSystemHandleKind {
|
|
21
|
-
"file",
|
|
22
|
-
"directory",
|
|
23
|
-
};
|
|
24
|
-
|
|
25
20
|
[Exposed=(Window,Worker), SecureContext, Serializable]
|
|
26
|
-
interface FileSystemHandle {
|
|
27
|
-
readonly attribute FileSystemHandleKind kind;
|
|
28
|
-
readonly attribute USVString name;
|
|
29
|
-
|
|
30
|
-
Promise<boolean> isSameEntry(FileSystemHandle other);
|
|
31
|
-
|
|
21
|
+
partial interface FileSystemHandle {
|
|
32
22
|
Promise<PermissionState> queryPermission(optional FileSystemHandlePermissionDescriptor descriptor = {});
|
|
33
23
|
Promise<PermissionState> requestPermission(optional FileSystemHandlePermissionDescriptor descriptor = {});
|
|
34
24
|
};
|
|
35
25
|
|
|
36
|
-
dictionary FileSystemCreateWritableOptions {
|
|
37
|
-
boolean keepExistingData = false;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
[Exposed=(Window,Worker), SecureContext, Serializable]
|
|
41
|
-
interface FileSystemFileHandle : FileSystemHandle {
|
|
42
|
-
Promise<File> getFile();
|
|
43
|
-
Promise<FileSystemWritableFileStream> createWritable(optional FileSystemCreateWritableOptions options = {});
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
dictionary FileSystemGetFileOptions {
|
|
47
|
-
boolean create = false;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
dictionary FileSystemGetDirectoryOptions {
|
|
51
|
-
boolean create = false;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
dictionary FileSystemRemoveOptions {
|
|
55
|
-
boolean recursive = false;
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
[Exposed=(Window,Worker), SecureContext, Serializable]
|
|
59
|
-
interface FileSystemDirectoryHandle : FileSystemHandle {
|
|
60
|
-
async iterable<USVString, FileSystemHandle>;
|
|
61
|
-
|
|
62
|
-
Promise<FileSystemFileHandle> getFileHandle(USVString name, optional FileSystemGetFileOptions options = {});
|
|
63
|
-
Promise<FileSystemDirectoryHandle> getDirectoryHandle(USVString name, optional FileSystemGetDirectoryOptions options = {});
|
|
64
|
-
|
|
65
|
-
Promise<undefined> removeEntry(USVString name, optional FileSystemRemoveOptions options = {});
|
|
66
|
-
|
|
67
|
-
Promise<sequence<USVString>?> resolve(FileSystemHandle possibleDescendant);
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
enum WriteCommandType {
|
|
71
|
-
"write",
|
|
72
|
-
"seek",
|
|
73
|
-
"truncate",
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
dictionary WriteParams {
|
|
77
|
-
required WriteCommandType type;
|
|
78
|
-
unsigned long long? size;
|
|
79
|
-
unsigned long long? position;
|
|
80
|
-
(BufferSource or Blob or USVString)? data;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
typedef (BufferSource or Blob or USVString or WriteParams) FileSystemWriteChunkType;
|
|
84
|
-
|
|
85
|
-
[Exposed=(Window,Worker), SecureContext]
|
|
86
|
-
interface FileSystemWritableFileStream : WritableStream {
|
|
87
|
-
Promise<undefined> write(FileSystemWriteChunkType data);
|
|
88
|
-
Promise<undefined> seek(unsigned long long position);
|
|
89
|
-
Promise<undefined> truncate(unsigned long long size);
|
|
90
|
-
};
|
|
91
|
-
|
|
92
26
|
enum WellKnownDirectory {
|
|
93
27
|
"desktop",
|
|
94
28
|
"documents",
|
|
@@ -135,8 +69,3 @@ partial interface Window {
|
|
|
135
69
|
partial interface DataTransferItem {
|
|
136
70
|
Promise<FileSystemHandle?> getAsFileSystemHandle();
|
|
137
71
|
};
|
|
138
|
-
|
|
139
|
-
[SecureContext]
|
|
140
|
-
partial interface StorageManager {
|
|
141
|
-
Promise<FileSystemDirectoryHandle> getDirectory();
|
|
142
|
-
};
|
package/fs.idl
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: File System Standard (https://fs.spec.whatwg.org/)
|
|
5
|
+
|
|
6
|
+
enum FileSystemHandleKind {
|
|
7
|
+
"file",
|
|
8
|
+
"directory",
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[Exposed=(Window,Worker), SecureContext, Serializable]
|
|
12
|
+
interface FileSystemHandle {
|
|
13
|
+
readonly attribute FileSystemHandleKind kind;
|
|
14
|
+
readonly attribute USVString name;
|
|
15
|
+
|
|
16
|
+
Promise<boolean> isSameEntry(FileSystemHandle other);
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
dictionary FileSystemCreateWritableOptions {
|
|
20
|
+
boolean keepExistingData = false;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
[Exposed=(Window,Worker), SecureContext, Serializable]
|
|
24
|
+
interface FileSystemFileHandle : FileSystemHandle {
|
|
25
|
+
Promise<File> getFile();
|
|
26
|
+
Promise<FileSystemWritableFileStream> createWritable(optional FileSystemCreateWritableOptions options = {});
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
dictionary FileSystemGetFileOptions {
|
|
30
|
+
boolean create = false;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
dictionary FileSystemGetDirectoryOptions {
|
|
34
|
+
boolean create = false;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
dictionary FileSystemRemoveOptions {
|
|
38
|
+
boolean recursive = false;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
[Exposed=(Window,Worker), SecureContext, Serializable]
|
|
42
|
+
interface FileSystemDirectoryHandle : FileSystemHandle {
|
|
43
|
+
async iterable<USVString, FileSystemHandle>;
|
|
44
|
+
|
|
45
|
+
Promise<FileSystemFileHandle> getFileHandle(USVString name, optional FileSystemGetFileOptions options = {});
|
|
46
|
+
Promise<FileSystemDirectoryHandle> getDirectoryHandle(USVString name, optional FileSystemGetDirectoryOptions options = {});
|
|
47
|
+
|
|
48
|
+
Promise<undefined> removeEntry(USVString name, optional FileSystemRemoveOptions options = {});
|
|
49
|
+
|
|
50
|
+
Promise<sequence<USVString>?> resolve(FileSystemHandle possibleDescendant);
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
enum WriteCommandType {
|
|
54
|
+
"write",
|
|
55
|
+
"seek",
|
|
56
|
+
"truncate",
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
dictionary WriteParams {
|
|
60
|
+
required WriteCommandType type;
|
|
61
|
+
unsigned long long? size;
|
|
62
|
+
unsigned long long? position;
|
|
63
|
+
(BufferSource or Blob or USVString)? data;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
typedef (BufferSource or Blob or USVString or WriteParams) FileSystemWriteChunkType;
|
|
67
|
+
|
|
68
|
+
[Exposed=(Window,Worker), SecureContext]
|
|
69
|
+
interface FileSystemWritableFileStream : WritableStream {
|
|
70
|
+
Promise<undefined> write(FileSystemWriteChunkType data);
|
|
71
|
+
Promise<undefined> seek(unsigned long long position);
|
|
72
|
+
Promise<undefined> truncate(unsigned long long size);
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
[SecureContext]
|
|
76
|
+
partial interface StorageManager {
|
|
77
|
+
Promise<FileSystemDirectoryHandle> getDirectory();
|
|
78
|
+
};
|
package/html.idl
CHANGED
|
@@ -115,7 +115,7 @@ interface HTMLElement : Element {
|
|
|
115
115
|
[CEReactions] attribute DOMString dir;
|
|
116
116
|
|
|
117
117
|
// user interaction
|
|
118
|
-
[CEReactions] attribute boolean hidden;
|
|
118
|
+
[CEReactions] attribute (boolean or unrestricted double or DOMString)? hidden;
|
|
119
119
|
[CEReactions] attribute boolean inert;
|
|
120
120
|
undefined click();
|
|
121
121
|
[CEReactions] attribute DOMString accessKey;
|
|
@@ -1898,6 +1898,7 @@ typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEventHandler;
|
|
|
1898
1898
|
interface mixin GlobalEventHandlers {
|
|
1899
1899
|
attribute EventHandler onabort;
|
|
1900
1900
|
attribute EventHandler onauxclick;
|
|
1901
|
+
attribute EventHandler onbeforematch;
|
|
1901
1902
|
attribute EventHandler onblur;
|
|
1902
1903
|
attribute EventHandler oncancel;
|
|
1903
1904
|
attribute EventHandler oncanplay;
|
package/local-font-access.idl
CHANGED
|
@@ -12,15 +12,15 @@ Navigator includes NavigatorFonts;
|
|
|
12
12
|
[SecureContext,
|
|
13
13
|
Exposed=Window]
|
|
14
14
|
interface FontManager {
|
|
15
|
-
Promise<sequence<
|
|
15
|
+
Promise<sequence<FontData>> query(optional QueryOptions options = {});
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
dictionary QueryOptions {
|
|
19
|
-
sequence<DOMString>
|
|
19
|
+
sequence<DOMString> postscriptNames;
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
[Exposed=Window]
|
|
23
|
-
interface
|
|
23
|
+
interface FontData {
|
|
24
24
|
Promise<Blob> blob();
|
|
25
25
|
|
|
26
26
|
// Names
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: The Capture-Handle Actions Mechanism (https://w3c.github.io/mediacapture-handle/actions/)
|
|
5
|
+
|
|
6
|
+
partial interface MediaDevices {
|
|
7
|
+
undefined setSupportedCaptureActions(sequence<DOMString> actions);
|
|
8
|
+
attribute EventHandler oncaptureaction;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
enum CaptureAction {
|
|
12
|
+
"next",
|
|
13
|
+
"previous",
|
|
14
|
+
"first",
|
|
15
|
+
"last"
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
[Exposed=Window]
|
|
19
|
+
interface CaptureActionEvent : Event {
|
|
20
|
+
constructor(optional CaptureActionEventInit init = {});
|
|
21
|
+
readonly attribute CaptureAction action;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
dictionary CaptureActionEventInit : EventInit {
|
|
25
|
+
DOMString action;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
partial interface MediaStreamTrack {
|
|
29
|
+
sequence<DOMString> getSupportedCaptureActions();
|
|
30
|
+
Promise<undefined> sendCaptureAction(CaptureAction action);
|
|
31
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Capture Handle - Bootstrapping Collaboration when Screensharing (https://w3c.github.io/mediacapture-handle/identity/)
|
|
5
|
+
|
|
6
|
+
dictionary CaptureHandleConfig {
|
|
7
|
+
boolean exposeOrigin = false;
|
|
8
|
+
DOMString handle = "";
|
|
9
|
+
sequence<DOMString> permittedOrigins = [];
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
partial interface MediaDevices {
|
|
13
|
+
undefined setCaptureHandleConfig(optional CaptureHandleConfig config = {});
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
dictionary CaptureHandle {
|
|
17
|
+
DOMString origin;
|
|
18
|
+
DOMString handle;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
partial interface MediaStreamTrack {
|
|
22
|
+
CaptureHandle? getCaptureHandle();
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
[Exposed=Window]
|
|
26
|
+
interface CaptureHandleChangeEvent : Event {
|
|
27
|
+
constructor(optional CaptureHandleChangeEventInit init = {});
|
|
28
|
+
[SameObject] CaptureHandle captureHandle();
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
dictionary CaptureHandleChangeEventInit : EventInit {
|
|
32
|
+
CaptureHandle captureHandle;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
partial interface MediaStreamTrack {
|
|
36
|
+
attribute EventHandler oncapturehandlechange;
|
|
37
|
+
};
|
package/mediacapture-region.idl
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Source: Navigation API (https://wicg.github.io/navigation-api/)
|
|
5
5
|
|
|
6
6
|
partial interface Window {
|
|
7
|
-
readonly attribute Navigation navigation;
|
|
7
|
+
[Replaceable] readonly attribute Navigation navigation;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
[Exposed=Window]
|
|
@@ -40,7 +40,7 @@ dictionary NavigationOptions {
|
|
|
40
40
|
|
|
41
41
|
dictionary NavigationNavigateOptions : NavigationOptions {
|
|
42
42
|
any state;
|
|
43
|
-
|
|
43
|
+
NavigationHistoryBehavior history = "auto";
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
dictionary NavigationReloadOptions : NavigationOptions {
|
|
@@ -52,6 +52,12 @@ dictionary NavigationResult {
|
|
|
52
52
|
Promise<NavigationHistoryEntry> finished;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
|
+
enum NavigationHistoryBehavior {
|
|
56
|
+
"auto",
|
|
57
|
+
"push",
|
|
58
|
+
"replace"
|
|
59
|
+
};
|
|
60
|
+
|
|
55
61
|
[Exposed=Window]
|
|
56
62
|
interface NavigationCurrentEntryChangeEvent : Event {
|
|
57
63
|
constructor(DOMString type, NavigationCurrentEntryChangeEventInit eventInit);
|
|
@@ -85,6 +91,7 @@ interface NavigateEvent : Event {
|
|
|
85
91
|
readonly attribute boolean hashChange;
|
|
86
92
|
readonly attribute AbortSignal signal;
|
|
87
93
|
readonly attribute FormData? formData;
|
|
94
|
+
readonly attribute DOMString? downloadRequest;
|
|
88
95
|
readonly attribute any info;
|
|
89
96
|
|
|
90
97
|
undefined transitionWhile(Promise<undefined> newNavigationAction);
|
|
@@ -98,6 +105,7 @@ dictionary NavigateEventInit : EventInit {
|
|
|
98
105
|
boolean hashChange = false;
|
|
99
106
|
required AbortSignal signal;
|
|
100
107
|
FormData? formData = null;
|
|
108
|
+
DOMString? downloadRequest = null;
|
|
101
109
|
any info;
|
|
102
110
|
};
|
|
103
111
|
|
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.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.2.
|
|
15
|
+
"webidl2": "^24.2.1"
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -9,7 +9,8 @@ dictionary SecurePaymentConfirmationRequest {
|
|
|
9
9
|
required FrozenArray<BufferSource> credentialIds;
|
|
10
10
|
required PaymentCredentialInstrument instrument;
|
|
11
11
|
unsigned long timeout;
|
|
12
|
-
|
|
12
|
+
DOMString payeeName;
|
|
13
|
+
USVString payeeOrigin;
|
|
13
14
|
AuthenticationExtensionsClientInputs extensions;
|
|
14
15
|
};
|
|
15
16
|
|
|
@@ -23,6 +24,7 @@ dictionary AuthenticationExtensionsPaymentInputs {
|
|
|
23
24
|
// Only used for authentication.
|
|
24
25
|
USVString rp;
|
|
25
26
|
USVString topOrigin;
|
|
27
|
+
DOMString payeeName;
|
|
26
28
|
USVString payeeOrigin;
|
|
27
29
|
PaymentCurrencyAmount total;
|
|
28
30
|
PaymentCredentialInstrument instrument;
|
|
@@ -35,7 +37,8 @@ dictionary CollectedClientPaymentData : CollectedClientData {
|
|
|
35
37
|
dictionary CollectedClientAdditionalPaymentData {
|
|
36
38
|
required USVString rp;
|
|
37
39
|
required USVString topOrigin;
|
|
38
|
-
|
|
40
|
+
DOMString payeeName;
|
|
41
|
+
USVString payeeOrigin;
|
|
39
42
|
required PaymentCurrencyAmount total;
|
|
40
43
|
required PaymentCredentialInstrument instrument;
|
|
41
44
|
};
|
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/webhid.idl
CHANGED
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
|
-
};
|