Closed Bug 928018 Opened 11 years ago Closed 10 years ago

Allow switching windows when using the chrome debugger

Categories

(DevTools :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1059308

People

(Reporter: Fallen, Unassigned)

References

Details

Its possible to select specific tabs when connecting to a remote debugger server, but the same is not possible for multiple chrome windows. Right now the topmost app-specific window is used (i.e last navigator:browser). There should be a way to either switch between windows, or select a specific chrome window to debug when connecting. This will allow me to fix the initial purpose of bug 915444 correctly. I'd love to hear how this should be solved. From the top of my head, I would consider creating a new command similar to listTabs, i.e listWindows, that would allow advertising all chrome windows. Does that sound right or is there a better way?
For future reference, Metro (bug 934744) and Thunderbird (bug 928008) contain hacks that can be removed when this is supported properly.
Depends on: 934744, 928008
My plan for this has always been to wait for bug 806775, which depends on implementing a hostAnnotations property to debuggee globals. In that case all debuggee globals could be filtered by URL and for this case even by a chrome window flag. Jim, is implementing hostAnnotations still in the cards, or do you have another approach in mind for this?
Component: Developer Tools → Developer Tools: Debugger
Depends on: 806775
Component: Developer Tools: Debugger → Developer Tools
Flags: needinfo?(jimb)
I think something like hostAnnotations is still the right thing. I put some comments in bug 801084 (the hostAnnotations implementation bug) about why I stopped working on it, and some ideas for getting it going again.
Flags: needinfo?(jimb)
The original comment really looks like a request for bug 1059308, but feel free to reopen with better bug title.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.