@webref/idl 2.8.2 → 2.9.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.
@@ -7,6 +7,7 @@
7
7
  interface Credential {
8
8
  readonly attribute USVString id;
9
9
  readonly attribute DOMString type;
10
+ static boolean isConditionalMediationAvailable();
10
11
  };
11
12
 
12
13
  [SecureContext]
@@ -39,6 +40,7 @@ dictionary CredentialRequestOptions {
39
40
  enum CredentialMediationRequirement {
40
41
  "silent",
41
42
  "optional",
43
+ "conditional",
42
44
  "required"
43
45
  };
44
46
 
@@ -0,0 +1,18 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: CSS Cascading and Inheritance Level 5 (https://drafts.csswg.org/css-cascade-5/)
5
+
6
+ partial interface CSSImportRule {
7
+ readonly attribute CSSOMString? layerName;
8
+ };
9
+
10
+ [Exposed=Window]
11
+ interface CSSLayerBlockRule : CSSGroupingRule {
12
+ readonly attribute CSSOMString name;
13
+ };
14
+
15
+ [Exposed=Window]
16
+ interface CSSLayerStatementRule : CSSRule {
17
+ readonly attribute FrozenArray<CSSOMString> nameList;
18
+ };
File without changes
package/html.idl CHANGED
@@ -933,6 +933,8 @@ interface HTMLInputElement : HTMLElement {
933
933
  undefined setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
934
934
  undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
935
935
 
936
+ undefined showPicker();
937
+
936
938
  // also has obsolete members
937
939
  };
938
940
 
@@ -0,0 +1,24 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Manifest Incubations (https://wicg.github.io/manifest-incubations/)
5
+
6
+ [Exposed=Window]
7
+ interface BeforeInstallPromptEvent : Event {
8
+ constructor(DOMString type, optional EventInit eventInitDict = {});
9
+ Promise<PromptResponseObject> prompt();
10
+ };
11
+
12
+ dictionary PromptResponseObject {
13
+ AppBannerPromptOutcome userChoice;
14
+ };
15
+
16
+ enum AppBannerPromptOutcome {
17
+ "accepted",
18
+ "dismissed"
19
+ };
20
+
21
+ partial interface Window {
22
+ attribute EventHandler onappinstalled;
23
+ attribute EventHandler onbeforeinstallprompt;
24
+ };
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": "2.8.2",
4
+ "version": "2.9.0",
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: Secure Payment Confirmation (https://w3c.github.io/secure-payment-confirmation)
4
+ // Source: Secure Payment Confirmation (https://w3c.github.io/secure-payment-confirmation/)
5
5
 
6
6
  dictionary SecurePaymentConfirmationRequest {
7
7
  required BufferSource challenge;
package/web-nfc.idl CHANGED
@@ -51,6 +51,7 @@ interface NDEFReader : EventTarget {
51
51
  Promise<undefined> scan(optional NDEFScanOptions options={});
52
52
  Promise<undefined> write(NDEFMessageSource message,
53
53
  optional NDEFWriteOptions options={});
54
+ Promise<undefined> makeReadOnly(optional NDEFMakeReadOnlyOptions options={});
54
55
  };
55
56
 
56
57
  [SecureContext, Exposed=Window]
@@ -71,6 +72,10 @@ dictionary NDEFWriteOptions {
71
72
  AbortSignal? signal;
72
73
  };
73
74
 
75
+ dictionary NDEFMakeReadOnlyOptions {
76
+ AbortSignal? signal;
77
+ };
78
+
74
79
  dictionary NDEFScanOptions {
75
80
  AbortSignal signal;
76
81
  };
package/webgpu.idl CHANGED
@@ -517,9 +517,14 @@ interface GPUShaderModule {
517
517
  };
518
518
  GPUShaderModule includes GPUObjectBase;
519
519
 
520
+ dictionary GPUShaderModuleCompilationHint {
521
+ required GPUPipelineLayout layout;
522
+ };
523
+
520
524
  dictionary GPUShaderModuleDescriptor : GPUObjectDescriptorBase {
521
525
  required USVString code;
522
526
  object sourceMap;
527
+ record<USVString, GPUShaderModuleCompilationHint> hints;
523
528
  };
524
529
 
525
530
  enum GPUCompilationMessageType {
package/webtransport.idl CHANGED
@@ -46,8 +46,8 @@ dictionary WebTransportOptions {
46
46
  };
47
47
 
48
48
  dictionary WebTransportCloseInfo {
49
- unsigned long closeCode;
50
- DOMString reason;
49
+ unsigned long closeCode = 0;
50
+ DOMString reason = "";
51
51
  };
52
52
 
53
53
  dictionary WebTransportStats {
@@ -11,7 +11,7 @@ partial interface Navigator {
11
11
  [Exposed=Window]
12
12
  interface WindowControlsOverlay : EventTarget {
13
13
  readonly attribute boolean visible;
14
- DOMRect getBoundingClientRect();
14
+ DOMRect getTitlebarAreaRect();
15
15
  attribute EventHandler ongeometrychange;
16
16
  };
17
17