Closed
Bug 901519
Opened 12 years ago
Closed 12 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•12 years ago
|
||
Attachment #789541 -
Flags: review?(poirot.alex)
| Assignee | ||
Updated•12 years ago
|
| Assignee | ||
Updated•12 years ago
|
Comment 2•12 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•12 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•12 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 26
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•