Closed
Bug 901519
Opened 11 years ago
Closed 11 years ago
[app manager] data store for connections
Categories
(DevTools Graveyard :: WebIDE, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 26
People
(Reporter: paul, Assigned: paul)
References
Details
Attachments
(1 file)
6.26 KB,
patch
|
ochameau
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #789541 -
Flags: review?(poirot.alex)
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Updated•11 years ago
|
Comment 2•11 years ago
|
||
Comment on attachment 789541 [details] [diff] [review] Patch v1 Review of attachment 789541 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/devtools/app-manager/connection-store.js @@ +13,5 @@ > + return _knownConnectionStores.get(connection); > + } > + _knownConnectionStores.set(connection, this); > + > + ObservableObject.call(this, {status:null,host:null,port:null}); Be carefull to land bug 901517 before this one. @@ +19,5 @@ > + this._destroy = this._destroy.bind(this); > + this._feedStore = this._feedStore.bind(this); > + > + this._connection = connection; > + this._connection.once("destroyed", this._destroy); nit: "destroyed" -> ConnectionsManager.DESTROYED ::: browser/devtools/app-manager/test/test_connection_store.html @@ +93,5 @@ > + SimpleTest.finish(); > + } > + > + connection.host = null; // force pipe > + connection.port = null; What about having ConnectionsManager.createPipeConnection() to make that non-magic and explicit? Otherwise, we at least need to document that "no host = pipe" in connection-manager!
Attachment #789541 -
Flags: review?(poirot.alex) → review+
Assignee | ||
Comment 3•11 years ago
|
||
> What about having ConnectionsManager.createPipeConnection() to make that
> non-magic and explicit?
> Otherwise, we at least need to document that "no host = pipe" in
> connection-manager!
I'll do that in a follow up.
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/1ed0042c0e79
Whiteboard: [fixed-in-fx-team]
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1ed0042c0e79
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 26
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•4 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•