@webref/idl 3.13.0 → 3.13.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/FedCM.idl CHANGED
@@ -22,12 +22,12 @@ dictionary IdentityProvider {
22
22
  USVString nonce;
23
23
  };
24
24
 
25
- dictionary IdentityCredentialLogoutRpsRequest {
25
+ dictionary IdentityCredentialLogoutRPsRequest {
26
26
  required USVString url;
27
27
  required USVString accountId;
28
28
  };
29
29
 
30
30
  [Exposed=Window, SecureContext]
31
31
  partial interface IdentityCredential {
32
- static Promise<undefined> logoutRPs(sequence<IdentityCredentialLogoutRpsRequest> logoutRequests);
32
+ static Promise<undefined> logoutRPs(sequence<IdentityCredentialLogoutRPsRequest> logoutRequests);
33
33
  };
package/media-source.idl CHANGED
@@ -17,24 +17,24 @@ enum EndOfStreamError {
17
17
  [Exposed=(Window,DedicatedWorker)]
18
18
  interface MediaSource : EventTarget {
19
19
  constructor();
20
- readonly attribute SourceBufferList sourceBuffers;
21
- readonly attribute SourceBufferList activeSourceBuffers;
22
- readonly attribute ReadyState readyState;
23
- attribute unrestricted double duration;
24
- attribute EventHandler onsourceopen;
25
- attribute EventHandler onsourceended;
26
- attribute EventHandler onsourceclose;
27
- static readonly attribute boolean canConstructInDedicatedWorker;
28
- SourceBuffer addSourceBuffer (DOMString type);
29
- undefined removeSourceBuffer (SourceBuffer sourceBuffer);
30
- undefined endOfStream (optional EndOfStreamError error);
31
- undefined setLiveSeekableRange (double start, double end);
32
- undefined clearLiveSeekableRange ();
33
- MediaSourceHandle getHandle ();
34
- static boolean isTypeSupported (DOMString type);
20
+ [SameObject] readonly attribute MediaSourceHandle handle;
21
+ readonly attribute SourceBufferList sourceBuffers;
22
+ readonly attribute SourceBufferList activeSourceBuffers;
23
+ readonly attribute ReadyState readyState;
24
+ attribute unrestricted double duration;
25
+ attribute EventHandler onsourceopen;
26
+ attribute EventHandler onsourceended;
27
+ attribute EventHandler onsourceclose;
28
+ static readonly attribute boolean canConstructInDedicatedWorker;
29
+ SourceBuffer addSourceBuffer (DOMString type);
30
+ undefined removeSourceBuffer (SourceBuffer sourceBuffer);
31
+ undefined endOfStream (optional EndOfStreamError error);
32
+ undefined setLiveSeekableRange (double start, double end);
33
+ undefined clearLiveSeekableRange ();
34
+ static boolean isTypeSupported (DOMString type);
35
35
  };
36
36
 
37
- [Exposed=(Window,DedicatedWorker)]
37
+ [Transferable, Exposed=(Window,DedicatedWorker)]
38
38
  interface MediaSourceHandle {};
39
39
 
40
40
  enum AppendMode {
@@ -5,7 +5,7 @@
5
5
 
6
6
  [Exposed=(Window,Worker), Serializable]
7
7
  interface CropTarget {
8
- [SecureContext] static Promise<CropTarget> fromElement(Element element);
8
+ [Exposed=Window, SecureContext] static Promise<CropTarget> fromElement(Element element);
9
9
  };
10
10
 
11
11
  [Exposed = Window]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.13.0",
4
+ "version": "3.13.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -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: Payment Request API (https://w3c.github.io/payment-request/)
4
+ // Source: Payment Request API 1.1 (https://w3c.github.io/payment-request/)
5
5
 
6
6
  [SecureContext, Exposed=Window]
7
7
  interface PaymentRequest : EventTarget {
@@ -10,7 +10,7 @@ partial interface Performance {
10
10
  };
11
11
  typedef sequence<PerformanceEntry> PerformanceEntryList;
12
12
 
13
- [Exposed=*]
13
+ [Exposed=(Window,Worker)]
14
14
  interface PerformanceEntry {
15
15
  readonly attribute DOMString name;
16
16
  readonly attribute DOMString entryType;
@@ -22,7 +22,7 @@ interface PerformanceEntry {
22
22
  callback PerformanceObserverCallback = undefined (PerformanceObserverEntryList entries,
23
23
  PerformanceObserver observer,
24
24
  optional PerformanceObserverCallbackOptions options = {});
25
- [Exposed=*]
25
+ [Exposed=(Window,Worker)]
26
26
  interface PerformanceObserver {
27
27
  constructor(PerformanceObserverCallback callback);
28
28
  undefined observe (optional PerformanceObserverInit options = {});
@@ -41,7 +41,7 @@ dictionary PerformanceObserverInit {
41
41
  boolean buffered;
42
42
  };
43
43
 
44
- [Exposed=*]
44
+ [Exposed=(Window,Worker)]
45
45
  interface PerformanceObserverEntryList {
46
46
  PerformanceEntryList getEntries();
47
47
  PerformanceEntryList getEntriesByType (DOMString type);
package/user-timing.idl CHANGED
@@ -22,13 +22,13 @@ partial interface Performance {
22
22
  undefined clearMeasures(optional DOMString measureName);
23
23
  };
24
24
 
25
- [Exposed=*]
25
+ [Exposed=(Window,Worker)]
26
26
  interface PerformanceMark : PerformanceEntry {
27
27
  constructor(DOMString markName, optional PerformanceMarkOptions markOptions = {});
28
28
  readonly attribute any detail;
29
29
  };
30
30
 
31
- [Exposed=*]
31
+ [Exposed=(Window,Worker)]
32
32
  interface PerformanceMeasure : PerformanceEntry {
33
33
  readonly attribute any detail;
34
34
  };
@@ -40,6 +40,7 @@ interface Animation : EventTarget {
40
40
  undefined updatePlaybackRate(double playbackRate);
41
41
  undefined reverse();
42
42
  undefined persist();
43
+ [CEReactions]
43
44
  undefined commitStyles();
44
45
  };
45
46
 
package/webrtc-stats.idl CHANGED
@@ -126,6 +126,7 @@ dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
126
126
  unsigned long firCount;
127
127
  unsigned long pliCount;
128
128
  DOMString encoderImplementation;
129
+ boolean active;
129
130
  };
130
131
 
131
132
  enum RTCQualityLimitationReason {
package/webrtc.idl CHANGED
@@ -311,8 +311,6 @@ dictionary RTCRtpCodingParameters {
311
311
  DOMString rid;
312
312
  };
313
313
 
314
- dictionary RTCRtpDecodingParameters : RTCRtpCodingParameters {};
315
-
316
314
  dictionary RTCRtpEncodingParameters : RTCRtpCodingParameters {
317
315
  boolean active = true;
318
316
  unsigned long maxBitrate;