From fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:14:29 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/interfaces/html.idl | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'testing/web-platform/tests/interfaces/html.idl') diff --git a/testing/web-platform/tests/interfaces/html.idl b/testing/web-platform/tests/interfaces/html.idl index 9193a7487e..7211231980 100644 --- a/testing/web-platform/tests/interfaces/html.idl +++ b/testing/web-platform/tests/interfaces/html.idl @@ -1243,6 +1243,7 @@ interface HTMLTemplateElement : HTMLElement { readonly attribute DocumentFragment content; [CEReactions] attribute DOMString shadowRootMode; [CEReactions] attribute boolean shadowRootDelegatesFocus; + [CEReactions] attribute boolean shadowRootClonable; }; [Exposed=Window] @@ -2060,6 +2061,18 @@ dictionary HashChangeEventInit : EventInit { USVString newURL = ""; }; +[Exposed=Window] +interface PageSwapEvent : Event { + constructor(DOMString type, optional PageSwapEventInit eventInitDict = {}); + readonly attribute NavigationActivation? activation; + readonly attribute ViewTransition? viewTransition; +}; + +dictionary PageSwapEventInit : EventInit { + NavigationActivation? activation = null; + ViewTransition? viewTransition = null; +}; + [Exposed=Window] interface PageRevealEvent : Event { constructor(DOMString type, optional PageRevealEventInit eventInitDict = {}); @@ -2086,6 +2099,23 @@ interface BeforeUnloadEvent : Event { attribute DOMString returnValue; }; +[Exposed=Window] +interface NotRestoredReasonDetails { + readonly attribute DOMString reason; + [Default] object toJSON(); +}; + +[Exposed=Window] +interface NotRestoredReasons { + readonly attribute DOMString? src; + readonly attribute DOMString? id; + readonly attribute DOMString? name; + readonly attribute DOMString? url; + readonly attribute FrozenArray? reasons; + readonly attribute FrozenArray? children; + [Default] object toJSON(); +}; + [Exposed=*] interface ErrorEvent : Event { constructor(DOMString type, optional ErrorEventInit eventInitDict = {}); @@ -2221,6 +2251,7 @@ interface mixin WindowEventHandlers { attribute EventHandler onpagehide; attribute EventHandler onpagereveal; attribute EventHandler onpageshow; + attribute EventHandler onpageswap; attribute EventHandler onpopstate; attribute EventHandler onrejectionhandled; attribute EventHandler onstorage; -- cgit v1.2.3