@webref/idl 3.6.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/compute-pressure.idl +18 -18
- package/local-font-access.idl +2 -9
- package/media-capabilities.idl +1 -0
- package/mediacapture-region.idl +2 -2
- package/navigation-api.idl +24 -8
- package/package.json +1 -1
- package/reporting.idl +1 -1
- package/webgpu.idl +2 -2
- package/webtransport.idl +17 -2
package/compute-pressure.idl
CHANGED
|
@@ -1,40 +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<
|
|
31
|
+
dictionary PressureRecord {
|
|
32
|
+
PressureSource source;
|
|
33
|
+
PressureState state;
|
|
34
|
+
sequence<PressureFactor> factors;
|
|
35
35
|
DOMHighResTimeStamp time;
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
dictionary
|
|
38
|
+
dictionary PressureObserverOptions {
|
|
39
39
|
double frequency;
|
|
40
40
|
};
|
package/local-font-access.idl
CHANGED
|
@@ -4,15 +4,8 @@
|
|
|
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<FontData>> query(optional QueryOptions options = {});
|
|
7
|
+
partial interface Window {
|
|
8
|
+
Promise<sequence<FontData>> queryLocalFonts(optional QueryOptions options = {});
|
|
16
9
|
};
|
|
17
10
|
|
|
18
11
|
dictionary QueryOptions {
|
package/media-capabilities.idl
CHANGED
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=(Window,Worker)]
|
|
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
|
@@ -62,18 +62,18 @@ enum NavigationHistoryBehavior {
|
|
|
62
62
|
interface NavigationCurrentEntryChangeEvent : Event {
|
|
63
63
|
constructor(DOMString type, NavigationCurrentEntryChangeEventInit eventInit);
|
|
64
64
|
|
|
65
|
-
readonly attribute
|
|
65
|
+
readonly attribute NavigationType? navigationType;
|
|
66
66
|
readonly attribute NavigationHistoryEntry from;
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
dictionary NavigationCurrentEntryChangeEventInit : EventInit {
|
|
70
|
-
|
|
70
|
+
NavigationType? navigationType = null;
|
|
71
71
|
required NavigationHistoryEntry destination;
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
[Exposed=Window]
|
|
75
75
|
interface NavigationTransition {
|
|
76
|
-
readonly attribute
|
|
76
|
+
readonly attribute NavigationType navigationType;
|
|
77
77
|
readonly attribute NavigationHistoryEntry from;
|
|
78
78
|
readonly attribute Promise<undefined> finished;
|
|
79
79
|
|
|
@@ -84,7 +84,7 @@ interface NavigationTransition {
|
|
|
84
84
|
interface NavigateEvent : Event {
|
|
85
85
|
constructor(DOMString type, NavigateEventInit eventInit);
|
|
86
86
|
|
|
87
|
-
readonly attribute
|
|
87
|
+
readonly attribute NavigationType navigationType;
|
|
88
88
|
readonly attribute NavigationDestination destination;
|
|
89
89
|
readonly attribute boolean canTransition;
|
|
90
90
|
readonly attribute boolean userInitiated;
|
|
@@ -94,11 +94,13 @@ interface NavigateEvent : Event {
|
|
|
94
94
|
readonly attribute DOMString? downloadRequest;
|
|
95
95
|
readonly attribute any info;
|
|
96
96
|
|
|
97
|
-
undefined transitionWhile(Promise<undefined> newNavigationAction
|
|
97
|
+
undefined transitionWhile(Promise<undefined> newNavigationAction,
|
|
98
|
+
optional NavigationTransitionWhileOptions options = {});
|
|
99
|
+
undefined restoreScroll();
|
|
98
100
|
};
|
|
99
101
|
|
|
100
102
|
dictionary NavigateEventInit : EventInit {
|
|
101
|
-
|
|
103
|
+
NavigationType navigationType = "push";
|
|
102
104
|
required NavigationDestination destination;
|
|
103
105
|
boolean canTransition = false;
|
|
104
106
|
boolean userInitiated = false;
|
|
@@ -109,8 +111,22 @@ dictionary NavigateEventInit : EventInit {
|
|
|
109
111
|
any info;
|
|
110
112
|
};
|
|
111
113
|
|
|
112
|
-
|
|
113
|
-
|
|
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 {
|
|
114
130
|
"reload",
|
|
115
131
|
"push",
|
|
116
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 {
|
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/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]
|