[wpt-sync] Sync PR 37915 - Add `aftertoggle` event for popover
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 37915 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/37915
Details from upstream follow.
Mason Freed <masonf@chromium.org> wrote:
Add
aftertoggle
event for popoverThis CL adds an async
aftertoggle
event to both the show and hide
popover transitions, and renames the event class from BeforeToggle
to PopoverToggle, to be used by both events.This was resolved by OpenUI here:
https://github.com/openui/open-ui/issues/342#issuecomment-1380882740Bug: 1307772
Change-Id: I996be74b90f43eee4bf859cecfed051fa6f633d5Reviewed-on: https://chromium-review.googlesource.com/4160443
WPT-Export-Revision: f0f25883115e5c4193633d96779b255a2d08392d
Assignee | ||
Comment 1•1 year ago
|
||
PR 37915 applied with additional changes from upstream: 70556ebf89f188803730ee83e156259aac41eedc, 7c3aacf158efb050bdb81a1dd97ac324eaee799a, a0ddc451e02afbbe600c679fe1edab0e4f878ecf
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=6ee7428cecf51fb361e03e134aade2e95099b66e
Assignee | ||
Comment 3•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests and 37 subtests
Status Summary
Firefox
OK
: 3
PASS
: 14
FAIL
: 122
Chrome
OK
: 3
PASS
: 87
FAIL
: 49
Safari
OK
: 3
PASS
: 14
FAIL
: 122
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/popovers/idlharness.tentative.html [wpt.fyi]
- PopoverToggleEvent interface: existence and properties of interface object:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEvent interface object length:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEvent interface object name:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEvent interface: existence and properties of interface prototype object:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEvent interface: existence and properties of interface prototype object's "constructor" property:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEvent interface: existence and properties of interface prototype object's @@unscopables property:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEvent interface: attribute currentState:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEvent interface: attribute newState:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - HTMLElement interface: operation togglePopover(optional boolean):
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: operation showPopover():
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: operation hidePopover():
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: attribute popover:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("p1") must inherit property "togglePopover(optional boolean)" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: calling togglePopover(optional boolean) on document.getElementById("p1") with too few arguments must throw TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("p1") must inherit property "showPopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("p1") must inherit property "hidePopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("p1") must inherit property "popover" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("p2") must inherit property "togglePopover(optional boolean)" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: calling togglePopover(optional boolean) on document.getElementById("p2") with too few arguments must throw TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("p2") must inherit property "showPopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("p2") must inherit property "hidePopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("p2") must inherit property "popover" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("p3") must inherit property "togglePopover(optional boolean)" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: calling togglePopover(optional boolean) on document.getElementById("p3") with too few arguments must throw TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("p3") must inherit property "showPopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("p3") must inherit property "hidePopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("p3") must inherit property "popover" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLInputElement interface: attribute popoverToggleTargetElement:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLInputElement interface: attribute popoverHideTargetElement:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLInputElement interface: attribute popoverShowTargetElement:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLInputElement interface: document.getElementById("i1") must inherit property "popoverToggleTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLInputElement interface: document.getElementById("i1") must inherit property "popoverHideTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLInputElement interface: document.getElementById("i1") must inherit property "popoverShowTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("i1") must inherit property "togglePopover(optional boolean)" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: calling togglePopover(optional boolean) on document.getElementById("i1") with too few arguments must throw TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("i1") must inherit property "showPopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("i1") must inherit property "hidePopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("i1") must inherit property "popover" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLInputElement interface: document.getElementById("i2") must inherit property "popoverToggleTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLInputElement interface: document.getElementById("i2") must inherit property "popoverHideTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLInputElement interface: document.getElementById("i2") must inherit property "popoverShowTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("i2") must inherit property "togglePopover(optional boolean)" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: calling togglePopover(optional boolean) on document.getElementById("i2") with too few arguments must throw TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("i2") must inherit property "showPopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("i2") must inherit property "hidePopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("i2") must inherit property "popover" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLInputElement interface: document.getElementById("i3") must inherit property "popoverToggleTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLInputElement interface: document.getElementById("i3") must inherit property "popoverHideTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLInputElement interface: document.getElementById("i3") must inherit property "popoverShowTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("i3") must inherit property "togglePopover(optional boolean)" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: calling togglePopover(optional boolean) on document.getElementById("i3") with too few arguments must throw TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("i3") must inherit property "showPopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("i3") must inherit property "hidePopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("i3") must inherit property "popover" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLButtonElement interface: attribute popoverToggleTargetElement:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLButtonElement interface: attribute popoverHideTargetElement:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLButtonElement interface: attribute popoverShowTargetElement:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLButtonElement interface: document.getElementById("b1") must inherit property "popoverToggleTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLButtonElement interface: document.getElementById("b1") must inherit property "popoverHideTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLButtonElement interface: document.getElementById("b1") must inherit property "popoverShowTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("b1") must inherit property "togglePopover(optional boolean)" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: calling togglePopover(optional boolean) on document.getElementById("b1") with too few arguments must throw TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("b1") must inherit property "showPopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("b1") must inherit property "hidePopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("b1") must inherit property "popover" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLButtonElement interface: document.getElementById("b2") must inherit property "popoverToggleTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLButtonElement interface: document.getElementById("b2") must inherit property "popoverHideTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLButtonElement interface: document.getElementById("b2") must inherit property "popoverShowTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("b2") must inherit property "togglePopover(optional boolean)" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: calling togglePopover(optional boolean) on document.getElementById("b2") with too few arguments must throw TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("b2") must inherit property "showPopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("b2") must inherit property "hidePopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("b2") must inherit property "popover" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLButtonElement interface: document.getElementById("b3") must inherit property "popoverToggleTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLButtonElement interface: document.getElementById("b3") must inherit property "popoverHideTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLButtonElement interface: document.getElementById("b3") must inherit property "popoverShowTargetElement" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("b3") must inherit property "togglePopover(optional boolean)" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: calling togglePopover(optional boolean) on document.getElementById("b3") with too few arguments must throw TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("b3") must inherit property "showPopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("b3") must inherit property "hidePopover()" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
) - HTMLElement interface: document.getElementById("b3") must inherit property "popover" with the proper type:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- PopoverToggleEvent interface: existence and properties of interface object:
- /html/semantics/popovers/popover-events.tentative.html [wpt.fyi]
- The "beforetoggle" event (listener) get properly dispatched for popovers:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - The "beforetoggle" event (attribute) get properly dispatched for popovers:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - The "beforetoggle" event is cancelable for the "opening" transition:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - The "beforetoggle" event is not fired for element removal:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- The "beforetoggle" event (listener) get properly dispatched for popovers:
- /html/semantics/popovers/toggleevent-interface.tentative.html [wpt.fyi]
- the event is an instance of PopoverToggleEvent:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - the event inherts from Event:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Missing type argument:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - type argument is string:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - type argument is null:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - event type set to undefined:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - currentState has default value of empty string:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - currentState is readonly:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - newState has default value of empty string:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - newState is readonly:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEventInit argument is null:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEventInit argument is undefined:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEventInit argument is empty dictionary:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - currentState set to 'sample':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - currentState set to undefined:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - currentState set to null:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - currentState set to false:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - currentState set to true:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - currentState set to a number:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - currentState set to []:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - currentState set to [1, 2, 3]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - currentState set to an object:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - currentState set to an object with a valueOf function:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEventInit properties set value:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEventInit properties set value 2:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEventInit properties set value 3:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PopoverToggleEventInit properties set value 4:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - newState set to 'sample':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - newState set to undefined:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - newState set to null:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - newState set to false:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - newState set to true:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - newState set to a number:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - newState set to []:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - newState set to [1, 2, 3]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - newState set to an object:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - newState set to an object with a valueOf function:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- the event is an instance of PopoverToggleEvent:
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3c73c31664ad [wpt PR 37915] - Add `aftertoggle` event for popover, a=testonly https://hg.mozilla.org/integration/autoland/rev/c74f04ddbe72 [wpt PR 37915] - Update wpt metadata, a=testonly
Comment 5•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3c73c31664ad
https://hg.mozilla.org/mozilla-central/rev/c74f04ddbe72
Description
•