@webref/idl 3.4.0 → 3.6.1
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 +19 -20
- 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 +4 -11
- package/media-capabilities.idl +1 -0
- package/mediacapture-handle-actions.idl +31 -0
- package/mediacapture-handle-identity.idl +37 -0
- package/mediacapture-region.idl +2 -2
- package/navigation-api.idl +33 -9
- package/package.json +1 -1
- package/reporting.idl +1 -1
- package/secure-payment-confirmation.idl +5 -2
- package/webgpu.idl +2 -2
- package/webhid.idl +1 -0
- package/webtransport.idl +17 -2
|
File without changes
|
package/compute-pressure.idl
CHANGED
|
@@ -1,41 +1,40 @@
|
|
|
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
|
|
4
|
+
// Source: Compute Pressure Level 1 (https://wicg.github.io/compute-pressure/)
|
|
5
5
|
|
|
6
|
-
enum
|
|
6
|
+
enum PressureState { "nominal", "fair", "serious", "critical" };
|
|
7
7
|
|
|
8
|
-
enum
|
|
8
|
+
enum PressureFactor { "thermal", "power-supply" };
|
|
9
9
|
|
|
10
|
-
callback
|
|
11
|
-
sequence<
|
|
12
|
-
|
|
10
|
+
callback PressureUpdateCallback = undefined (
|
|
11
|
+
sequence<PressureRecord> changes,
|
|
12
|
+
PressureObserver observer
|
|
13
13
|
);
|
|
14
14
|
|
|
15
|
-
enum
|
|
15
|
+
enum PressureSource { "cpu" };
|
|
16
16
|
|
|
17
17
|
[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
|
|
18
|
-
interface
|
|
19
|
-
constructor(
|
|
18
|
+
interface PressureObserver {
|
|
19
|
+
constructor(PressureUpdateCallback callback, optional PressureObserverOptions options = {});
|
|
20
20
|
|
|
21
|
-
undefined observe(
|
|
22
|
-
undefined unobserve(
|
|
21
|
+
undefined observe(PressureSource source);
|
|
22
|
+
undefined unobserve(PressureSource source);
|
|
23
23
|
undefined disconnect();
|
|
24
|
-
sequence<
|
|
24
|
+
sequence<PressureRecord> takeRecords();
|
|
25
25
|
|
|
26
|
-
[SameObject] static readonly attribute FrozenArray<
|
|
26
|
+
[SameObject] static readonly attribute FrozenArray<PressureSource> supportedSources;
|
|
27
27
|
|
|
28
28
|
[Exposed=Window] static Promise<PermissionState> requestPermission();
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
dictionary
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
sequence<
|
|
35
|
-
DOMHighResTimeStamp
|
|
36
|
-
ComputePressureObserverOptions options;
|
|
31
|
+
dictionary PressureRecord {
|
|
32
|
+
PressureSource source;
|
|
33
|
+
PressureState state;
|
|
34
|
+
sequence<PressureFactor> factors;
|
|
35
|
+
DOMHighResTimeStamp time;
|
|
37
36
|
};
|
|
38
37
|
|
|
39
|
-
dictionary
|
|
38
|
+
dictionary PressureObserverOptions {
|
|
40
39
|
double frequency;
|
|
41
40
|
};
|
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
|
@@ -4,23 +4,16 @@
|
|
|
4
4
|
// Source: Local Font Access API (https://wicg.github.io/local-font-access/)
|
|
5
5
|
|
|
6
6
|
[SecureContext]
|
|
7
|
-
interface
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
Navigator includes NavigatorFonts;
|
|
11
|
-
|
|
12
|
-
[SecureContext,
|
|
13
|
-
Exposed=Window]
|
|
14
|
-
interface FontManager {
|
|
15
|
-
Promise<sequence<FontMetadata>> query(optional QueryOptions options = {});
|
|
7
|
+
partial interface Window {
|
|
8
|
+
Promise<sequence<FontData>> queryLocalFonts(optional QueryOptions options = {});
|
|
16
9
|
};
|
|
17
10
|
|
|
18
11
|
dictionary QueryOptions {
|
|
19
|
-
sequence<DOMString>
|
|
12
|
+
sequence<DOMString> postscriptNames;
|
|
20
13
|
};
|
|
21
14
|
|
|
22
15
|
[Exposed=Window]
|
|
23
|
-
interface
|
|
16
|
+
interface FontData {
|
|
24
17
|
Promise<Blob> blob();
|
|
25
18
|
|
|
26
19
|
// Names
|
package/media-capabilities.idl
CHANGED
|
@@ -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
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Region Capture (https://w3c.github.io/mediacapture-region/)
|
|
5
5
|
|
|
6
|
-
[Exposed
|
|
6
|
+
[Exposed=(Window,Worker), Serializable]
|
|
7
7
|
interface CropTarget {
|
|
8
8
|
// Intentionally empty; just an opaque identifier.
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
partial interface MediaDevices {
|
|
12
12
|
Promise<CropTarget>
|
|
13
|
-
produceCropTarget(
|
|
13
|
+
produceCropTarget(Element element);
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
[Exposed = Window]
|
package/navigation-api.idl
CHANGED
|
@@ -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,22 +52,28 @@ 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);
|
|
58
64
|
|
|
59
|
-
readonly attribute
|
|
65
|
+
readonly attribute NavigationType? navigationType;
|
|
60
66
|
readonly attribute NavigationHistoryEntry from;
|
|
61
67
|
};
|
|
62
68
|
|
|
63
69
|
dictionary NavigationCurrentEntryChangeEventInit : EventInit {
|
|
64
|
-
|
|
70
|
+
NavigationType? navigationType = null;
|
|
65
71
|
required NavigationHistoryEntry destination;
|
|
66
72
|
};
|
|
67
73
|
|
|
68
74
|
[Exposed=Window]
|
|
69
75
|
interface NavigationTransition {
|
|
70
|
-
readonly attribute
|
|
76
|
+
readonly attribute NavigationType navigationType;
|
|
71
77
|
readonly attribute NavigationHistoryEntry from;
|
|
72
78
|
readonly attribute Promise<undefined> finished;
|
|
73
79
|
|
|
@@ -78,31 +84,49 @@ interface NavigationTransition {
|
|
|
78
84
|
interface NavigateEvent : Event {
|
|
79
85
|
constructor(DOMString type, NavigateEventInit eventInit);
|
|
80
86
|
|
|
81
|
-
readonly attribute
|
|
87
|
+
readonly attribute NavigationType navigationType;
|
|
82
88
|
readonly attribute NavigationDestination destination;
|
|
83
89
|
readonly attribute boolean canTransition;
|
|
84
90
|
readonly attribute boolean userInitiated;
|
|
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
|
-
undefined transitionWhile(Promise<undefined> newNavigationAction
|
|
97
|
+
undefined transitionWhile(Promise<undefined> newNavigationAction,
|
|
98
|
+
optional NavigationTransitionWhileOptions options = {});
|
|
99
|
+
undefined restoreScroll();
|
|
91
100
|
};
|
|
92
101
|
|
|
93
102
|
dictionary NavigateEventInit : EventInit {
|
|
94
|
-
|
|
103
|
+
NavigationType navigationType = "push";
|
|
95
104
|
required NavigationDestination destination;
|
|
96
105
|
boolean canTransition = false;
|
|
97
106
|
boolean userInitiated = false;
|
|
98
107
|
boolean hashChange = false;
|
|
99
108
|
required AbortSignal signal;
|
|
100
109
|
FormData? formData = null;
|
|
110
|
+
DOMString? downloadRequest = null;
|
|
101
111
|
any info;
|
|
102
112
|
};
|
|
103
113
|
|
|
104
|
-
|
|
105
|
-
|
|
114
|
+
dictionary NavigationTransitionWhileOptions {
|
|
115
|
+
NavigationFocusReset focusReset;
|
|
116
|
+
NavigationScrollRestoration scrollRestoration;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
enum NavigationFocusReset {
|
|
120
|
+
"after-transition",
|
|
121
|
+
"manual"
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
enum NavigationScrollRestoration {
|
|
125
|
+
"after-transition",
|
|
126
|
+
"manual"
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
enum NavigationType {
|
|
106
130
|
"reload",
|
|
107
131
|
"push",
|
|
108
132
|
"replace",
|
package/package.json
CHANGED
package/reporting.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: Reporting API
|
|
4
|
+
// Source: Reporting API (https://w3c.github.io/reporting/)
|
|
5
5
|
|
|
6
6
|
[Exposed=(Window,Worker)]
|
|
7
7
|
interface ReportBody {
|
|
@@ -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
|
@@ -890,8 +890,8 @@ interface mixin GPUDebugCommandsMixin {
|
|
|
890
890
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
891
891
|
interface GPUComputePassEncoder {
|
|
892
892
|
undefined setPipeline(GPUComputePipeline pipeline);
|
|
893
|
-
undefined
|
|
894
|
-
undefined
|
|
893
|
+
undefined dispatchWorkgroups(GPUSize32 workgroupCountX, optional GPUSize32 workgroupCountY = 1, optional GPUSize32 workgroupCountZ = 1);
|
|
894
|
+
undefined dispatchWorkgroupsIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
|
|
895
895
|
|
|
896
896
|
undefined end();
|
|
897
897
|
};
|
package/webhid.idl
CHANGED
package/webtransport.idl
CHANGED
|
@@ -21,6 +21,7 @@ interface WebTransport {
|
|
|
21
21
|
|
|
22
22
|
Promise<WebTransportStats> getStats();
|
|
23
23
|
readonly attribute Promise<undefined> ready;
|
|
24
|
+
readonly attribute WebTransportReliabilityMode reliability;
|
|
24
25
|
readonly attribute Promise<WebTransportCloseInfo> closed;
|
|
25
26
|
undefined close(optional WebTransportCloseInfo closeInfo = {});
|
|
26
27
|
|
|
@@ -35,13 +36,20 @@ interface WebTransport {
|
|
|
35
36
|
readonly attribute ReadableStream incomingUnidirectionalStreams;
|
|
36
37
|
};
|
|
37
38
|
|
|
39
|
+
enum WebTransportReliabilityMode {
|
|
40
|
+
"pending",
|
|
41
|
+
"reliable-only",
|
|
42
|
+
"supports-unreliable",
|
|
43
|
+
};
|
|
44
|
+
|
|
38
45
|
dictionary WebTransportHash {
|
|
39
46
|
DOMString algorithm;
|
|
40
47
|
BufferSource value;
|
|
41
48
|
};
|
|
42
49
|
|
|
43
50
|
dictionary WebTransportOptions {
|
|
44
|
-
boolean allowPooling;
|
|
51
|
+
boolean allowPooling = false;
|
|
52
|
+
boolean requireUnreliable = false;
|
|
45
53
|
sequence<WebTransportHash> serverCertificateHashes;
|
|
46
54
|
};
|
|
47
55
|
|
|
@@ -62,7 +70,14 @@ dictionary WebTransportStats {
|
|
|
62
70
|
DOMHighResTimeStamp smoothedRtt;
|
|
63
71
|
DOMHighResTimeStamp rttVariation;
|
|
64
72
|
DOMHighResTimeStamp minRtt;
|
|
65
|
-
|
|
73
|
+
WebTransportDatagramStats datagrams;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
dictionary WebTransportDatagramStats {
|
|
77
|
+
DOMHighResTimeStamp timestamp;
|
|
78
|
+
unsigned long long expiredOutgoing;
|
|
79
|
+
unsigned long long droppedIncoming;
|
|
80
|
+
unsigned long long lostOutgoing;
|
|
66
81
|
};
|
|
67
82
|
|
|
68
83
|
[Exposed=(Window,Worker), SecureContext]
|