@webref/idl 3.11.0 → 3.11.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.
@@ -4,17 +4,9 @@
4
4
  // Source: Attribution Reporting (https://wicg.github.io/conversion-measurement-api/)
5
5
 
6
6
  partial interface HTMLAnchorElement {
7
- [CEReactions] attribute USVString attributionDestination;
8
- [CEReactions] attribute DOMString attributionSourceEventId;
9
- [CEReactions] attribute USVString attributionReportTo;
10
- [CEReactions] attribute long long attributionExpiry;
11
- [CEReactions] attribute long long attributionSourcePriority;
7
+ [CEReactions] attribute USVString attributionSrc;
12
8
  };
13
9
 
14
- dictionary AttributionSourceParams {
15
- required USVString attributionDestination;
16
- required DOMString attributionSourceEventId;
17
- USVString attributionReportTo;
18
- long long attributionExpiry;
19
- long long attributionSourcePriority;
10
+ partial interface HTMLImageElement {
11
+ [CEReactions] attribute USVString attributionSrc;
20
12
  };
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.11.0",
4
+ "version": "3.11.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -14,4 +14,4 @@
14
14
  "peerDependencies": {
15
15
  "webidl2": "^24.2.2"
16
16
  }
17
- }
17
+ }
package/webgpu.idl CHANGED
@@ -46,6 +46,14 @@ interface GPUSupportedFeatures {
46
46
  readonly setlike<DOMString>;
47
47
  };
48
48
 
49
+ [Exposed=(Window, DedicatedWorker), SecureContext]
50
+ interface GPUAdapterInfo {
51
+ readonly attribute DOMString vendor;
52
+ readonly attribute DOMString architecture;
53
+ readonly attribute DOMString device;
54
+ readonly attribute DOMString description;
55
+ };
56
+
49
57
  enum GPUPredefinedColorSpace {
50
58
  "srgb",
51
59
  };
@@ -74,12 +82,12 @@ enum GPUPowerPreference {
74
82
 
75
83
  [Exposed=(Window, DedicatedWorker), SecureContext]
76
84
  interface GPUAdapter {
77
- readonly attribute DOMString name;
78
85
  [SameObject] readonly attribute GPUSupportedFeatures features;
79
86
  [SameObject] readonly attribute GPUSupportedLimits limits;
80
87
  readonly attribute boolean isFallbackAdapter;
81
88
 
82
89
  Promise<GPUDevice> requestDevice(optional GPUDeviceDescriptor descriptor = {});
90
+ Promise<GPUAdapterInfo> requestAdapterInfo(optional sequence<DOMString> unmaskHints = []);
83
91
  };
84
92
 
85
93
  dictionary GPUDeviceDescriptor : GPUObjectDescriptorBase {
@@ -535,7 +543,7 @@ dictionary GPUShaderModuleDescriptor : GPUObjectDescriptorBase {
535
543
  };
536
544
 
537
545
  dictionary GPUShaderModuleCompilationHint {
538
- required (GPUPipelineLayout or GPUAutoLayoutMode) layout;
546
+ (GPUPipelineLayout or GPUAutoLayoutMode) layout;
539
547
  };
540
548
 
541
549
  enum GPUCompilationMessageType {