@webref/idl 3.2.1 → 3.5.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.
@@ -17,31 +17,14 @@ partial interface Navigator {
17
17
  [SecureContext, SameObject] readonly attribute Clipboard clipboard;
18
18
  };
19
19
 
20
- typedef sequence<ClipboardItem> ClipboardItems;
21
-
22
- [SecureContext, Exposed=Window] interface Clipboard : EventTarget {
23
- Promise<ClipboardItems> read();
24
- Promise<DOMString> readText();
25
- Promise<undefined> write(ClipboardItems data);
26
- Promise<undefined> writeText(DOMString data);
27
- };
28
-
29
- typedef (DOMString or Blob) ClipboardItemDataType;
30
- typedef Promise<ClipboardItemDataType> ClipboardItemData;
31
-
32
- callback ClipboardItemDelayedCallback = ClipboardItemData ();
20
+ typedef Promise<(DOMString or Blob)> ClipboardItemData;
33
21
 
34
- [Exposed=Window] interface ClipboardItem {
22
+ [SecureContext, Exposed=Window]
23
+ interface ClipboardItem {
35
24
  constructor(record<DOMString, ClipboardItemData> items,
36
- optional ClipboardItemOptions options = {});
37
- static ClipboardItem createDelayed(
38
- record<DOMString, ClipboardItemDelayedCallback> items,
39
- optional ClipboardItemOptions options = {});
25
+ optional ClipboardItemOptions options = {});
40
26
 
41
27
  readonly attribute PresentationStyle presentationStyle;
42
- readonly attribute long long lastModified;
43
- readonly attribute boolean delayed;
44
-
45
28
  readonly attribute FrozenArray<DOMString> types;
46
29
 
47
30
  Promise<Blob> getType(DOMString type);
@@ -53,6 +36,16 @@ dictionary ClipboardItemOptions {
53
36
  PresentationStyle presentationStyle = "unspecified";
54
37
  };
55
38
 
39
+ typedef sequence<ClipboardItem> ClipboardItems;
40
+
41
+ [SecureContext, Exposed=Window]
42
+ interface Clipboard : EventTarget {
43
+ Promise<ClipboardItems> read();
44
+ Promise<DOMString> readText();
45
+ Promise<undefined> write(ClipboardItems data);
46
+ Promise<undefined> writeText(DOMString data);
47
+ };
48
+
56
49
  dictionary ClipboardPermissionDescriptor : PermissionDescriptor {
57
50
  boolean allowWithoutGesture = false;
58
51
  };
package/close-watcher.idl CHANGED
@@ -5,11 +5,15 @@
5
5
 
6
6
  [Exposed=Window]
7
7
  interface CloseWatcher : EventTarget {
8
- constructor();
8
+ constructor(optional CloseWatcherOptions options = {});
9
9
 
10
10
  undefined destroy();
11
- undefined signalClose();
11
+ undefined close();
12
12
 
13
13
  attribute EventHandler oncancel;
14
14
  attribute EventHandler onclose;
15
15
  };
16
+
17
+ dictionary CloseWatcherOptions {
18
+ AbortSignal signal;
19
+ };
@@ -1,36 +1,40 @@
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: Compute Pressure API (https://wicg.github.io/compute-pressure/)
4
+ // Source: Compute Pressure API Level 1 (https://wicg.github.io/compute-pressure/)
5
5
 
6
- enum PressureState { "nominal", "fair", "serious", "critical" };
6
+ enum ComputePressureState { "nominal", "fair", "serious", "critical" };
7
+
8
+ enum ComputePressureFactor { "thermal", "power-supply" };
7
9
 
8
10
  callback ComputePressureUpdateCallback = undefined (
9
11
  sequence<ComputePressureRecord> changes,
10
12
  ComputePressureObserver observer
11
13
  );
12
14
 
13
- enum ComputePressureTarget { "cpu" };
15
+ enum ComputePressureSource { "cpu" };
14
16
 
15
17
  [Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
16
18
  interface ComputePressureObserver {
17
- constructor(ComputePressureUpdateCallback callback);
19
+ constructor(ComputePressureUpdateCallback callback, optional ComputePressureObserverOptions options = {});
18
20
 
19
- undefined observe(ComputePressureTarget target, optional ComputePressureObserverOptions options = {});
20
- undefined unobserve(ComputePressureTarget target);
21
+ undefined observe(ComputePressureSource source);
22
+ undefined unobserve(ComputePressureSource source);
21
23
  undefined disconnect();
22
24
  sequence<ComputePressureRecord> takeRecords();
23
25
 
24
- [SameObject] static readonly attribute FrozenArray<DOMString> supportedTargetTypes;
26
+ [SameObject] static readonly attribute FrozenArray<ComputePressureSource> supportedSources;
25
27
 
26
28
  [Exposed=Window] static Promise<PermissionState> requestPermission();
27
29
  };
28
30
 
29
31
  dictionary ComputePressureRecord {
30
- PressureState state;
31
- ComputePressureObserverOptions options;
32
+ ComputePressureSource source;
33
+ ComputePressureState state;
34
+ sequence<ComputePressureFactor> factors;
35
+ DOMHighResTimeStamp time;
32
36
  };
33
37
 
34
38
  dictionary ComputePressureObserverOptions {
35
- // For future-proofing - expect things to be added here later.
39
+ double frequency;
36
40
  };
package/css-typed-om.idl CHANGED
@@ -199,6 +199,30 @@ partial namespace CSS {
199
199
  CSSUnitValue vb(double value);
200
200
  CSSUnitValue vmin(double value);
201
201
  CSSUnitValue vmax(double value);
202
+ CSSUnitValue svw(double value);
203
+ CSSUnitValue svh(double value);
204
+ CSSUnitValue svi(double value);
205
+ CSSUnitValue svb(double value);
206
+ CSSUnitValue svmin(double value);
207
+ CSSUnitValue svmax(double value);
208
+ CSSUnitValue lvw(double value);
209
+ CSSUnitValue lvh(double value);
210
+ CSSUnitValue lvi(double value);
211
+ CSSUnitValue lvb(double value);
212
+ CSSUnitValue lvmin(double value);
213
+ CSSUnitValue lvmax(double value);
214
+ CSSUnitValue dvw(double value);
215
+ CSSUnitValue dvh(double value);
216
+ CSSUnitValue dvi(double value);
217
+ CSSUnitValue dvb(double value);
218
+ CSSUnitValue dvmin(double value);
219
+ CSSUnitValue dvmax(double value);
220
+ CSSUnitValue cqw(double value);
221
+ CSSUnitValue cqh(double value);
222
+ CSSUnitValue cqi(double value);
223
+ CSSUnitValue cqb(double value);
224
+ CSSUnitValue cqmin(double value);
225
+ CSSUnitValue cqmax(double value);
202
226
  CSSUnitValue cm(double value);
203
227
  CSSUnitValue mm(double value);
204
228
  CSSUnitValue Q(double value);
package/cssom-view.idl CHANGED
@@ -100,9 +100,16 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
100
100
  ScrollLogicalPosition inline = "nearest";
101
101
  };
102
102
 
103
+ dictionary IsVisibleOptions {
104
+
105
+ };
106
+
103
107
  partial interface Element {
104
108
  DOMRectList getClientRects();
105
109
  [NewObject] DOMRect getBoundingClientRect();
110
+
111
+ boolean isVisible(optional IsVisibleOptions options = {});
112
+
106
113
  undefined scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
107
114
  undefined scroll(optional ScrollToOptions options = {});
108
115
  undefined scroll(unrestricted double x, unrestricted double y);
@@ -0,0 +1,44 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Digital Goods API (https://wicg.github.io/digital-goods/)
5
+
6
+ partial interface Window {
7
+ [SecureContext] Promise<DigitalGoodsService> getDigitalGoodsService(
8
+ DOMString serviceProvider);
9
+ };
10
+
11
+ [Exposed=Window, SecureContext] interface DigitalGoodsService {
12
+
13
+ Promise<sequence<ItemDetails>> getDetails(sequence<DOMString> itemIds);
14
+
15
+ Promise<sequence<PurchaseDetails>> listPurchases();
16
+
17
+ Promise<sequence<PurchaseDetails>> listPurchaseHistory();
18
+
19
+ Promise<undefined> consume(DOMString purchaseToken);
20
+ };
21
+
22
+ dictionary ItemDetails {
23
+ required DOMString itemId;
24
+ required DOMString title;
25
+ required PaymentCurrencyAmount price;
26
+ ItemType type;
27
+ DOMString description;
28
+ sequence<DOMString> iconURLs;
29
+ DOMString subscriptionPeriod;
30
+ DOMString freeTrialPeriod;
31
+ PaymentCurrencyAmount introductoryPrice;
32
+ DOMString introductoryPricePeriod;
33
+ [EnforceRange] unsigned long long introductoryPriceCycles;
34
+ };
35
+
36
+ enum ItemType {
37
+ "product",
38
+ "subscription",
39
+ };
40
+
41
+ dictionary PurchaseDetails {
42
+ required DOMString itemId;
43
+ required DOMString purchaseToken;
44
+ };
package/html.idl CHANGED
@@ -116,6 +116,7 @@ interface HTMLElement : Element {
116
116
 
117
117
  // user interaction
118
118
  [CEReactions] attribute boolean hidden;
119
+ [CEReactions] attribute boolean inert;
119
120
  undefined click();
120
121
  [CEReactions] attribute DOMString accessKey;
121
122
  readonly attribute DOMString accessKeyLabel;
@@ -1480,7 +1481,7 @@ interface mixin CanvasPath {
1480
1481
  undefined bezierCurveTo(unrestricted double cp1x, unrestricted double cp1y, unrestricted double cp2x, unrestricted double cp2y, unrestricted double x, unrestricted double y);
1481
1482
  undefined arcTo(unrestricted double x1, unrestricted double y1, unrestricted double x2, unrestricted double y2, unrestricted double radius);
1482
1483
  undefined rect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h);
1483
- undefined roundRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h, optional (unrestricted double or DOMPointInit or sequence<(unrestricted double or DOMPointInit)>) radii = {});
1484
+ undefined roundRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h, optional (unrestricted double or DOMPointInit or sequence<(unrestricted double or DOMPointInit)>) radii = 0);
1484
1485
  undefined arc(unrestricted double x, unrestricted double y, unrestricted double radius, unrestricted double startAngle, unrestricted double endAngle, optional boolean counterclockwise = false);
1485
1486
  undefined ellipse(unrestricted double x, unrestricted double y, unrestricted double radiusX, unrestricted double radiusY, unrestricted double rotation, unrestricted double startAngle, unrestricted double endAngle, optional boolean counterclockwise = false);
1486
1487
  };
@@ -0,0 +1,137 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Navigation API (https://wicg.github.io/navigation-api/)
5
+
6
+ partial interface Window {
7
+ [Replaceable] readonly attribute Navigation navigation;
8
+ };
9
+
10
+ [Exposed=Window]
11
+ interface Navigation : EventTarget {
12
+ sequence<NavigationHistoryEntry> entries();
13
+ readonly attribute NavigationHistoryEntry? currentEntry;
14
+ undefined updateCurrentEntry(NavigationUpdateCurrentEntryOptions options);
15
+ readonly attribute NavigationTransition? transition;
16
+
17
+ readonly attribute boolean canGoBack;
18
+ readonly attribute boolean canGoForward;
19
+
20
+ NavigationResult navigate(USVString url, optional NavigationNavigateOptions options = {});
21
+ NavigationResult reload(optional NavigationReloadOptions options = {});
22
+
23
+ NavigationResult traverseTo(DOMString key, optional NavigationOptions options = {});
24
+ NavigationResult back(optional NavigationOptions options = {});
25
+ NavigationResult forward(optional NavigationOptions options = {});
26
+
27
+ attribute EventHandler onnavigate;
28
+ attribute EventHandler onnavigatesuccess;
29
+ attribute EventHandler onnavigateerror;
30
+ attribute EventHandler oncurrententrychange;
31
+ };
32
+
33
+ dictionary NavigationUpdateCurrentEntryOptions {
34
+ required any state;
35
+ };
36
+
37
+ dictionary NavigationOptions {
38
+ any info;
39
+ };
40
+
41
+ dictionary NavigationNavigateOptions : NavigationOptions {
42
+ any state;
43
+ boolean replace = false;
44
+ };
45
+
46
+ dictionary NavigationReloadOptions : NavigationOptions {
47
+ any state;
48
+ };
49
+
50
+ dictionary NavigationResult {
51
+ Promise<NavigationHistoryEntry> committed;
52
+ Promise<NavigationHistoryEntry> finished;
53
+ };
54
+
55
+ [Exposed=Window]
56
+ interface NavigationCurrentEntryChangeEvent : Event {
57
+ constructor(DOMString type, NavigationCurrentEntryChangeEventInit eventInit);
58
+
59
+ readonly attribute NavigationNavigationType? navigationType;
60
+ readonly attribute NavigationHistoryEntry from;
61
+ };
62
+
63
+ dictionary NavigationCurrentEntryChangeEventInit : EventInit {
64
+ NavigationNavigationType? navigationType = null;
65
+ required NavigationHistoryEntry destination;
66
+ };
67
+
68
+ [Exposed=Window]
69
+ interface NavigationTransition {
70
+ readonly attribute NavigationNavigationType navigationType;
71
+ readonly attribute NavigationHistoryEntry from;
72
+ readonly attribute Promise<undefined> finished;
73
+
74
+ NavigationResult rollback(optional NavigationOptions options = {});
75
+ };
76
+
77
+ [Exposed=Window]
78
+ interface NavigateEvent : Event {
79
+ constructor(DOMString type, NavigateEventInit eventInit);
80
+
81
+ readonly attribute NavigationNavigationType navigationType;
82
+ readonly attribute NavigationDestination destination;
83
+ readonly attribute boolean canTransition;
84
+ readonly attribute boolean userInitiated;
85
+ readonly attribute boolean hashChange;
86
+ readonly attribute AbortSignal signal;
87
+ readonly attribute FormData? formData;
88
+ readonly attribute any info;
89
+
90
+ undefined transitionWhile(Promise<undefined> newNavigationAction);
91
+ };
92
+
93
+ dictionary NavigateEventInit : EventInit {
94
+ NavigationNavigationType navigationType = "push";
95
+ required NavigationDestination destination;
96
+ boolean canTransition = false;
97
+ boolean userInitiated = false;
98
+ boolean hashChange = false;
99
+ required AbortSignal signal;
100
+ FormData? formData = null;
101
+ any info;
102
+ };
103
+
104
+ // TODO: rename to NavigationType after https://github.com/w3c/navigation-timing/pull/172 lands.
105
+ enum NavigationNavigationType {
106
+ "reload",
107
+ "push",
108
+ "replace",
109
+ "traverse"
110
+ };
111
+
112
+ [Exposed=Window]
113
+ interface NavigationDestination {
114
+ readonly attribute USVString url;
115
+ readonly attribute DOMString? key;
116
+ readonly attribute DOMString? id;
117
+ readonly attribute long long index;
118
+ readonly attribute boolean sameDocument;
119
+
120
+ any getState();
121
+ };
122
+
123
+ [Exposed=Window]
124
+ interface NavigationHistoryEntry : EventTarget {
125
+ readonly attribute USVString? url;
126
+ readonly attribute DOMString key;
127
+ readonly attribute DOMString id;
128
+ readonly attribute long long index;
129
+ readonly attribute boolean sameDocument;
130
+
131
+ any getState();
132
+
133
+ attribute EventHandler onnavigateto;
134
+ attribute EventHandler onnavigatefrom;
135
+ attribute EventHandler onfinish;
136
+ attribute EventHandler ondispose;
137
+ };
@@ -5,20 +5,20 @@
5
5
 
6
6
  [Exposed=Window]
7
7
  interface PerformanceNavigationTiming : PerformanceResourceTiming {
8
- readonly attribute DOMHighResTimeStamp unloadEventStart;
9
- readonly attribute DOMHighResTimeStamp unloadEventEnd;
10
- readonly attribute DOMHighResTimeStamp domInteractive;
11
- readonly attribute DOMHighResTimeStamp domContentLoadedEventStart;
12
- readonly attribute DOMHighResTimeStamp domContentLoadedEventEnd;
13
- readonly attribute DOMHighResTimeStamp domComplete;
14
- readonly attribute DOMHighResTimeStamp loadEventStart;
15
- readonly attribute DOMHighResTimeStamp loadEventEnd;
16
- readonly attribute NavigationType type;
17
- readonly attribute unsigned short redirectCount;
8
+ readonly attribute DOMHighResTimeStamp unloadEventStart;
9
+ readonly attribute DOMHighResTimeStamp unloadEventEnd;
10
+ readonly attribute DOMHighResTimeStamp domInteractive;
11
+ readonly attribute DOMHighResTimeStamp domContentLoadedEventStart;
12
+ readonly attribute DOMHighResTimeStamp domContentLoadedEventEnd;
13
+ readonly attribute DOMHighResTimeStamp domComplete;
14
+ readonly attribute DOMHighResTimeStamp loadEventStart;
15
+ readonly attribute DOMHighResTimeStamp loadEventEnd;
16
+ readonly attribute NavigationTimingType type;
17
+ readonly attribute unsigned short redirectCount;
18
18
  [Default] object toJSON();
19
19
  };
20
20
 
21
- enum NavigationType {
21
+ enum NavigationTimingType {
22
22
  "navigate",
23
23
  "reload",
24
24
  "back_forward",
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.2.1",
4
+ "version": "3.5.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -12,6 +12,6 @@
12
12
  "license": "MIT",
13
13
  "main": "index.js",
14
14
  "peerDependencies": {
15
- "webidl2": "^24.2.0"
15
+ "webidl2": "^24.2.1"
16
16
  }
17
17
  }
package/webgpu.idl CHANGED
@@ -84,6 +84,7 @@ interface GPUAdapter {
84
84
  dictionary GPUDeviceDescriptor : GPUObjectDescriptorBase {
85
85
  sequence<GPUFeatureName> requiredFeatures = [];
86
86
  record<DOMString, GPUSize64> requiredLimits = {};
87
+ GPUQueueDescriptor defaultQueue = {};
87
88
  };
88
89
 
89
90
  enum GPUFeatureName {
@@ -375,7 +376,7 @@ dictionary GPUSamplerDescriptor : GPUObjectDescriptorBase {
375
376
  GPUAddressMode addressModeW = "clamp-to-edge";
376
377
  GPUFilterMode magFilter = "nearest";
377
378
  GPUFilterMode minFilter = "nearest";
378
- GPUFilterMode mipmapFilter = "nearest";
379
+ GPUMipmapFilterMode mipmapFilter = "nearest";
379
380
  float lodMinClamp = 0;
380
381
  float lodMaxClamp = 32;
381
382
  GPUCompareFunction compare;
@@ -393,6 +394,11 @@ enum GPUFilterMode {
393
394
  "linear",
394
395
  };
395
396
 
397
+ enum GPUMipmapFilterMode {
398
+ "nearest",
399
+ "linear",
400
+ };
401
+
396
402
  enum GPUCompareFunction {
397
403
  "never",
398
404
  "less",
@@ -1034,6 +1040,9 @@ dictionary GPURenderBundleEncoderDescriptor : GPURenderPassLayout {
1034
1040
  boolean stencilReadOnly = false;
1035
1041
  };
1036
1042
 
1043
+ dictionary GPUQueueDescriptor : GPUObjectDescriptorBase {
1044
+ };
1045
+
1037
1046
  [Exposed=(Window, DedicatedWorker), SecureContext]
1038
1047
  interface GPUQueue {
1039
1048
  undefined submit(sequence<GPUCommandBuffer> commandBuffers);
package/app-history.idl DELETED
@@ -1,136 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: App History API (https://wicg.github.io/app-history/)
5
-
6
- partial interface Window {
7
- readonly attribute AppHistory appHistory;
8
- };
9
-
10
- [Exposed=Window]
11
- interface AppHistory : EventTarget {
12
- sequence<AppHistoryEntry> entries();
13
- readonly attribute AppHistoryEntry? current;
14
- undefined updateCurrent(AppHistoryUpdateCurrentOptions options);
15
- readonly attribute AppHistoryTransition? transition;
16
-
17
- readonly attribute boolean canGoBack;
18
- readonly attribute boolean canGoForward;
19
-
20
- AppHistoryResult navigate(USVString url, optional AppHistoryNavigateOptions options = {});
21
- AppHistoryResult reload(optional AppHistoryReloadOptions options = {});
22
-
23
- AppHistoryResult goTo(DOMString key, optional AppHistoryNavigationOptions options = {});
24
- AppHistoryResult back(optional AppHistoryNavigationOptions options = {});
25
- AppHistoryResult forward(optional AppHistoryNavigationOptions options = {});
26
-
27
- attribute EventHandler onnavigate;
28
- attribute EventHandler onnavigatesuccess;
29
- attribute EventHandler onnavigateerror;
30
- attribute EventHandler oncurrentchange;
31
- };
32
-
33
- dictionary AppHistoryUpdateCurrentOptions {
34
- required any state;
35
- };
36
-
37
- dictionary AppHistoryNavigationOptions {
38
- any info;
39
- };
40
-
41
- dictionary AppHistoryNavigateOptions : AppHistoryNavigationOptions {
42
- any state;
43
- boolean replace = false;
44
- };
45
-
46
- dictionary AppHistoryReloadOptions : AppHistoryNavigationOptions {
47
- any state;
48
- };
49
-
50
- dictionary AppHistoryResult {
51
- Promise<AppHistoryEntry> committed;
52
- Promise<AppHistoryEntry> finished;
53
- };
54
-
55
- [Exposed=Window]
56
- interface AppHistoryCurrentChangeEvent : Event {
57
- constructor(DOMString type, AppHistoryCurrentChangeEventInit eventInit);
58
-
59
- readonly attribute AppHistoryNavigationType? navigationType;
60
- readonly attribute AppHistoryEntry from;
61
- };
62
-
63
- dictionary AppHistoryCurrentChangeEventInit : EventInit {
64
- AppHistoryNavigationType? navigationType = null;
65
- required AppHistoryEntry destination;
66
- };
67
-
68
- [Exposed=Window]
69
- interface AppHistoryTransition {
70
- readonly attribute AppHistoryNavigationType navigationType;
71
- readonly attribute AppHistoryEntry from;
72
- readonly attribute Promise<undefined> finished;
73
-
74
- AppHistoryResult rollback(optional AppHistoryNavigationOptions options = {});
75
- };
76
-
77
- [Exposed=Window]
78
- interface AppHistoryNavigateEvent : Event {
79
- constructor(DOMString type, AppHistoryNavigateEventInit eventInit);
80
-
81
- readonly attribute AppHistoryNavigationType navigationType;
82
- readonly attribute AppHistoryDestination destination;
83
- readonly attribute boolean canTransition;
84
- readonly attribute boolean userInitiated;
85
- readonly attribute boolean hashChange;
86
- readonly attribute AbortSignal signal;
87
- readonly attribute FormData? formData;
88
- readonly attribute any info;
89
-
90
- undefined transitionWhile(Promise<undefined> newNavigationAction);
91
- };
92
-
93
- dictionary AppHistoryNavigateEventInit : EventInit {
94
- AppHistoryNavigationType navigationType = "push";
95
- required AppHistoryDestination destination;
96
- boolean canTransition = false;
97
- boolean userInitiated = false;
98
- boolean hashChange = false;
99
- required AbortSignal signal;
100
- FormData? formData = null;
101
- any info;
102
- };
103
-
104
- enum AppHistoryNavigationType {
105
- "reload",
106
- "push",
107
- "replace",
108
- "traverse"
109
- };
110
-
111
- [Exposed=Window]
112
- interface AppHistoryDestination {
113
- readonly attribute USVString url;
114
- readonly attribute DOMString? key;
115
- readonly attribute DOMString? id;
116
- readonly attribute long long index;
117
- readonly attribute boolean sameDocument;
118
-
119
- any getState();
120
- };
121
-
122
- [Exposed=Window]
123
- interface AppHistoryEntry : EventTarget {
124
- readonly attribute USVString? url;
125
- readonly attribute DOMString key;
126
- readonly attribute DOMString id;
127
- readonly attribute long long index;
128
- readonly attribute boolean sameDocument;
129
-
130
- any getState();
131
-
132
- attribute EventHandler onnavigateto;
133
- attribute EventHandler onnavigatefrom;
134
- attribute EventHandler onfinish;
135
- attribute EventHandler ondispose;
136
- };
package/floc.idl DELETED
@@ -1,13 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: Federated Learning of Cohorts (https://wicg.github.io/floc/)
5
-
6
- dictionary InterestCohort {
7
- DOMString id;
8
- DOMString version;
9
- };
10
-
11
- partial interface Document {
12
- Promise<InterestCohort> interestCohort();
13
- };