Closed Bug 1627888 Opened 4 years ago Closed 4 years ago

Create about:debugging test helper to update the selected tab

Categories

(DevTools :: about:debugging, task, P3)

task

Tracking

(firefox77 fixed)

RESOLVED FIXED
Firefox 77
Tracking Status
firefox77 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(1 file)

Follow up to Bug 1622098

As suggested by :daisuke during the review:

Question:
There are several places that change the selected tab.
https://searchfox.org/mozilla-central/search?q=.selectedTab+%3D&case=false&regexp=false&path=aboutdebugging%2Ftest%2Fbrowser%2F
We'd better make a common function that changes the tab and wait for the event?? (in follow-up bug?)

Updating the selected tab will trigger a tablist update for the current browser. If we are on the "this-firefox" page, this will also trigger a "tab" request, and we should make sure to wait for this request before ending the test.

Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/162d88409caa
Add a test helper to change the selected tab in about:debugging tests r=daisuke
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: