summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/html.idl
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/interfaces/html.idl')
-rw-r--r--testing/web-platform/tests/interfaces/html.idl31
1 files changed, 31 insertions, 0 deletions
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]
@@ -2061,6 +2062,18 @@ dictionary HashChangeEventInit : EventInit {
};
[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 = {});
readonly attribute ViewTransition? viewTransition;
@@ -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<NotRestoredReasonDetails>? reasons;
+ readonly attribute FrozenArray<NotRestoredReasons>? 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;