Closed Bug 862073 Opened 12 years ago Closed 10 years ago

listTabs request should use a live list

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jimb, Assigned: jimb)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

When the remote debugging protocol's root actor sends a "listTabs" reply, it should notify the client if the list of tabs subsequently changes. Suggested protocol documentation change attached (legible when viewed with 'Review'). (This will mesh nicely with the implementation of the child process list, which is also meant to be live.)
The spec change looks good to me.
Priority: -- → P3
Don't we do this by now? Can this be closed?
This is now implemented, but Jim needs to merge the doc change. I don't see it on GitHub: https://github.com/jimblandy/DebuggerDocs/blob/master/protocol
Jim, have you updated the docs for this? I would like to be able to close this bug.
Flags: needinfo?(jimb)
Attachment #737680 - Flags: review?(dcamp)
Comment on attachment 737680 [details] [diff] [review] Document tabListChanged notification. Oh, Panos has already looked it over. No need for further review.
Attachment #737680 - Flags: review?(dcamp)
Flags: needinfo?(jimb)
Slightly revised since the version Panos looked over, so requesting a fresh review. This version documents present reality as described by jryans on IRC: we don't notify the client if a tab is merely navigated.
Assignee: nobody → jimb
Attachment #737680 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8493445 - Flags: review?(dcamp)
Attachment #8493445 - Flags: review?(dcamp) → review+
As an aside, it might be nice to describe the "only one change notification for an arbitrary number of changes between requests" pattern in the "Common communication patterns" section.
Pushed to https://github.com/jimblandy/DebuggerDocs: commit f3fa3c1118ce9ef9900feb2c602ca8f2ac6e1210
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
(In reply to Jim Blandy :jimb from comment #8) > Pushed to https://github.com/jimblandy/DebuggerDocs: > commit f3fa3c1118ce9ef9900feb2c602ca8f2ac6e1210 Thank you for resolving this so quickly Jim!
(In reply to Dave Camp (:dcamp) from comment #7) > As an aside, it might be nice to describe the "only one change notification > for an arbitrary number of changes between requests" pattern in the "Common > communication patterns" section. Totally. Filed as bug 1071705.
Attachment #8493445 - Flags: checkin+
Summary: Remote debugging protocol: listTabs reply should be live → listTabs request should use a live list
Blocks: dbg-server
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: