Sync interfaces/ with @webref/idl 3.70.0 (#56725)
Co-authored-by: wpt-pr-bot <[email protected]>
diff --git a/interfaces/cookiestore.idl b/interfaces/cookiestore.idl
index cbcf071..f059c9f 100644
--- a/interfaces/cookiestore.idl
+++ b/interfaces/cookiestore.idl
@@ -41,6 +41,7 @@
USVString path = "/";
CookieSameSite sameSite = "strict";
boolean partitioned = false;
+ long long? maxAge = null;
};
dictionary CookieStoreDeleteOptions {
diff --git a/interfaces/css-conditional.idl b/interfaces/css-conditional.idl
index eace34c..f57f786 100644
--- a/interfaces/css-conditional.idl
+++ b/interfaces/css-conditional.idl
@@ -5,6 +5,7 @@
partial interface CSSRule {
const unsigned short SUPPORTS_RULE = 12;
+
};
[Exposed=Window]
diff --git a/interfaces/css-fonts.idl b/interfaces/css-fonts.idl
index 9b8034b..9ff371e 100644
--- a/interfaces/css-fonts.idl
+++ b/interfaces/css-fonts.idl
@@ -3,7 +3,8 @@
// (https://github.com/w3c/webref)
// Source: CSS Fonts Module Level 4 (https://drafts.csswg.org/css-fonts-4/)
-partial interface CSSRule { const unsigned short FONT_FEATURE_VALUES_RULE = 14;
+partial interface CSSRule {
+ const unsigned short FONT_FEATURE_VALUES_RULE = 14;
};
[Exposed=Window]
interface CSSFontFeatureValuesRule : CSSRule {
@@ -24,7 +25,8 @@
(unsigned long or sequence<unsigned long>) values);
};
-[Exposed=Window]interface CSSFontPaletteValuesRule : CSSRule {
+[Exposed=Window]
+interface CSSFontPaletteValuesRule : CSSRule {
readonly attribute CSSOMString name;
readonly attribute CSSOMString fontFamily;
readonly attribute CSSOMString basePalette;
diff --git a/interfaces/css-masking.idl b/interfaces/css-masking.idl
index 72fbd9a..63bfb67 100644
--- a/interfaces/css-masking.idl
+++ b/interfaces/css-masking.idl
@@ -1,7 +1,7 @@
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
-// Source: CSS Masking Module Level 1 (https://drafts.fxtf.org/css-masking-1/)
+// Source: CSS Masking Module Level 1 (https://drafts.csswg.org/css-masking-1/)
[Exposed=Window]
interface SVGClipPathElement : SVGElement {
diff --git a/interfaces/filter-effects.idl b/interfaces/filter-effects.idl
index ecbb6a9..b894c9f 100644
--- a/interfaces/filter-effects.idl
+++ b/interfaces/filter-effects.idl
@@ -1,7 +1,7 @@
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
-// Source: Filter Effects Module Level 1 (https://drafts.fxtf.org/filter-effects-1/)
+// Source: Filter Effects Module Level 1 (https://drafts.csswg.org/filter-effects-1/)
[Exposed=Window]
interface SVGFilterElement : SVGElement {
diff --git a/interfaces/geometry.idl b/interfaces/geometry.idl
index f7df449..2251c19 100644
--- a/interfaces/geometry.idl
+++ b/interfaces/geometry.idl
@@ -1,7 +1,7 @@
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
-// Source: Geometry Interfaces Module Level 1 (https://drafts.fxtf.org/geometry-1/)
+// Source: Geometry Interfaces Module Level 1 (https://drafts.csswg.org/geometry/)
[Exposed=(Window,Worker),
Serializable]
diff --git a/interfaces/html.idl b/interfaces/html.idl
index d2e2879..dabe06b 100644
--- a/interfaces/html.idl
+++ b/interfaces/html.idl
@@ -1624,7 +1624,7 @@
DOMString? getName(CustomElementConstructor constructor);
Promise<CustomElementConstructor> whenDefined(DOMString name);
[CEReactions] undefined upgrade(Node root);
- undefined initialize(Node root);
+ [CEReactions] undefined initialize(Node root);
};
callback CustomElementConstructor = HTMLElement ();
@@ -1807,6 +1807,18 @@
[CEReactions] attribute DOMString popoverTargetAction;
};
+[Exposed=*]
+interface Origin {
+ constructor();
+
+ static Origin from(any value);
+
+ readonly attribute boolean opaque;
+
+ boolean isSameOrigin(Origin other);
+ boolean isSameSite(Origin other);
+};
+
[Global=Window,
Exposed=Window,
LegacyUnenumerableNamedProperties]
@@ -1985,6 +1997,7 @@
interface NavigationTransition {
readonly attribute NavigationType navigationType;
readonly attribute NavigationHistoryEntry from;
+ readonly attribute NavigationDestination to;
readonly attribute Promise<undefined> committed;
readonly attribute Promise<undefined> finished;
};
@@ -2052,6 +2065,7 @@
[Exposed=Window]
interface NavigationPrecommitController {
undefined redirect(USVString url, optional NavigationNavigateOptions options = {});
+ undefined addHandler(NavigationInterceptHandler handler);
};
callback NavigationPrecommitHandler = Promise<undefined> (NavigationPrecommitController controller);
diff --git a/interfaces/navigation-timing.idl b/interfaces/navigation-timing.idl
index 80537f0..330d4fa 100644
--- a/interfaces/navigation-timing.idl
+++ b/interfaces/navigation-timing.idl
@@ -17,6 +17,7 @@
readonly attribute unsigned short redirectCount;
readonly attribute DOMHighResTimeStamp criticalCHRestart;
readonly attribute NotRestoredReasons? notRestoredReasons;
+ readonly attribute PerformanceTimingConfidence confidence;
[Default] object toJSON();
};
@@ -27,6 +28,18 @@
};
[Exposed=Window]
+interface PerformanceTimingConfidence {
+ readonly attribute double randomizedTriggerRate;
+ readonly attribute PerformanceTimingConfidenceValue value;
+ object toJSON();
+};
+
+enum PerformanceTimingConfidenceValue {
+ "high",
+ "low"
+};
+
+[Exposed=Window]
interface PerformanceTiming {
readonly attribute unsigned long long navigationStart;
readonly attribute unsigned long long unloadEventStart;
diff --git a/interfaces/pointer-animations.idl b/interfaces/pointer-animations.idl
index e1b0319..27b3e66 100644
--- a/interfaces/pointer-animations.idl
+++ b/interfaces/pointer-animations.idl
@@ -1,7 +1,7 @@
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
-// Source: Pointer-driven Animations (https://drafts.csswg.org/pointer-animations-1/)
+// Source: Pointer-driven Animations Module Level 1 (https://drafts.csswg.org/pointer-animations-1/)
enum PointerAxis {
"block",
diff --git a/interfaces/resource-timing.idl b/interfaces/resource-timing.idl
index 499d27b..fd4033c 100644
--- a/interfaces/resource-timing.idl
+++ b/interfaces/resource-timing.idl
@@ -22,6 +22,10 @@
readonly attribute DOMHighResTimeStamp firstInterimResponseStart;
readonly attribute DOMHighResTimeStamp responseStart;
readonly attribute DOMHighResTimeStamp responseEnd;
+ readonly attribute DOMHighResTimeStamp workerRouterEvaluationStart;
+ readonly attribute DOMHighResTimeStamp workerCacheLookupStart;
+ readonly attribute DOMString workerMatchedRouterSource;
+ readonly attribute DOMString workerFinalRouterSource;
readonly attribute unsigned long long transferSize;
readonly attribute unsigned long long encodedBodySize;
readonly attribute unsigned long long decodedBodySize;