@webref/idl 3.38.1 → 3.39.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/WEBGL_clip_cull_distance.idl +1 -1
- package/WEBGL_multi_draw.idl +10 -10
- package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +9 -9
- package/audio-session.idl +33 -0
- package/clipboard-apis.idl +2 -0
- package/css-typed-om.idl +7 -2
- package/css-view-transitions-2.idl +9 -0
- package/edit-context.idl +7 -4
- package/element-capture.idl +6 -1
- package/fenced-frame.idl +22 -6
- package/html.idl +13 -13
- package/intersection-observer.idl +2 -0
- package/mediasession.idl +1 -1
- package/package.json +1 -1
- package/screen-capture.idl +6 -0
- package/shared-storage.idl +11 -0
- package/turtledove.idl +3 -0
- package/ua-client-hints.idl +1 -1
- package/uievents.idl +2 -0
- package/webaudio.idl +9 -0
- package/webauthn.idl +10 -0
- package/webgl2.idl +36 -36
- package/webnn.idl +24 -23
- package/webrtc-encoded-transform.idl +2 -2
- package/webtransport.idl +3 -4
|
@@ -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: WebGL WEBGL_clip_cull_distance Extension
|
|
4
|
+
// Source: WebGL WEBGL_clip_cull_distance Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_clip_cull_distance/)
|
|
5
5
|
|
|
6
6
|
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
7
|
interface WEBGL_clip_cull_distance {
|
package/WEBGL_multi_draw.idl
CHANGED
|
@@ -7,26 +7,26 @@
|
|
|
7
7
|
interface WEBGL_multi_draw {
|
|
8
8
|
undefined multiDrawArraysWEBGL(
|
|
9
9
|
GLenum mode,
|
|
10
|
-
([AllowShared] Int32Array or sequence<GLint>) firstsList,
|
|
11
|
-
([AllowShared] Int32Array or sequence<GLsizei>) countsList,
|
|
10
|
+
([AllowShared] Int32Array or sequence<GLint>) firstsList, unsigned long long firstsOffset,
|
|
11
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, unsigned long long countsOffset,
|
|
12
12
|
GLsizei drawcount);
|
|
13
13
|
undefined multiDrawElementsWEBGL(
|
|
14
14
|
GLenum mode,
|
|
15
|
-
([AllowShared] Int32Array or sequence<GLsizei>) countsList,
|
|
15
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, unsigned long long countsOffset,
|
|
16
16
|
GLenum type,
|
|
17
|
-
([AllowShared] Int32Array or sequence<GLsizei>) offsetsList,
|
|
17
|
+
([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, unsigned long long offsetsOffset,
|
|
18
18
|
GLsizei drawcount);
|
|
19
19
|
undefined multiDrawArraysInstancedWEBGL(
|
|
20
20
|
GLenum mode,
|
|
21
|
-
([AllowShared] Int32Array or sequence<GLint>) firstsList,
|
|
22
|
-
([AllowShared] Int32Array or sequence<GLsizei>) countsList,
|
|
23
|
-
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList,
|
|
21
|
+
([AllowShared] Int32Array or sequence<GLint>) firstsList, unsigned long long firstsOffset,
|
|
22
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, unsigned long long countsOffset,
|
|
23
|
+
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, unsigned long long instanceCountsOffset,
|
|
24
24
|
GLsizei drawcount);
|
|
25
25
|
undefined multiDrawElementsInstancedWEBGL(
|
|
26
26
|
GLenum mode,
|
|
27
|
-
([AllowShared] Int32Array or sequence<GLsizei>) countsList,
|
|
27
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, unsigned long long countsOffset,
|
|
28
28
|
GLenum type,
|
|
29
|
-
([AllowShared] Int32Array or sequence<GLsizei>) offsetsList,
|
|
30
|
-
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList,
|
|
29
|
+
([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, unsigned long long offsetsOffset,
|
|
30
|
+
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, unsigned long long instanceCountsOffset,
|
|
31
31
|
GLsizei drawcount);
|
|
32
32
|
};
|
|
@@ -7,20 +7,20 @@
|
|
|
7
7
|
interface WEBGL_multi_draw_instanced_base_vertex_base_instance {
|
|
8
8
|
undefined multiDrawArraysInstancedBaseInstanceWEBGL(
|
|
9
9
|
GLenum mode,
|
|
10
|
-
([AllowShared] Int32Array or sequence<GLint>) firstsList,
|
|
11
|
-
([AllowShared] Int32Array or sequence<GLsizei>) countsList,
|
|
12
|
-
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList,
|
|
13
|
-
([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList,
|
|
10
|
+
([AllowShared] Int32Array or sequence<GLint>) firstsList, unsigned long long firstsOffset,
|
|
11
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, unsigned long long countsOffset,
|
|
12
|
+
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, unsigned long long instanceCountsOffset,
|
|
13
|
+
([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList, unsigned long long baseInstancesOffset,
|
|
14
14
|
GLsizei drawcount
|
|
15
15
|
);
|
|
16
16
|
undefined multiDrawElementsInstancedBaseVertexBaseInstanceWEBGL(
|
|
17
17
|
GLenum mode,
|
|
18
|
-
([AllowShared] Int32Array or sequence<GLsizei>) countsList,
|
|
18
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, unsigned long long countsOffset,
|
|
19
19
|
GLenum type,
|
|
20
|
-
([AllowShared] Int32Array or sequence<GLsizei>) offsetsList,
|
|
21
|
-
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList,
|
|
22
|
-
([AllowShared] Int32Array or sequence<GLint>) baseVerticesList,
|
|
23
|
-
([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList,
|
|
20
|
+
([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, unsigned long long offsetsOffset,
|
|
21
|
+
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, unsigned long long instanceCountsOffset,
|
|
22
|
+
([AllowShared] Int32Array or sequence<GLint>) baseVerticesList, unsigned long long baseVerticesOffset,
|
|
23
|
+
([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList, unsigned long long baseInstancesOffset,
|
|
24
24
|
GLsizei drawcount
|
|
25
25
|
);
|
|
26
26
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Audio Session (https://w3c.github.io/audio-session/)
|
|
5
|
+
|
|
6
|
+
enum AudioSessionState {
|
|
7
|
+
"inactive",
|
|
8
|
+
"active",
|
|
9
|
+
"interrupted"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
enum AudioSessionType {
|
|
13
|
+
"auto",
|
|
14
|
+
"playback",
|
|
15
|
+
"transient",
|
|
16
|
+
"transient-solo",
|
|
17
|
+
"ambient",
|
|
18
|
+
"play-and-record"
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
[Exposed=Window]
|
|
22
|
+
partial interface Navigator {
|
|
23
|
+
// The default audio session that the user agent will use when media elements start/stop playing.
|
|
24
|
+
readonly attribute AudioSession audioSession;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
[Exposed=Window]
|
|
28
|
+
interface AudioSession : EventTarget {
|
|
29
|
+
attribute AudioSessionType type;
|
|
30
|
+
|
|
31
|
+
readonly attribute AudioSessionState state;
|
|
32
|
+
attribute EventHandler onstatechange;
|
|
33
|
+
};
|
package/clipboard-apis.idl
CHANGED
package/css-typed-om.idl
CHANGED
|
@@ -184,12 +184,17 @@ partial namespace CSS {
|
|
|
184
184
|
CSSUnitValue percent(double value);
|
|
185
185
|
|
|
186
186
|
// <length>
|
|
187
|
+
CSSUnitValue cap(double value);
|
|
188
|
+
CSSUnitValue ch(double value);
|
|
187
189
|
CSSUnitValue em(double value);
|
|
188
190
|
CSSUnitValue ex(double value);
|
|
189
|
-
CSSUnitValue ch(double value);
|
|
190
191
|
CSSUnitValue ic(double value);
|
|
191
|
-
CSSUnitValue rem(double value);
|
|
192
192
|
CSSUnitValue lh(double value);
|
|
193
|
+
CSSUnitValue rcap(double value);
|
|
194
|
+
CSSUnitValue rch(double value);
|
|
195
|
+
CSSUnitValue rem(double value);
|
|
196
|
+
CSSUnitValue rex(double value);
|
|
197
|
+
CSSUnitValue ric(double value);
|
|
193
198
|
CSSUnitValue rlh(double value);
|
|
194
199
|
CSSUnitValue vw(double value);
|
|
195
200
|
CSSUnitValue vh(double value);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface PageRevealEvent : Event {
|
|
8
|
+
readonly attribute ViewTransition? viewTransition;
|
|
9
|
+
};
|
package/edit-context.idl
CHANGED
|
@@ -66,11 +66,14 @@ interface TextUpdateEvent : Event {
|
|
|
66
66
|
readonly attribute unsigned long compositionEnd;
|
|
67
67
|
};
|
|
68
68
|
|
|
69
|
+
enum UnderlineStyle { "none", "solid", "double", "dotted", "dashed", "wavy" };
|
|
70
|
+
enum UnderlineThickness { "none", "thin", "thick" };
|
|
71
|
+
|
|
69
72
|
dictionary TextFormatInit {
|
|
70
73
|
unsigned long rangeStart;
|
|
71
74
|
unsigned long rangeEnd;
|
|
72
|
-
|
|
73
|
-
|
|
75
|
+
UnderlineStyle underlineStyle;
|
|
76
|
+
UnderlineThickness underlineThickness;
|
|
74
77
|
};
|
|
75
78
|
|
|
76
79
|
[Exposed=Window]
|
|
@@ -78,8 +81,8 @@ interface TextFormat {
|
|
|
78
81
|
constructor(optional TextFormatInit options = {});
|
|
79
82
|
readonly attribute unsigned long rangeStart;
|
|
80
83
|
readonly attribute unsigned long rangeEnd;
|
|
81
|
-
readonly attribute
|
|
82
|
-
readonly attribute
|
|
84
|
+
readonly attribute UnderlineStyle underlineStyle;
|
|
85
|
+
readonly attribute UnderlineThickness underlineThickness;
|
|
83
86
|
};
|
|
84
87
|
|
|
85
88
|
dictionary TextFormatUpdateEventInit : EventInit {
|
package/element-capture.idl
CHANGED
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Element Capture (https://screen-share.github.io/element-capture/)
|
|
5
5
|
|
|
6
|
+
[Exposed=(Window,Worker), Serializable]
|
|
7
|
+
interface RestrictionTarget {
|
|
8
|
+
[Exposed=Window, SecureContext] static Promise<RestrictionTarget> fromElement(Element element);
|
|
9
|
+
};
|
|
10
|
+
|
|
6
11
|
[Exposed = Window]
|
|
7
12
|
partial interface BrowserCaptureMediaStreamTrack {
|
|
8
|
-
Promise<undefined> restrictTo(
|
|
13
|
+
Promise<undefined> restrictTo(RestrictionTarget? RestrictionTarget);
|
|
9
14
|
};
|
package/fenced-frame.idl
CHANGED
|
@@ -18,7 +18,7 @@ enum OpaqueProperty {"opaque"};
|
|
|
18
18
|
typedef (unsigned long or OpaqueProperty) FencedFrameConfigSize;
|
|
19
19
|
typedef USVString FencedFrameConfigURL;
|
|
20
20
|
|
|
21
|
-
[Exposed=Window]
|
|
21
|
+
[Exposed=Window, Serializable]
|
|
22
22
|
interface FencedFrameConfig {
|
|
23
23
|
readonly attribute FencedFrameConfigSize? containerWidth;
|
|
24
24
|
readonly attribute FencedFrameConfigSize? containerHeight;
|
|
@@ -28,6 +28,13 @@ interface FencedFrameConfig {
|
|
|
28
28
|
undefined setSharedStorageContext(DOMString contextString);
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
+
typedef (USVString or FencedFrameConfig) UrnOrConfig;
|
|
32
|
+
|
|
33
|
+
partial interface Navigator {
|
|
34
|
+
Promise<undefined> deprecatedReplaceInURN(
|
|
35
|
+
UrnOrConfig urnOrConfig, record<USVString, USVString> replacements);
|
|
36
|
+
};
|
|
37
|
+
|
|
31
38
|
enum FenceReportingDestination {
|
|
32
39
|
"buyer",
|
|
33
40
|
"seller",
|
|
@@ -37,18 +44,27 @@ enum FenceReportingDestination {
|
|
|
37
44
|
};
|
|
38
45
|
|
|
39
46
|
dictionary FenceEvent {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
47
|
+
// This dictionary has two mutually exclusive modes that aren’t represented as
|
|
48
|
+
// distinct IDL types due to distinguishability issues:
|
|
49
|
+
//
|
|
50
|
+
// When reporting to a preregistered destination (specified by enum), the following
|
|
51
|
+
// properties are used:
|
|
52
|
+
DOMString eventType;
|
|
53
|
+
DOMString eventData;
|
|
54
|
+
sequence<FenceReportingDestination> destination;
|
|
43
55
|
boolean once = false;
|
|
56
|
+
|
|
57
|
+
// When reporting to a custom destination URL (with substitution of macros defined by
|
|
58
|
+
// the Protected Audience buyer), the following property is used:
|
|
59
|
+
USVString destinationURL;
|
|
44
60
|
};
|
|
45
61
|
|
|
46
62
|
typedef (FenceEvent or DOMString) ReportEventType;
|
|
47
63
|
|
|
48
64
|
[Exposed=Window]
|
|
49
65
|
interface Fence {
|
|
50
|
-
undefined reportEvent(ReportEventType event);
|
|
51
|
-
undefined setReportEventDataForAutomaticBeacons(FenceEvent event);
|
|
66
|
+
undefined reportEvent(optional ReportEventType event = {});
|
|
67
|
+
undefined setReportEventDataForAutomaticBeacons(optional FenceEvent event = {});
|
|
52
68
|
sequence<FencedFrameConfig> getNestedConfigs();
|
|
53
69
|
};
|
|
54
70
|
|
package/html.idl
CHANGED
|
@@ -1662,6 +1662,18 @@ partial interface Navigator {
|
|
|
1662
1662
|
[SameObject] readonly attribute UserActivation userActivation;
|
|
1663
1663
|
};
|
|
1664
1664
|
|
|
1665
|
+
[Exposed=Window]
|
|
1666
|
+
interface ToggleEvent : Event {
|
|
1667
|
+
constructor(DOMString type, optional ToggleEventInit eventInitDict = {});
|
|
1668
|
+
readonly attribute DOMString oldState;
|
|
1669
|
+
readonly attribute DOMString newState;
|
|
1670
|
+
};
|
|
1671
|
+
|
|
1672
|
+
dictionary ToggleEventInit : EventInit {
|
|
1673
|
+
DOMString oldState = "";
|
|
1674
|
+
DOMString newState = "";
|
|
1675
|
+
};
|
|
1676
|
+
|
|
1665
1677
|
dictionary FocusOptions {
|
|
1666
1678
|
boolean preventScroll = false;
|
|
1667
1679
|
boolean focusVisible;
|
|
@@ -1729,18 +1741,6 @@ interface mixin PopoverInvokerElement {
|
|
|
1729
1741
|
[CEReactions] attribute DOMString popoverTargetAction;
|
|
1730
1742
|
};
|
|
1731
1743
|
|
|
1732
|
-
[Exposed=Window]
|
|
1733
|
-
interface ToggleEvent : Event {
|
|
1734
|
-
constructor(DOMString type, optional ToggleEventInit eventInitDict = {});
|
|
1735
|
-
readonly attribute DOMString oldState;
|
|
1736
|
-
readonly attribute DOMString newState;
|
|
1737
|
-
};
|
|
1738
|
-
|
|
1739
|
-
dictionary ToggleEventInit : EventInit {
|
|
1740
|
-
DOMString oldState = "";
|
|
1741
|
-
DOMString newState = "";
|
|
1742
|
-
};
|
|
1743
|
-
|
|
1744
1744
|
[Global=Window,
|
|
1745
1745
|
Exposed=Window,
|
|
1746
1746
|
LegacyUnenumerableNamedProperties]
|
|
@@ -1783,7 +1783,7 @@ interface Window : EventTarget {
|
|
|
1783
1783
|
|
|
1784
1784
|
// the user agent
|
|
1785
1785
|
readonly attribute Navigator navigator;
|
|
1786
|
-
readonly attribute Navigator clientInformation; // legacy alias of .navigator
|
|
1786
|
+
[Replaceable] readonly attribute Navigator clientInformation; // legacy alias of .navigator
|
|
1787
1787
|
readonly attribute boolean originAgentCluster;
|
|
1788
1788
|
|
|
1789
1789
|
// user prompts
|
|
@@ -10,6 +10,7 @@ interface IntersectionObserver {
|
|
|
10
10
|
constructor(IntersectionObserverCallback callback, optional IntersectionObserverInit options = {});
|
|
11
11
|
readonly attribute (Element or Document)? root;
|
|
12
12
|
readonly attribute DOMString rootMargin;
|
|
13
|
+
readonly attribute DOMString scrollMargin;
|
|
13
14
|
readonly attribute FrozenArray<double> thresholds;
|
|
14
15
|
undefined observe(Element target);
|
|
15
16
|
undefined unobserve(Element target);
|
|
@@ -42,5 +43,6 @@ dictionary IntersectionObserverEntryInit {
|
|
|
42
43
|
dictionary IntersectionObserverInit {
|
|
43
44
|
(Element or Document)? root = null;
|
|
44
45
|
DOMString rootMargin = "0px";
|
|
46
|
+
DOMString scrollMargin = "0px";
|
|
45
47
|
(double or sequence<double>) threshold = 0;
|
|
46
48
|
};
|
package/mediasession.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: Media Session
|
|
4
|
+
// Source: Media Session (https://w3c.github.io/mediasession/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
partial interface Navigator {
|
package/package.json
CHANGED
package/screen-capture.idl
CHANGED
|
@@ -34,6 +34,11 @@ enum SurfaceSwitchingPreferenceEnum {
|
|
|
34
34
|
"exclude"
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
+
enum MonitorTypeSurfacesEnum {
|
|
38
|
+
"include",
|
|
39
|
+
"exclude"
|
|
40
|
+
};
|
|
41
|
+
|
|
37
42
|
dictionary DisplayMediaStreamOptions {
|
|
38
43
|
(boolean or MediaTrackConstraints) video = true;
|
|
39
44
|
(boolean or MediaTrackConstraints) audio = false;
|
|
@@ -41,6 +46,7 @@ dictionary DisplayMediaStreamOptions {
|
|
|
41
46
|
SelfCapturePreferenceEnum selfBrowserSurface;
|
|
42
47
|
SystemAudioPreferenceEnum systemAudio;
|
|
43
48
|
SurfaceSwitchingPreferenceEnum surfaceSwitching;
|
|
49
|
+
MonitorTypeSurfacesEnum monitorTypeSurfaces;
|
|
44
50
|
};
|
|
45
51
|
|
|
46
52
|
partial dictionary MediaTrackSupportedConstraints {
|
package/shared-storage.idl
CHANGED
|
@@ -84,3 +84,14 @@ interface WorkletSharedStorage : SharedStorage {
|
|
|
84
84
|
|
|
85
85
|
async iterable<DOMString, DOMString>;
|
|
86
86
|
};
|
|
87
|
+
|
|
88
|
+
interface mixin HTMLSharedStorageWritableElementUtils {
|
|
89
|
+
[CEReactions, SecureContext] attribute boolean sharedStorageWritable;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
HTMLIFrameElement includes HTMLSharedStorageWritableElementUtils;
|
|
93
|
+
HTMLImageElement includes HTMLSharedStorageWritableElementUtils;
|
|
94
|
+
|
|
95
|
+
partial dictionary RequestInit {
|
|
96
|
+
boolean sharedStorageWritable;
|
|
97
|
+
};
|
package/turtledove.idl
CHANGED
|
@@ -11,8 +11,10 @@ partial interface Navigator {
|
|
|
11
11
|
dictionary AuctionAd {
|
|
12
12
|
required USVString renderURL;
|
|
13
13
|
any metadata;
|
|
14
|
+
|
|
14
15
|
USVString buyerReportingId;
|
|
15
16
|
USVString buyerAndSellerReportingId;
|
|
17
|
+
sequence<USVString> allowedReportingOrigins;
|
|
16
18
|
};
|
|
17
19
|
|
|
18
20
|
dictionary GenerateBidInterestGroup {
|
|
@@ -121,6 +123,7 @@ interface InterestGroupReportingScriptRunnerGlobalScope
|
|
|
121
123
|
: InterestGroupScriptRunnerGlobalScope {
|
|
122
124
|
undefined sendReportTo(DOMString url);
|
|
123
125
|
undefined registerAdBeacon(record<DOMString, USVString> map);
|
|
126
|
+
undefined registerAdMacro(DOMString name, USVString value);
|
|
124
127
|
};
|
|
125
128
|
|
|
126
129
|
[SecureContext]
|
package/ua-client-hints.idl
CHANGED
|
@@ -12,7 +12,7 @@ dictionary UADataValues {
|
|
|
12
12
|
DOMString architecture;
|
|
13
13
|
DOMString bitness;
|
|
14
14
|
sequence<NavigatorUABrandVersion> brands;
|
|
15
|
-
DOMString formFactor;
|
|
15
|
+
sequence<DOMString> formFactor;
|
|
16
16
|
sequence<NavigatorUABrandVersion> fullVersionList;
|
|
17
17
|
DOMString model;
|
|
18
18
|
boolean mobile;
|
package/uievents.idl
CHANGED
|
@@ -32,6 +32,8 @@ interface MouseEvent : UIEvent {
|
|
|
32
32
|
readonly attribute long screenY;
|
|
33
33
|
readonly attribute long clientX;
|
|
34
34
|
readonly attribute long clientY;
|
|
35
|
+
readonly attribute long layerX;
|
|
36
|
+
readonly attribute long layerY;
|
|
35
37
|
|
|
36
38
|
readonly attribute boolean ctrlKey;
|
|
37
39
|
readonly attribute boolean shiftKey;
|
package/webaudio.idl
CHANGED
|
@@ -9,6 +9,11 @@ enum AudioContextState {
|
|
|
9
9
|
"closed"
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
+
enum AudioContextRenderSizeCategory {
|
|
13
|
+
"default",
|
|
14
|
+
"hardware"
|
|
15
|
+
};
|
|
16
|
+
|
|
12
17
|
callback DecodeErrorCallback = undefined (DOMException error);
|
|
13
18
|
|
|
14
19
|
callback DecodeSuccessCallback = undefined (AudioBuffer decodedData);
|
|
@@ -20,6 +25,7 @@ interface BaseAudioContext : EventTarget {
|
|
|
20
25
|
readonly attribute double currentTime;
|
|
21
26
|
readonly attribute AudioListener listener;
|
|
22
27
|
readonly attribute AudioContextState state;
|
|
28
|
+
readonly attribute unsigned long renderQuantumSize;
|
|
23
29
|
[SameObject, SecureContext]
|
|
24
30
|
readonly attribute AudioWorklet audioWorklet;
|
|
25
31
|
attribute EventHandler onstatechange;
|
|
@@ -92,6 +98,7 @@ dictionary AudioContextOptions {
|
|
|
92
98
|
(AudioContextLatencyCategory or double) latencyHint = "interactive";
|
|
93
99
|
float sampleRate;
|
|
94
100
|
(DOMString or AudioSinkOptions) sinkId;
|
|
101
|
+
(AudioContextRenderSizeCategory or unsigned long) renderSizeHint = "default";
|
|
95
102
|
};
|
|
96
103
|
|
|
97
104
|
dictionary AudioSinkOptions {
|
|
@@ -150,6 +157,7 @@ dictionary OfflineAudioContextOptions {
|
|
|
150
157
|
unsigned long numberOfChannels = 1;
|
|
151
158
|
required unsigned long length;
|
|
152
159
|
required float sampleRate;
|
|
160
|
+
(AudioContextRenderSizeCategory or unsigned long) renderSizeHint = "default";
|
|
153
161
|
};
|
|
154
162
|
|
|
155
163
|
[Exposed=Window]
|
|
@@ -629,6 +637,7 @@ interface AudioWorkletGlobalScope : WorkletGlobalScope {
|
|
|
629
637
|
readonly attribute unsigned long long currentFrame;
|
|
630
638
|
readonly attribute double currentTime;
|
|
631
639
|
readonly attribute float sampleRate;
|
|
640
|
+
readonly attribute unsigned long renderQuantumSize;
|
|
632
641
|
readonly attribute MessagePort port;
|
|
633
642
|
};
|
|
634
643
|
|
package/webauthn.idl
CHANGED
|
@@ -90,6 +90,7 @@ dictionary PublicKeyCredentialCreationOptionsJSON {
|
|
|
90
90
|
unsigned long timeout;
|
|
91
91
|
sequence<PublicKeyCredentialDescriptorJSON> excludeCredentials = [];
|
|
92
92
|
AuthenticatorSelectionCriteria authenticatorSelection;
|
|
93
|
+
sequence<DOMString> hints = [];
|
|
93
94
|
DOMString attestation = "none";
|
|
94
95
|
sequence<DOMString> attestationFormats = [];
|
|
95
96
|
AuthenticationExtensionsClientInputsJSON extensions;
|
|
@@ -120,6 +121,7 @@ dictionary PublicKeyCredentialRequestOptionsJSON {
|
|
|
120
121
|
DOMString rpId;
|
|
121
122
|
sequence<PublicKeyCredentialDescriptorJSON> allowCredentials = [];
|
|
122
123
|
DOMString userVerification = "preferred";
|
|
124
|
+
sequence<DOMString> hints = [];
|
|
123
125
|
DOMString attestation = "none";
|
|
124
126
|
sequence<DOMString> attestationFormats = [];
|
|
125
127
|
AuthenticationExtensionsClientInputsJSON extensions;
|
|
@@ -162,6 +164,7 @@ dictionary PublicKeyCredentialCreationOptions {
|
|
|
162
164
|
unsigned long timeout;
|
|
163
165
|
sequence<PublicKeyCredentialDescriptor> excludeCredentials = [];
|
|
164
166
|
AuthenticatorSelectionCriteria authenticatorSelection;
|
|
167
|
+
sequence<DOMString> hints = [];
|
|
165
168
|
DOMString attestation = "none";
|
|
166
169
|
sequence<DOMString> attestationFormats = [];
|
|
167
170
|
AuthenticationExtensionsClientInputs extensions;
|
|
@@ -211,6 +214,7 @@ dictionary PublicKeyCredentialRequestOptions {
|
|
|
211
214
|
USVString rpId;
|
|
212
215
|
sequence<PublicKeyCredentialDescriptor> allowCredentials = [];
|
|
213
216
|
DOMString userVerification = "preferred";
|
|
217
|
+
sequence<DOMString> hints = [];
|
|
214
218
|
DOMString attestation = "none";
|
|
215
219
|
sequence<DOMString> attestationFormats = [];
|
|
216
220
|
AuthenticationExtensionsClientInputs extensions;
|
|
@@ -264,6 +268,12 @@ enum UserVerificationRequirement {
|
|
|
264
268
|
"discouraged"
|
|
265
269
|
};
|
|
266
270
|
|
|
271
|
+
enum PublicKeyCredentialHints {
|
|
272
|
+
"security-key",
|
|
273
|
+
"client-device",
|
|
274
|
+
"hybrid",
|
|
275
|
+
};
|
|
276
|
+
|
|
267
277
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
268
278
|
USVString appid;
|
|
269
279
|
};
|
package/webgl2.idl
CHANGED
|
@@ -304,7 +304,7 @@ interface mixin WebGL2RenderingContextBase
|
|
|
304
304
|
// can not be exposed safely to JavaScript. GetBufferSubData
|
|
305
305
|
// replaces it for the purpose of fetching data back from the GPU.
|
|
306
306
|
undefined getBufferSubData(GLenum target, GLintptr srcByteOffset, [AllowShared] ArrayBufferView dstBuffer,
|
|
307
|
-
optional
|
|
307
|
+
optional unsigned long long dstOffset = 0, optional GLuint length = 0);
|
|
308
308
|
|
|
309
309
|
/* Framebuffer objects */
|
|
310
310
|
undefined blitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0,
|
|
@@ -336,7 +336,7 @@ interface mixin WebGL2RenderingContextBase
|
|
|
336
336
|
GLsizei depth, GLint border, GLenum format, GLenum type, [AllowShared] ArrayBufferView? srcData);
|
|
337
337
|
undefined texImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height,
|
|
338
338
|
GLsizei depth, GLint border, GLenum format, GLenum type, [AllowShared] ArrayBufferView srcData,
|
|
339
|
-
|
|
339
|
+
unsigned long long srcOffset);
|
|
340
340
|
|
|
341
341
|
undefined texSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset,
|
|
342
342
|
GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type,
|
|
@@ -346,7 +346,7 @@ interface mixin WebGL2RenderingContextBase
|
|
|
346
346
|
TexImageSource source); // May throw DOMException
|
|
347
347
|
undefined texSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset,
|
|
348
348
|
GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type,
|
|
349
|
-
[AllowShared] ArrayBufferView? srcData, optional
|
|
349
|
+
[AllowShared] ArrayBufferView? srcData, optional unsigned long long srcOffset = 0);
|
|
350
350
|
|
|
351
351
|
undefined copyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset,
|
|
352
352
|
GLint x, GLint y, GLsizei width, GLsizei height);
|
|
@@ -355,7 +355,7 @@ interface mixin WebGL2RenderingContextBase
|
|
|
355
355
|
GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLintptr offset);
|
|
356
356
|
undefined compressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width,
|
|
357
357
|
GLsizei height, GLsizei depth, GLint border, [AllowShared] ArrayBufferView srcData,
|
|
358
|
-
optional
|
|
358
|
+
optional unsigned long long srcOffset = 0, optional GLuint srcLengthOverride = 0);
|
|
359
359
|
|
|
360
360
|
undefined compressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
|
|
361
361
|
GLint zoffset, GLsizei width, GLsizei height, GLsizei depth,
|
|
@@ -363,7 +363,7 @@ interface mixin WebGL2RenderingContextBase
|
|
|
363
363
|
undefined compressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
|
|
364
364
|
GLint zoffset, GLsizei width, GLsizei height, GLsizei depth,
|
|
365
365
|
GLenum format, [AllowShared] ArrayBufferView srcData,
|
|
366
|
-
optional
|
|
366
|
+
optional unsigned long long srcOffset = 0,
|
|
367
367
|
optional GLuint srcLengthOverride = 0);
|
|
368
368
|
|
|
369
369
|
/* Programs and shaders */
|
|
@@ -375,28 +375,28 @@ interface mixin WebGL2RenderingContextBase
|
|
|
375
375
|
undefined uniform3ui(WebGLUniformLocation? location, GLuint v0, GLuint v1, GLuint v2);
|
|
376
376
|
undefined uniform4ui(WebGLUniformLocation? location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
|
|
377
377
|
|
|
378
|
-
undefined uniform1uiv(WebGLUniformLocation? location, Uint32List data, optional
|
|
378
|
+
undefined uniform1uiv(WebGLUniformLocation? location, Uint32List data, optional unsigned long long srcOffset = 0,
|
|
379
379
|
optional GLuint srcLength = 0);
|
|
380
|
-
undefined uniform2uiv(WebGLUniformLocation? location, Uint32List data, optional
|
|
380
|
+
undefined uniform2uiv(WebGLUniformLocation? location, Uint32List data, optional unsigned long long srcOffset = 0,
|
|
381
381
|
optional GLuint srcLength = 0);
|
|
382
|
-
undefined uniform3uiv(WebGLUniformLocation? location, Uint32List data, optional
|
|
382
|
+
undefined uniform3uiv(WebGLUniformLocation? location, Uint32List data, optional unsigned long long srcOffset = 0,
|
|
383
383
|
optional GLuint srcLength = 0);
|
|
384
|
-
undefined uniform4uiv(WebGLUniformLocation? location, Uint32List data, optional
|
|
384
|
+
undefined uniform4uiv(WebGLUniformLocation? location, Uint32List data, optional unsigned long long srcOffset = 0,
|
|
385
385
|
optional GLuint srcLength = 0);
|
|
386
386
|
undefined uniformMatrix3x2fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
|
|
387
|
-
optional
|
|
387
|
+
optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
|
|
388
388
|
undefined uniformMatrix4x2fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
|
|
389
|
-
optional
|
|
389
|
+
optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
|
|
390
390
|
|
|
391
391
|
undefined uniformMatrix2x3fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
|
|
392
|
-
optional
|
|
392
|
+
optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
|
|
393
393
|
undefined uniformMatrix4x3fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
|
|
394
|
-
optional
|
|
394
|
+
optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
|
|
395
395
|
|
|
396
396
|
undefined uniformMatrix2x4fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
|
|
397
|
-
optional
|
|
397
|
+
optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
|
|
398
398
|
undefined uniformMatrix3x4fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
|
|
399
|
-
optional
|
|
399
|
+
optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
|
|
400
400
|
|
|
401
401
|
/* Vertex attribs */
|
|
402
402
|
undefined vertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w);
|
|
@@ -415,11 +415,11 @@ interface mixin WebGL2RenderingContextBase
|
|
|
415
415
|
undefined drawBuffers(sequence<GLenum> buffers);
|
|
416
416
|
|
|
417
417
|
undefined clearBufferfv(GLenum buffer, GLint drawbuffer, Float32List values,
|
|
418
|
-
optional
|
|
418
|
+
optional unsigned long long srcOffset = 0);
|
|
419
419
|
undefined clearBufferiv(GLenum buffer, GLint drawbuffer, Int32List values,
|
|
420
|
-
optional
|
|
420
|
+
optional unsigned long long srcOffset = 0);
|
|
421
421
|
undefined clearBufferuiv(GLenum buffer, GLint drawbuffer, Uint32List values,
|
|
422
|
-
optional
|
|
422
|
+
optional unsigned long long srcOffset = 0);
|
|
423
423
|
|
|
424
424
|
undefined clearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
|
|
425
425
|
|
|
@@ -486,10 +486,10 @@ interface mixin WebGL2RenderingContextOverloads
|
|
|
486
486
|
undefined bufferData(GLenum target, AllowSharedBufferSource? srcData, GLenum usage);
|
|
487
487
|
undefined bufferSubData(GLenum target, GLintptr dstByteOffset, AllowSharedBufferSource srcData);
|
|
488
488
|
// WebGL2:
|
|
489
|
-
undefined bufferData(GLenum target, [AllowShared] ArrayBufferView srcData, GLenum usage,
|
|
489
|
+
undefined bufferData(GLenum target, [AllowShared] ArrayBufferView srcData, GLenum usage, unsigned long long srcOffset,
|
|
490
490
|
optional GLuint length = 0);
|
|
491
491
|
undefined bufferSubData(GLenum target, GLintptr dstByteOffset, [AllowShared] ArrayBufferView srcData,
|
|
492
|
-
|
|
492
|
+
unsigned long long srcOffset, optional GLuint length = 0);
|
|
493
493
|
|
|
494
494
|
// WebGL1 legacy entrypoints:
|
|
495
495
|
undefined texImage2D(GLenum target, GLint level, GLint internalformat,
|
|
@@ -512,7 +512,7 @@ interface mixin WebGL2RenderingContextOverloads
|
|
|
512
512
|
TexImageSource source); // May throw DOMException
|
|
513
513
|
undefined texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height,
|
|
514
514
|
GLint border, GLenum format, GLenum type, [AllowShared] ArrayBufferView srcData,
|
|
515
|
-
|
|
515
|
+
unsigned long long srcOffset);
|
|
516
516
|
|
|
517
517
|
undefined texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width,
|
|
518
518
|
GLsizei height, GLenum format, GLenum type, GLintptr pboOffset);
|
|
@@ -521,46 +521,46 @@ interface mixin WebGL2RenderingContextOverloads
|
|
|
521
521
|
TexImageSource source); // May throw DOMException
|
|
522
522
|
undefined texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width,
|
|
523
523
|
GLsizei height, GLenum format, GLenum type, [AllowShared] ArrayBufferView srcData,
|
|
524
|
-
|
|
524
|
+
unsigned long long srcOffset);
|
|
525
525
|
|
|
526
526
|
undefined compressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width,
|
|
527
527
|
GLsizei height, GLint border, GLsizei imageSize, GLintptr offset);
|
|
528
528
|
undefined compressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width,
|
|
529
529
|
GLsizei height, GLint border, [AllowShared] ArrayBufferView srcData,
|
|
530
|
-
optional
|
|
530
|
+
optional unsigned long long srcOffset = 0, optional GLuint srcLengthOverride = 0);
|
|
531
531
|
|
|
532
532
|
undefined compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
|
|
533
533
|
GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLintptr offset);
|
|
534
534
|
undefined compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
|
|
535
535
|
GLsizei width, GLsizei height, GLenum format,
|
|
536
536
|
[AllowShared] ArrayBufferView srcData,
|
|
537
|
-
optional
|
|
537
|
+
optional unsigned long long srcOffset = 0,
|
|
538
538
|
optional GLuint srcLengthOverride = 0);
|
|
539
539
|
|
|
540
|
-
undefined uniform1fv(WebGLUniformLocation? location, Float32List data, optional
|
|
540
|
+
undefined uniform1fv(WebGLUniformLocation? location, Float32List data, optional unsigned long long srcOffset = 0,
|
|
541
541
|
optional GLuint srcLength = 0);
|
|
542
|
-
undefined uniform2fv(WebGLUniformLocation? location, Float32List data, optional
|
|
542
|
+
undefined uniform2fv(WebGLUniformLocation? location, Float32List data, optional unsigned long long srcOffset = 0,
|
|
543
543
|
optional GLuint srcLength = 0);
|
|
544
|
-
undefined uniform3fv(WebGLUniformLocation? location, Float32List data, optional
|
|
544
|
+
undefined uniform3fv(WebGLUniformLocation? location, Float32List data, optional unsigned long long srcOffset = 0,
|
|
545
545
|
optional GLuint srcLength = 0);
|
|
546
|
-
undefined uniform4fv(WebGLUniformLocation? location, Float32List data, optional
|
|
546
|
+
undefined uniform4fv(WebGLUniformLocation? location, Float32List data, optional unsigned long long srcOffset = 0,
|
|
547
547
|
optional GLuint srcLength = 0);
|
|
548
548
|
|
|
549
|
-
undefined uniform1iv(WebGLUniformLocation? location, Int32List data, optional
|
|
549
|
+
undefined uniform1iv(WebGLUniformLocation? location, Int32List data, optional unsigned long long srcOffset = 0,
|
|
550
550
|
optional GLuint srcLength = 0);
|
|
551
|
-
undefined uniform2iv(WebGLUniformLocation? location, Int32List data, optional
|
|
551
|
+
undefined uniform2iv(WebGLUniformLocation? location, Int32List data, optional unsigned long long srcOffset = 0,
|
|
552
552
|
optional GLuint srcLength = 0);
|
|
553
|
-
undefined uniform3iv(WebGLUniformLocation? location, Int32List data, optional
|
|
553
|
+
undefined uniform3iv(WebGLUniformLocation? location, Int32List data, optional unsigned long long srcOffset = 0,
|
|
554
554
|
optional GLuint srcLength = 0);
|
|
555
|
-
undefined uniform4iv(WebGLUniformLocation? location, Int32List data, optional
|
|
555
|
+
undefined uniform4iv(WebGLUniformLocation? location, Int32List data, optional unsigned long long srcOffset = 0,
|
|
556
556
|
optional GLuint srcLength = 0);
|
|
557
557
|
|
|
558
558
|
undefined uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
|
|
559
|
-
optional
|
|
559
|
+
optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
|
|
560
560
|
undefined uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
|
|
561
|
-
optional
|
|
561
|
+
optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
|
|
562
562
|
undefined uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
|
|
563
|
-
optional
|
|
563
|
+
optional unsigned long long srcOffset = 0, optional GLuint srcLength = 0);
|
|
564
564
|
|
|
565
565
|
/* Reading back pixels */
|
|
566
566
|
// WebGL1:
|
|
@@ -570,7 +570,7 @@ interface mixin WebGL2RenderingContextOverloads
|
|
|
570
570
|
undefined readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type,
|
|
571
571
|
GLintptr offset);
|
|
572
572
|
undefined readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type,
|
|
573
|
-
[AllowShared] ArrayBufferView dstData,
|
|
573
|
+
[AllowShared] ArrayBufferView dstData, unsigned long long dstOffset);
|
|
574
574
|
};
|
|
575
575
|
|
|
576
576
|
[Exposed=(Window,Worker)]
|
package/webnn.idl
CHANGED
|
@@ -65,7 +65,8 @@ dictionary MLOperandDescriptor {
|
|
|
65
65
|
interface MLOperand {};
|
|
66
66
|
|
|
67
67
|
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
68
|
-
interface MLActivation {
|
|
68
|
+
interface MLActivation {
|
|
69
|
+
};
|
|
69
70
|
|
|
70
71
|
typedef record<DOMString, ArrayBufferView> MLNamedArrayBufferViews;
|
|
71
72
|
|
|
@@ -162,7 +163,7 @@ dictionary MLClampOptions {
|
|
|
162
163
|
};
|
|
163
164
|
|
|
164
165
|
partial interface MLGraphBuilder {
|
|
165
|
-
MLOperand clamp(MLOperand
|
|
166
|
+
MLOperand clamp(MLOperand operand, optional MLClampOptions options = {});
|
|
166
167
|
MLActivation clamp(optional MLClampOptions options = {});
|
|
167
168
|
};
|
|
168
169
|
|
|
@@ -235,15 +236,15 @@ partial interface MLGraphBuilder {
|
|
|
235
236
|
};
|
|
236
237
|
|
|
237
238
|
partial interface MLGraphBuilder {
|
|
238
|
-
MLOperand abs(MLOperand
|
|
239
|
-
MLOperand ceil(MLOperand
|
|
240
|
-
MLOperand cos(MLOperand
|
|
241
|
-
MLOperand exp(MLOperand
|
|
242
|
-
MLOperand floor(MLOperand
|
|
243
|
-
MLOperand log(MLOperand
|
|
244
|
-
MLOperand neg(MLOperand
|
|
245
|
-
MLOperand sin(MLOperand
|
|
246
|
-
MLOperand tan(MLOperand
|
|
239
|
+
MLOperand abs(MLOperand input);
|
|
240
|
+
MLOperand ceil(MLOperand input);
|
|
241
|
+
MLOperand cos(MLOperand input);
|
|
242
|
+
MLOperand exp(MLOperand input);
|
|
243
|
+
MLOperand floor(MLOperand input);
|
|
244
|
+
MLOperand log(MLOperand input);
|
|
245
|
+
MLOperand neg(MLOperand input);
|
|
246
|
+
MLOperand sin(MLOperand input);
|
|
247
|
+
MLOperand tan(MLOperand input);
|
|
247
248
|
};
|
|
248
249
|
|
|
249
250
|
dictionary MLEluOptions {
|
|
@@ -251,7 +252,7 @@ dictionary MLEluOptions {
|
|
|
251
252
|
};
|
|
252
253
|
|
|
253
254
|
partial interface MLGraphBuilder {
|
|
254
|
-
MLOperand elu(MLOperand
|
|
255
|
+
MLOperand elu(MLOperand input, optional MLEluOptions options = {});
|
|
255
256
|
MLActivation elu(optional MLEluOptions options = {});
|
|
256
257
|
};
|
|
257
258
|
|
|
@@ -315,12 +316,12 @@ dictionary MLHardSigmoidOptions {
|
|
|
315
316
|
};
|
|
316
317
|
|
|
317
318
|
partial interface MLGraphBuilder {
|
|
318
|
-
MLOperand hardSigmoid(MLOperand
|
|
319
|
+
MLOperand hardSigmoid(MLOperand input, optional MLHardSigmoidOptions options = {});
|
|
319
320
|
MLActivation hardSigmoid(optional MLHardSigmoidOptions options = {});
|
|
320
321
|
};
|
|
321
322
|
|
|
322
323
|
partial interface MLGraphBuilder {
|
|
323
|
-
MLOperand hardSwish(MLOperand
|
|
324
|
+
MLOperand hardSwish(MLOperand input);
|
|
324
325
|
MLActivation hardSwish();
|
|
325
326
|
};
|
|
326
327
|
|
|
@@ -341,7 +342,7 @@ dictionary MLLeakyReluOptions {
|
|
|
341
342
|
};
|
|
342
343
|
|
|
343
344
|
partial interface MLGraphBuilder {
|
|
344
|
-
MLOperand leakyRelu(MLOperand
|
|
345
|
+
MLOperand leakyRelu(MLOperand input, optional MLLeakyReluOptions options = {});
|
|
345
346
|
MLActivation leakyRelu(optional MLLeakyReluOptions options = {});
|
|
346
347
|
};
|
|
347
348
|
|
|
@@ -351,7 +352,7 @@ dictionary MLLinearOptions {
|
|
|
351
352
|
};
|
|
352
353
|
|
|
353
354
|
partial interface MLGraphBuilder {
|
|
354
|
-
MLOperand linear(MLOperand
|
|
355
|
+
MLOperand linear(MLOperand input, optional MLLinearOptions options = {});
|
|
355
356
|
MLActivation linear(optional MLLinearOptions options = {});
|
|
356
357
|
};
|
|
357
358
|
|
|
@@ -438,7 +439,7 @@ partial interface MLGraphBuilder {
|
|
|
438
439
|
};
|
|
439
440
|
|
|
440
441
|
partial interface MLGraphBuilder {
|
|
441
|
-
MLOperand prelu(MLOperand
|
|
442
|
+
MLOperand prelu(MLOperand input, MLOperand slope);
|
|
442
443
|
};
|
|
443
444
|
|
|
444
445
|
dictionary MLReduceOptions {
|
|
@@ -460,7 +461,7 @@ partial interface MLGraphBuilder {
|
|
|
460
461
|
};
|
|
461
462
|
|
|
462
463
|
partial interface MLGraphBuilder {
|
|
463
|
-
MLOperand relu(MLOperand
|
|
464
|
+
MLOperand relu(MLOperand input);
|
|
464
465
|
MLActivation relu();
|
|
465
466
|
};
|
|
466
467
|
|
|
@@ -485,7 +486,7 @@ partial interface MLGraphBuilder {
|
|
|
485
486
|
};
|
|
486
487
|
|
|
487
488
|
partial interface MLGraphBuilder {
|
|
488
|
-
MLOperand sigmoid(MLOperand
|
|
489
|
+
MLOperand sigmoid(MLOperand input);
|
|
489
490
|
MLActivation sigmoid();
|
|
490
491
|
};
|
|
491
492
|
|
|
@@ -494,7 +495,7 @@ partial interface MLGraphBuilder {
|
|
|
494
495
|
};
|
|
495
496
|
|
|
496
497
|
partial interface MLGraphBuilder {
|
|
497
|
-
MLOperand softmax(MLOperand
|
|
498
|
+
MLOperand softmax(MLOperand input);
|
|
498
499
|
MLActivation softmax();
|
|
499
500
|
};
|
|
500
501
|
|
|
@@ -503,12 +504,12 @@ dictionary MLSoftplusOptions {
|
|
|
503
504
|
};
|
|
504
505
|
|
|
505
506
|
partial interface MLGraphBuilder {
|
|
506
|
-
MLOperand softplus(MLOperand
|
|
507
|
+
MLOperand softplus(MLOperand input, optional MLSoftplusOptions options = {});
|
|
507
508
|
MLActivation softplus(optional MLSoftplusOptions options = {});
|
|
508
509
|
};
|
|
509
510
|
|
|
510
511
|
partial interface MLGraphBuilder {
|
|
511
|
-
MLOperand softsign(MLOperand
|
|
512
|
+
MLOperand softsign(MLOperand input);
|
|
512
513
|
MLActivation softsign();
|
|
513
514
|
};
|
|
514
515
|
|
|
@@ -531,7 +532,7 @@ partial interface MLGraphBuilder {
|
|
|
531
532
|
};
|
|
532
533
|
|
|
533
534
|
partial interface MLGraphBuilder {
|
|
534
|
-
MLOperand tanh(MLOperand
|
|
535
|
+
MLOperand tanh(MLOperand input);
|
|
535
536
|
MLActivation tanh();
|
|
536
537
|
};
|
|
537
538
|
|
|
@@ -78,7 +78,7 @@ dictionary RTCEncodedVideoFrameMetadata {
|
|
|
78
78
|
|
|
79
79
|
// New interfaces to define encoded video and audio frames. Will eventually
|
|
80
80
|
// re-use or extend the equivalent defined in WebCodecs.
|
|
81
|
-
[Exposed=(Window,DedicatedWorker)]
|
|
81
|
+
[Exposed=(Window,DedicatedWorker), Serializable]
|
|
82
82
|
interface RTCEncodedVideoFrame {
|
|
83
83
|
readonly attribute RTCEncodedVideoFrameType type;
|
|
84
84
|
readonly attribute unsigned long timestamp;
|
|
@@ -93,7 +93,7 @@ dictionary RTCEncodedAudioFrameMetadata {
|
|
|
93
93
|
short sequenceNumber;
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
[Exposed=(Window,DedicatedWorker)]
|
|
96
|
+
[Exposed=(Window,DedicatedWorker), Serializable]
|
|
97
97
|
interface RTCEncodedAudioFrame {
|
|
98
98
|
readonly attribute unsigned long timestamp;
|
|
99
99
|
attribute ArrayBuffer data;
|
package/webtransport.idl
CHANGED
|
@@ -19,7 +19,7 @@ interface WebTransportDatagramDuplexStream {
|
|
|
19
19
|
interface WebTransport {
|
|
20
20
|
constructor(USVString url, optional WebTransportOptions options = {});
|
|
21
21
|
|
|
22
|
-
Promise<
|
|
22
|
+
Promise<WebTransportConnectionStats> getStats();
|
|
23
23
|
readonly attribute Promise<undefined> ready;
|
|
24
24
|
readonly attribute WebTransportReliabilityMode reliability;
|
|
25
25
|
readonly attribute WebTransportCongestionControl congestionControl;
|
|
@@ -73,13 +73,12 @@ dictionary WebTransportSendStreamOptions {
|
|
|
73
73
|
long long? sendOrder = null;
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
dictionary
|
|
76
|
+
dictionary WebTransportConnectionStats {
|
|
77
77
|
DOMHighResTimeStamp timestamp;
|
|
78
78
|
unsigned long long bytesSent;
|
|
79
79
|
unsigned long long packetsSent;
|
|
80
|
+
unsigned long long bytesLost;
|
|
80
81
|
unsigned long long packetsLost;
|
|
81
|
-
unsigned long numOutgoingStreamsCreated;
|
|
82
|
-
unsigned long numIncomingStreamsCreated;
|
|
83
82
|
unsigned long long bytesReceived;
|
|
84
83
|
unsigned long long packetsReceived;
|
|
85
84
|
DOMHighResTimeStamp smoothedRtt;
|