Closed Bug 1678603 Opened 5 years ago Closed 5 years ago

Chrome Debugger listTabs no longer returns selected and tab collection no longer contains consoleActor

Categories

(DevTools :: Framework, defect)

Firefox 83
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1639842

People

(Reporter: bobby.cannon, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36 Edg/86.0.622.69

Steps to reproduce:

Start firefox with debugger enabled
Connect to port 6000
Issue "listTabs" request
response is incorrect

Actual results:

Response does not contain the "selected" json values. The "tabs" collection that is returned also does not contain the "consoleActor" value.

Expected results:

The response should contain both missing data as stated in the documentation. https://docs.firefox-dev.tools/backend/protocol.html#chrome-debugging

The documentation section is "Listing Browser Tabs'. I could not find an anchor link for the section.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Debugger
Product: Firefox → DevTools

Alex, can you reproduce this?

Honza

Component: Debugger → Framework
Flags: needinfo?(poirot.alex)

Any progress here?

listTabs now returns tabDescriptors

See https://bugzilla.mozilla.org/show_bug.cgi?id=1639842 for more info.

You need to call getTarget on each tabDescriptor to get the real target with the properties you expect.
The documentation is outdated, and will be updated once we are done with the current refactorings.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(poirot.alex)
You need to log in before you can comment on or make changes to this bug.