Closed
Bug 1153289
Opened 9 years ago
Closed 9 years ago
Add some tab switching methods to BrowserTestUtils.jsm
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(firefox40 fixed)
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: enndeakin, Assigned: enndeakin)
Details
Attachments
(1 file)
3.44 KB,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
Two methods are added, which I've used to fix a bunch of tests. BrowserTestUtils.switchTab switches to a tab and waits for it to be ready. Currently, this is done using the TabSwitchDone event which fires after the tab switch has finished. BrowserTestUtils.openNewForegroundTab opens a new foreground tab and waits for it to be ready, and optionally, loaded. Unlike withNewTab, it doesn't close the tab, which I updated to call openNewForegroundTab.
Attachment #8590899 -
Flags: review?(felipc)
Updated•9 years ago
|
Attachment #8590899 -
Flags: review?(felipc) → review+
Comment 2•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/89b7b782be18
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•