@webref/idl 3.5.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/cssom-view.idl +4 -1
- 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/navigation-api.idl +9 -1
- package/package.json +1 -1
- package/secure-payment-confirmation.idl +5 -2
- package/webhid.idl +1 -0
|
File without changes
|
package/cssom-view.idl
CHANGED
|
@@ -101,7 +101,10 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
|
|
|
101
101
|
};
|
|
102
102
|
|
|
103
103
|
dictionary IsVisibleOptions {
|
|
104
|
-
|
|
104
|
+
boolean checkAriaHidden = false;
|
|
105
|
+
boolean checkInert = false;
|
|
106
|
+
boolean checkOpacity = false;
|
|
107
|
+
boolean checkVisibilityCSS = false;
|
|
105
108
|
};
|
|
106
109
|
|
|
107
110
|
partial interface Element {
|
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
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,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
|
@@ -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
|
};
|