@webref/idl 3.12.1 → 3.12.2

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
@@ -4,37 +4,31 @@
4
4
  // Source: Federated Credential Management API (https://fedidcg.github.io/FedCM/)
5
5
 
6
6
  [Exposed=Window, SecureContext]
7
- dictionary FederatedAccountLoginRequest {
8
- AbortSignal signal;
9
- USVString nonce;
10
- };
11
-
12
- [Exposed=Window, SecureContext]
13
- partial interface FederatedCredential {
14
- Promise<FederatedTokens> login(optional FederatedAccountLoginRequest request = {});
7
+ interface IdentityCredential : Credential {
8
+ readonly attribute USVString? idToken;
15
9
  };
16
10
 
17
- [Exposed=Window, SecureContext]
18
- dictionary FederatedTokens {
19
- USVString idToken;
11
+ partial dictionary CredentialRequestOptions {
12
+ IdentityCredentialRequestOptions identity;
20
13
  };
21
14
 
22
- [Exposed=Window, SecureContext]
23
- partial interface FederatedCredential {
24
- Promise<undefined> revoke(USVString hint);
15
+ dictionary IdentityCredentialRequestOptions {
16
+ sequence<IdentityProvider> providers;
25
17
  };
26
18
 
27
- [Exposed=Window, SecureContext]
28
- partial interface FederatedCredential {
29
- Promise<undefined> logout();
19
+ dictionary IdentityProvider {
20
+ required USVString configURL;
21
+ required USVString clientId;
22
+ USVString nonce;
23
+ USVString hint;
30
24
  };
31
25
 
32
- dictionary FederatedCredentialLogoutRpsRequest {
26
+ dictionary IdentityCredentialLogoutRpsRequest {
33
27
  required USVString url;
34
28
  required USVString accountId;
35
29
  };
36
30
 
37
31
  [Exposed=Window, SecureContext]
38
- partial interface FederatedCredential {
39
- static Promise<undefined> logoutRPs(sequence<FederatedCredentialLogoutRpsRequest> logoutRequests);
32
+ partial interface IdentityCredential {
33
+ static Promise<undefined> logoutRPs(sequence<IdentityCredentialLogoutRpsRequest> logoutRequests);
40
34
  };
package/cssom-view.idl CHANGED
@@ -101,7 +101,6 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
101
101
  };
102
102
 
103
103
  dictionary IsVisibleOptions {
104
- boolean checkInert = false;
105
104
  boolean checkOpacity = false;
106
105
  boolean checkVisibilityCSS = false;
107
106
  };
@@ -58,13 +58,3 @@ dictionary BlobEventInit {
58
58
  required Blob data;
59
59
  DOMHighResTimeStamp timecode;
60
60
  };
61
-
62
- dictionary MediaRecorderErrorEventInit : EventInit {
63
- required DOMException error;
64
- };
65
-
66
- [Exposed=Window]
67
- interface MediaRecorderErrorEvent : Event {
68
- constructor(DOMString type, MediaRecorderErrorEventInit eventInitDict);
69
- [SameObject] readonly attribute DOMException error;
70
- };
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.12.1",
4
+ "version": "3.12.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -17,11 +17,17 @@ enum SystemAudioPreferenceEnum {
17
17
  "exclude"
18
18
  };
19
19
 
20
+ enum SurfaceSwitchingPreferenceEnum {
21
+ "include",
22
+ "exclude"
23
+ };
24
+
20
25
  dictionary DisplayMediaStreamConstraints {
21
26
  (boolean or MediaTrackConstraints) video = true;
22
27
  (boolean or MediaTrackConstraints) audio = false;
23
28
  SelfCapturePreferenceEnum selfBrowserSurface;
24
29
  SystemAudioPreferenceEnum systemAudio;
30
+ SurfaceSwitchingPreferenceEnum surfaceSwitching;
25
31
  };
26
32
 
27
33
  partial dictionary MediaTrackSupportedConstraints {
package/webgpu.idl CHANGED
@@ -980,6 +980,7 @@ dictionary GPURenderPassDescriptor : GPUObjectDescriptorBase {
980
980
  GPURenderPassDepthStencilAttachment depthStencilAttachment;
981
981
  GPUQuerySet occlusionQuerySet;
982
982
  GPURenderPassTimestampWrites timestampWrites = [];
983
+ GPUSize64 maxDrawCount = 50000000;
983
984
  };
984
985
 
985
986
  dictionary GPURenderPassColorAttachment {
package/webhid.idl CHANGED
@@ -7,7 +7,12 @@
7
7
  [SameObject] readonly attribute HID hid;
8
8
  };
9
9
 
10
- [Exposed=Window, SecureContext]
10
+ [Exposed=ServiceWorker, SecureContext]
11
+ partial interface WorkerNavigator {
12
+ [SameObject] readonly attribute HID hid;
13
+ };
14
+
15
+ [Exposed=(Window,ServiceWorker), SecureContext]
11
16
  interface HID : EventTarget {
12
17
  attribute EventHandler onconnect;
13
18
  attribute EventHandler ondisconnect;
package/webnn.idl CHANGED
@@ -29,7 +29,6 @@ dictionary MLContextOptions {
29
29
  interface ML {
30
30
  MLContext createContext(optional MLContextOptions options = {});
31
31
  MLContext createContext(GPUDevice gpuDevice);
32
- MLContext createContext(WebGLRenderingContext glContext);
33
32
  };
34
33
 
35
34
  dictionary MLArrayInput {
@@ -90,7 +89,7 @@ interface MLOperator {};
90
89
  typedef record<DOMString, MLOperand> MLNamedOperands;
91
90
 
92
91
  dictionary MLBufferResourceView {
93
- required (WebGLBuffer or GPUBuffer) resource;
92
+ required GPUBuffer resource;
94
93
  unsigned long long offset = 0;
95
94
  unsigned long long size;
96
95
  };