[popover] Improve focus handling in hidepopover
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
People
(Reporter: zsun, Assigned: zsun)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
[1] Fix the previous handling of checking if focus is within the hierarchy.
[2] Including the condition for escape key to return to previous focus in hidepopover.
The test .ini file shows more faiulures. Actually, Popover button click focus tests have gone
further and should pass when light dismiss func is in. Due to this, corner cases followed
are affected as they are exepcting to start out hidden. These faiulures should all be sorted
once light dismiss func is done.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
This fixes the tests not working properly when our code follows the
spec.
Comment 4•2 years ago
|
||
Backed out for causing wpt failures on popover-top-layer-combinations.html.
[task 2023-09-21T00:00:49.877Z] 00:00:49 INFO - TEST-START | /eventsource/format-comments.any.worker.html
[task 2023-09-21T00:00:49.914Z] 00:00:49 INFO - Closing window dfd690bc-44cf-45f2-8cb9-6c2395748406
[task 2023-09-21T00:00:50.110Z] 00:00:50 INFO -
[task 2023-09-21T00:00:50.110Z] 00:00:50 INFO - TEST-PASS | /html/semantics/popovers/popover-top-layer-combinations.html | Popover combination: Popover Dialog
[task 2023-09-21T00:00:50.111Z] 00:00:50 INFO - TEST-PASS | /html/semantics/popovers/popover-top-layer-combinations.html | Popover combination: Open Non-modal Popover Dialog
[task 2023-09-21T00:00:50.111Z] 00:00:50 INFO - TEST-UNEXPECTED-FAIL | /html/semantics/popovers/popover-top-layer-combinations.html | Popover combination: Fullscreen Popover - promise_test: Unhandled rejection with value: object "Error: element click intercepted error"
[task 2023-09-21T00:00:50.112Z] 00:00:50 INFO - ..
[task 2023-09-21T00:00:50.112Z] 00:00:50 INFO - TEST-OK | /html/semantics/popovers/popover-top-layer-combinations.html | took 3893ms
[task 2023-09-21T00:00:50.112Z] 00:00:50 INFO - PID 20291 | 1695254450109 Marionette INFO Stopped listening on port 33774
[task 2023-09-21T00:00:50.386Z] 00:00:50 INFO - .
[task 2023-09-21T00:00:50.388Z] 00:00:50 INFO - TEST-OK | /eventsource/format-comments.any.worker.html | took 509ms
[task 2023-09-21T00:00:50.390Z] 00:00:50 INFO - TEST-START | /eventsource/format-data-before-final-empty-line.any.html
@emilio, test /html/semantics/popovers/popover-top-layer-combinations.html fails only for Linux. See https://bugzilla.mozilla.org/show_bug.cgi?id=1838636. I haven't managed to figure out why yet.
Updated•2 years ago
|
Comment 7•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
| bugherder | ||
Comment 13•2 years ago
|
||
Comment 14•2 years ago
|
||
| bugherder | ||
Description
•