Closed
Bug 1823359
Opened 1 year ago
Closed 1 year ago
Implement beforetoggle event for popover
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
113 Branch
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: zsun, Assigned: zsun)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
https://html.spec.whatwg.org/multipage/popover.html#the-popover-attribute
showPopover() method steps and hidePopover() method steps involve firing an event named beforetoggle. This is to add beforetoggle event implementation.
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/d567ffebf337 Implement beforetoggle event for popover. r=emilio,smaug
Comment 3•1 year ago
|
||
Backed out for causing failures on popover-light-dismiss.html
- backout: https://hg.mozilla.org/integration/autoland/rev/03ddd3bb4ccdcf759f47b0af67694eb6cdd708e5
- push: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&selectedTaskRun=CuzU4c72RNCIBIgklGpJWw.0&revision=d567ffebf3376a17bc404a77668eec3b676d66ea
- push with multiple wpt failures: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunning%2Cpending%2Crunnable&revision=292a7aff8df7843dd62d65f30ecde8606af8a281&searchStr=wpt
- failure log: https://treeherder.mozilla.org/logviewer?job_id=409796322&repo=autoland&lineNumber=9473
[task 2023-03-22T16:04:15.137Z] 16:04:15 INFO - TEST-START | /html/semantics/popovers/popover-light-dismiss.html
[task 2023-03-22T16:04:15.141Z] 16:04:15 INFO - Closing window cba711c2-0339-4cc5-afa6-827e62f0c61a
[task 2023-03-22T16:04:15.350Z] 16:04:15 INFO - PID 21921 | JavaScript error: http://web-platform.test:8000/html/semantics/popovers/popover-light-dismiss.html, line 344: TypeError: can't access property "querySelector", document.querySelector(...).shadowRoot is null
[.....................]
[task 2023-03-22T16:04:16.189Z] 16:04:16 INFO - TEST-FAIL | /html/semantics/popovers/popover-light-dismiss.html | Clicking inside a parent popover should close child popover - promise_test: Unhandled rejection with value: object "InvalidStateError: HTMLElement.showPopover: Element has unexpected visibility state"
[task 2023-03-22T16:04:16.189Z] 16:04:16 INFO - TEST-PASS | /html/semantics/popovers/popover-light-dismiss.html | Clicking on invoking element, after using it for activation, shouldn't close its popover
[task 2023-03-22T16:04:16.189Z] 16:04:16 INFO - TEST-FAIL | /html/semantics/popovers/popover-light-dismiss.html | Clicking on invoking element, after using it for activation, shouldn't close its popover (nested case) - assert_true: button2 should activate popover2 expected true got false
[task 2023-03-22T16:04:16.189Z] 16:04:16 INFO - @http://web-platform.test:8000/html/semantics/popovers/popover-light-dismiss.html:195:16
[task 2023-03-22T16:04:16.189Z] 16:04:16 INFO - TEST-FAIL | /html/semantics/popovers/popover-light-dismiss.html | Clicking on invoking element, after using it for activation, shouldn't close its popover (nested case, not used for invocation) - promise_test: Unhandled rejection with value: object "InvalidStateError: HTMLElement.showPopover: Element has unexpected visibility state"
[task 2023-03-22T16:04:16.189Z] 16:04:16 INFO - TEST-FAIL | /html/semantics/popovers/popover-light-dismiss.html | Clicking on invoking element, even if it wasn't used for activation, shouldn't close its popover - promise_test: Unhandled rejection with value: object "InvalidStateError: HTMLElement.showPopover: Element has unexpected visibility state"
[task 2023-03-22T16:04:16.189Z] 16:04:16 INFO - TEST-FAIL | /html/semantics/popovers/popover-light-dismiss.html | Clicking on popovertarget element, even if it wasn't used for activation, should hide it exactly once - promise_test: Unhandled rejection with value: object "InvalidStateError: HTMLElement.showPopover: Element has unexpected visibility state"
[task 2023-03-22T16:04:16.189Z] 16:04:16 INFO - TEST-FAIL | /html/semantics/popovers/popover-light-dismiss.html | Clicking on anchor element (that isn't an invoking element) shouldn't prevent its popover from being closed - promise_test: Unhandled rejection with value: object "InvalidStateError: HTMLElement.showPopover: Element has unexpected visibility state"
[task 2023-03-22T16:04:16.189Z] 16:04:16 INFO - TEST-FAIL | /html/semantics/popovers/popover-light-dismiss.html | Dragging from an open popover outside an open popover should leave the popover open - promise_test: Unhandled rejection with value: object "InvalidStateError: HTMLElement.showPopover: Element has unexpected visibility state"
[task 2023-03-22T16:04:16.189Z] 16:04:16 INFO - TEST-FAIL | /html/semantics/popovers/popover-light-dismiss.html | A popover inside an invoking element doesn't participate in that invoker's ancestor chain - assert_true: invoking element should open popover expected true got false
[task 2023-03-22T16:04:16.190Z] 16:04:16 INFO - @http://web-platform.test:8000/html/semantics/popovers/popover-light-dismiss.html:287:16
[task 2023-03-22T16:04:16.190Z] 16:04:16 INFO - TEST-FAIL | /html/semantics/popovers/popover-light-dismiss.html | An invoking element that was not used to invoke the popover can still be part of the ancestor chain - assert_false: expected false got true
[task 2023-03-22T16:04:16.190Z] 16:04:16 INFO - @http://web-platform.test:8000/html/semantics/popovers/popover-light-dismiss.html:303:17
[task 2023-03-22T16:04:16.190Z] 16:04:16 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2595:25
[task 2023-03-22T16:04:16.190Z] 16:04:16 INFO - promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:733:36
[task 2023-03-22T16:04:16.190Z] 16:04:16 INFO - promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:732:20
[task 2023-03-22T16:04:16.190Z] 16:04:16 INFO - TEST-UNEXPECTED-FAIL | /html/semantics/popovers/popover-light-dismiss.html | Scrolling within a popover should not close the popover - assert_equals: popover6 should be scrolled expected 50 but got 0
[task 2023-03-22T16:04:16.190Z] 16:04:16 INFO - @http://web-platform.test:8000/html/semantics/popovers/popover-light-dismiss.html:329:18
[task 2023-03-22T16:04:16.192Z] 16:04:16 INFO - ....
[task 2023-03-22T16:04:16.194Z] 16:04:16 INFO - TEST-ERROR | /html/semantics/popovers/popover-light-dismiss.html | took 1035ms
Flags: needinfo?(zsun)
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/adc083051939 Implement beforetoggle event for popover. r=emilio,smaug
Comment 5•1 year ago
|
||
Backed out for causing wpt failures on popover-light-dismiss.html
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/241d9f6e2457 Implement beforetoggle event for popover. r=emilio,smaug
Comment 7•1 year ago
|
||
Backed out for causing wpt failures on popover-light-dismiss.html.
Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aca1d149ba85 Implement beforetoggle event for popover. r=emilio,smaug
Comment 9•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox113:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•