browser_theme_switching.js fails with server targets
Categories
(DevTools :: Framework, defect)
Tracking
(Fission Milestone:MVP, firefox92 fixed)
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
(Whiteboard: dt-fission-m3-mvp)
Attachments
(1 file)
This test is trying to open a toolbox against the default blank tab opened by default in mochitests.
It appears that this tab is really special and is stuck on the initial about:blank document.
But we explicitely ignore this document and always expect another document will be loaded right after. This leads to the toolbox never opening as we are waiting for the final document to be loaded.
I'm going to make this test use a dedicated test tab, which wouldn't have this issue.
I wasn't able to reproduce this behavior, even when setting about:blank as default home tab. So that's probable specific to mochitests.
But it would be nice to figure out why these tabs are special and ensure this never happen in production.
Assignee | ||
Comment 1•3 years ago
|
||
Mochitest's default tab is very special.
Its WindowGlobal is stuck on the initial about:blank document.
This document should be transient and we should have another final about:blank document,
even if we expect about:blank document at the end.
This isn't reproducible with a regular firefox run,
but we should investigate this as it may bit us in some other random tests.
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/37ff5677cdf0 [devtools] Fix browser_theme_switching.js with server targets. r=nchevobbe
Comment 3•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•