Make tabindex-focus-flag.html iframe test pass on try server
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: edgar, Assigned: edgar)
Details
Attachments
(1 file)
The reason that we could not pass the iframe test on try server is because the sub-document isn't ready yet while trying to focus the iframe, nsContentUtils::IsSubDocumentTabbable
returns false
in https://searchfox.org/mozilla-central/rev/b712398b7fae54ef377a558d6f16dede7a7f8530/dom/base/nsContentUtils.cpp#6201-6203
But we could pass this test if we run it manually on https://w3c-test.org/html/interaction/focus/tabindex-focus-flag.html.
It is kinda racing between test and page load.
I think we should wait load event first before starting tests.
Assignee | ||
Comment 1•10 months ago
|
||
Found an issue while running this test on Firefox automation server: test tries
to focus iframe before the iframe is ready to be focused. We should wait for load
event to ensure page is ready for testings.
Updated•10 months ago
|
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fadc1360393f Make tabindex-focus-flag.html wait load event first before starting tests; r=smaug
Comment 3•10 months ago
|
||
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/22483 for changes under testing/web-platform/tests
Comment 4•10 months ago
|
||
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Comment 5•10 months ago
|
||
Upstream PR merged by moz-wptsync-bot
Comment 6•10 months ago
|
||
bugherder |
Description
•