Closed Bug 732394 Opened 8 years ago Closed 7 years ago

Switching in/out of Private Browsing should wait for tabs to load

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: remus.pop, Unassigned)

Details

(Whiteboard: [lib])

The problem:
In a test, when switching out of PB, tabs don't load instantly, so clicking on a tab doesn't get us anywhere and the tab isn't clicked actually.

In private-browsing.js we have waitForTransistionComplete and there we wait for transition to complete (probably emptying the temporary databases) and for the property privateBrowsingEnabled. So we need a way to know when the tabs have completed loading and we can click on them.
Would controller.isLoaded() be enough for our purpose?
Ehsan, does PB fire the transition ended event before the tabs are getting restored?
I have a hard time understanding what this bug report is asking for.
PB fires the transition ended notification after receiving the "sessionstore-browser-state-restored" notification, which looks like it is sent after tabs are restored and clickable.
Component: Mozmill Shared Modules → Mozmill Tests
Whiteboard: [lib]
Given that we have the per-window private browsing feature now I don't think this request is valid anymore. Closing out.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.