From fb9592e6a96545f1e3ee7ad1f0c2d29d100fce45 Mon Sep 17 00:00:00 2001 From: Narcis Beleuzu Date: Mon, 20 Nov 2023 22:47:20 +0200 Subject: [PATCH] Backed out changeset 6a6e9ae07a68 (bug 1844300) for wpt failure on popover-closewatcher.html . CLOSED TREE --- .../meta/close-watcher/__dir__.ini | 1 - .../popover-closewatcher.html.ini | 3 + .../reactions/HTMLElement.html.ini | 6 + .../custom-elements/reactions/__dir__.ini | 1 - .../web-platform/meta/html/dom/__dir__.ini | 1 - .../meta/html/dom/idlharness.https.html.ini | 210 ++++++++++++++++++ .../meta/html/semantics/forms/__dir__.ini | 1 - ...ctlist-popover-position.tentative.html.ini | 3 + .../html/webappapis/scripting/__dir__.ini | 1 - .../event-handler-all-global-events.html.ini | 9 + ...nt-handler-attributes-body-window.html.ini | 9 + ...andler-attributes-frameset-window.html.ini | 9 + ...andler-attributes-windowless-body.html.ini | 6 + .../mathml/relations/html5-tree/__dir__.ini | 1 - ...h-global-event-handlers.tentative.html.ini | 15 ++ 15 files changed, 270 insertions(+), 6 deletions(-) delete mode 100644 testing/web-platform/meta/close-watcher/__dir__.ini create mode 100644 testing/web-platform/meta/custom-elements/reactions/HTMLElement.html.ini delete mode 100644 testing/web-platform/meta/custom-elements/reactions/__dir__.ini delete mode 100644 testing/web-platform/meta/mathml/relations/html5-tree/__dir__.ini diff --git a/testing/web-platform/meta/close-watcher/__dir__.ini b/testing/web-platform/meta/close-watcher/__dir__.ini deleted file mode 100644 index 8a73333e77250..0000000000000 --- a/testing/web-platform/meta/close-watcher/__dir__.ini +++ /dev/null @@ -1 +0,0 @@ -prefs: [dom.element.popover.enabled: true] diff --git a/testing/web-platform/meta/close-watcher/popover-closewatcher.html.ini b/testing/web-platform/meta/close-watcher/popover-closewatcher.html.ini index 9d5f26848faed..67e998580c8fc 100644 --- a/testing/web-platform/meta/close-watcher/popover-closewatcher.html.ini +++ b/testing/web-platform/meta/close-watcher/popover-closewatcher.html.ini @@ -13,3 +13,6 @@ [Opening multiple popovers without user activation causes them all to be closed with one close request.] expected: FAIL + + [Opening multiple popovers with user activation should close one at a time with close requests.] + expected: FAIL diff --git a/testing/web-platform/meta/custom-elements/reactions/HTMLElement.html.ini b/testing/web-platform/meta/custom-elements/reactions/HTMLElement.html.ini new file mode 100644 index 0000000000000..8c0a3fa432ece --- /dev/null +++ b/testing/web-platform/meta/custom-elements/reactions/HTMLElement.html.ini @@ -0,0 +1,6 @@ +[HTMLElement.html] + [popover on HTMLElement must enqueue an attributeChanged reaction when adding popover content attribute] + expected: PRECONDITION_FAILED + + [popover on HTMLElement must enqueue an attributeChanged reaction when replacing an existing attribute] + expected: PRECONDITION_FAILED diff --git a/testing/web-platform/meta/custom-elements/reactions/__dir__.ini b/testing/web-platform/meta/custom-elements/reactions/__dir__.ini deleted file mode 100644 index 8a73333e77250..0000000000000 --- a/testing/web-platform/meta/custom-elements/reactions/__dir__.ini +++ /dev/null @@ -1 +0,0 @@ -prefs: [dom.element.popover.enabled: true] diff --git a/testing/web-platform/meta/html/dom/__dir__.ini b/testing/web-platform/meta/html/dom/__dir__.ini index 8f9f37c768820..b9f5886878e11 100644 --- a/testing/web-platform/meta/html/dom/__dir__.ini +++ b/testing/web-platform/meta/html/dom/__dir__.ini @@ -1,3 +1,2 @@ lsan-disabled: true leak-threshold: [default:51200] -prefs: [dom.element.popover.enabled: true] diff --git a/testing/web-platform/meta/html/dom/idlharness.https.html.ini b/testing/web-platform/meta/html/dom/idlharness.https.html.ini index fe31bf7d4a34f..f98018a623a5e 100644 --- a/testing/web-platform/meta/html/dom/idlharness.https.html.ini +++ b/testing/web-platform/meta/html/dom/idlharness.https.html.ini @@ -300,6 +300,9 @@ prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featu [SVGElement interface: attribute onbeforematch] expected: FAIL + [SVGElement interface: attribute onbeforetoggle] + expected: FAIL + [VisibilityStateEntry interface: attribute duration] expected: FAIL @@ -641,6 +644,24 @@ prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featu [Document interface: documentWithHandlers must inherit property "onbeforematch" with the proper type] expected: FAIL + [Window interface: attribute onbeforetoggle] + expected: FAIL + + [Window interface: window must inherit property "onbeforetoggle" with the proper type] + expected: FAIL + + [Document interface: attribute onbeforetoggle] + expected: FAIL + + [Document interface: iframe.contentDocument must inherit property "onbeforetoggle" with the proper type] + expected: FAIL + + [Document interface: new Document() must inherit property "onbeforetoggle" with the proper type] + expected: FAIL + + [Document interface: documentWithHandlers must inherit property "onbeforetoggle" with the proper type] + expected: FAIL + [Window interface: attribute navigation] expected: FAIL @@ -730,6 +751,39 @@ prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featu [HTMLElement interface: document.createElement("noscript") must inherit property "onbeforematch" with the proper type] expected: FAIL + [HTMLElement interface: operation showPopover()] + expected: FAIL + + [HTMLElement interface: operation hidePopover()] + expected: FAIL + + [HTMLElement interface: operation togglePopover(optional boolean)] + expected: FAIL + + [HTMLElement interface: attribute popover] + expected: FAIL + + [HTMLElement interface: attribute onbeforetoggle] + expected: FAIL + + [HTMLElement interface: document.createElement("noscript") must inherit property "showPopover()" with the proper type] + expected: FAIL + + [HTMLElement interface: document.createElement("noscript") must inherit property "hidePopover()" with the proper type] + expected: FAIL + + [HTMLElement interface: document.createElement("noscript") must inherit property "togglePopover(optional boolean)" with the proper type] + expected: FAIL + + [HTMLElement interface: calling togglePopover(optional boolean) on document.createElement("noscript") with too few arguments must throw TypeError] + expected: FAIL + + [HTMLElement interface: document.createElement("noscript") must inherit property "popover" with the proper type] + expected: FAIL + + [HTMLElement interface: document.createElement("noscript") must inherit property "onbeforetoggle" with the proper type] + expected: FAIL + [HTMLLinkElement interface: attribute fetchPriority] expected: FAIL @@ -745,6 +799,162 @@ prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featu [HTMLImageElement interface: new Image() must inherit property "fetchPriority" with the proper type] expected: FAIL + [HTMLInputElement interface: attribute popoverTargetElement] + expected: FAIL + + [HTMLInputElement interface: attribute popoverTargetAction] + expected: FAIL + + [HTMLInputElement interface: document.createElement("input") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: document.createElement("input") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("text") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("text") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("hidden") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("hidden") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("search") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("search") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("tel") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("tel") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("url") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("url") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("email") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("email") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("password") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("password") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("date") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("date") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("month") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("month") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("week") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("week") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("time") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("time") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("datetime-local") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("datetime-local") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("number") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("number") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("range") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("range") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("color") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("color") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("checkbox") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("checkbox") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("radio") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("radio") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("file") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("file") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("submit") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("submit") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("image") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("image") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("reset") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("reset") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("button") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLInputElement interface: createInput("button") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + + [HTMLButtonElement interface: attribute popoverTargetElement] + expected: FAIL + + [HTMLButtonElement interface: attribute popoverTargetAction] + expected: FAIL + + [HTMLButtonElement interface: document.createElement("button") must inherit property "popoverTargetElement" with the proper type] + expected: FAIL + + [HTMLButtonElement interface: document.createElement("button") must inherit property "popoverTargetAction" with the proper type] + expected: FAIL + [HTMLScriptElement interface: attribute fetchPriority] expected: FAIL diff --git a/testing/web-platform/meta/html/semantics/forms/__dir__.ini b/testing/web-platform/meta/html/semantics/forms/__dir__.ini index a97fa351faf79..d681375580984 100644 --- a/testing/web-platform/meta/html/semantics/forms/__dir__.ini +++ b/testing/web-platform/meta/html/semantics/forms/__dir__.ini @@ -1,3 +1,2 @@ max-asserts: 3 leak-threshold: [default:204800, tab:358400] -prefs: [dom.element.popover.enabled: true] diff --git a/testing/web-platform/meta/html/semantics/forms/the-selectlist-element/selectlist-popover-position.tentative.html.ini b/testing/web-platform/meta/html/semantics/forms/the-selectlist-element/selectlist-popover-position.tentative.html.ini index d75afc7b6ff68..56866bba6cf4a 100644 --- a/testing/web-platform/meta/html/semantics/forms/the-selectlist-element/selectlist-popover-position.tentative.html.ini +++ b/testing/web-platform/meta/html/semantics/forms/the-selectlist-element/selectlist-popover-position.tentative.html.ini @@ -1,4 +1,7 @@ [selectlist-popover-position.tentative.html] + [The popover should be bottom left positioned] + expected: FAIL + [The popover should be top left positioned] expected: FAIL diff --git a/testing/web-platform/meta/html/webappapis/scripting/__dir__.ini b/testing/web-platform/meta/html/webappapis/scripting/__dir__.ini index bb0a777a2b244..daf68383df9a8 100644 --- a/testing/web-platform/meta/html/webappapis/scripting/__dir__.ini +++ b/testing/web-platform/meta/html/webappapis/scripting/__dir__.ini @@ -1,2 +1 @@ leak-threshold: [default:51200] -prefs: [dom.element.popover.enabled: true] diff --git a/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-all-global-events.html.ini b/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-all-global-events.html.ini index 4f77d733b8cc4..84549a76ed0de 100644 --- a/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-all-global-events.html.ini +++ b/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-all-global-events.html.ini @@ -34,3 +34,12 @@ [onbeforematch: the content attribute must execute when an event is dispatched] expected: FAIL + + [onbeforetoggle: must be on the appropriate locations for GlobalEventHandlers] + expected: FAIL + + [onbeforetoggle: the default value must be null] + expected: FAIL + + [onbeforetoggle: the content attribute must be compiled into a function as the corresponding property] + expected: FAIL diff --git a/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-attributes-body-window.html.ini b/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-attributes-body-window.html.ini index 6cc14502b0c1a..476c71661da1f 100644 --- a/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-attributes-body-window.html.ini +++ b/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-attributes-body-window.html.ini @@ -46,3 +46,12 @@ [not shadowed beforematch (document.body)] expected: FAIL + + [not shadowed beforetoggle (document.body)] + expected: FAIL + + [not shadowed beforetoggle (window)] + expected: FAIL + + [not shadowed beforetoggle (document.createElement("body"))] + expected: FAIL diff --git a/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-attributes-frameset-window.html.ini b/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-attributes-frameset-window.html.ini index 9bca4b8a4d8ac..ed80f9def6922 100644 --- a/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-attributes-frameset-window.html.ini +++ b/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-attributes-frameset-window.html.ini @@ -34,3 +34,12 @@ [not shadowed beforematch (document.body)] expected: FAIL + + [not shadowed beforetoggle (document.body)] + expected: FAIL + + [not shadowed beforetoggle (window)] + expected: FAIL + + [not shadowed beforetoggle (document.createElement("frameset"))] + expected: FAIL diff --git a/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-attributes-windowless-body.html.ini b/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-attributes-windowless-body.html.ini index 7e50b87933ac5..020010e3b4687 100644 --- a/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-attributes-windowless-body.html.ini +++ b/testing/web-platform/meta/html/webappapis/scripting/events/event-handler-attributes-windowless-body.html.ini @@ -16,3 +16,9 @@ [beforematch is unaffected on a windowless frameset] expected: FAIL + + [beforetoggle is unaffected on a windowless frameset] + expected: FAIL + + [beforetoggle is unaffected on a windowless body] + expected: FAIL diff --git a/testing/web-platform/meta/mathml/relations/html5-tree/__dir__.ini b/testing/web-platform/meta/mathml/relations/html5-tree/__dir__.ini deleted file mode 100644 index 8a73333e77250..0000000000000 --- a/testing/web-platform/meta/mathml/relations/html5-tree/__dir__.ini +++ /dev/null @@ -1 +0,0 @@ -prefs: [dom.element.popover.enabled: true] diff --git a/testing/web-platform/meta/mathml/relations/html5-tree/math-global-event-handlers.tentative.html.ini b/testing/web-platform/meta/mathml/relations/html5-tree/math-global-event-handlers.tentative.html.ini index 35ff408d09933..2779474f4821b 100644 --- a/testing/web-platform/meta/mathml/relations/html5-tree/math-global-event-handlers.tentative.html.ini +++ b/testing/web-platform/meta/mathml/relations/html5-tree/math-global-event-handlers.tentative.html.ini @@ -45,3 +45,18 @@ [onbeforematch: dispatching an Event at a element must trigger element.onbeforematch] expected: FAIL + + [onbeforetoggle: must be on the appropriate locations for GlobalEventHandlers] + expected: FAIL + + [onbeforetoggle: the default value must be null] + expected: FAIL + + [onbeforetoggle: the content attribute must be compiled into a function as the corresponding property] + expected: FAIL + + [onbeforetoggle: dynamic changes on the attribute] + expected: FAIL + + [onbeforetoggle: dispatching an Event at a element must trigger element.onbeforetoggle] + expected: FAIL