Closed
Bug 1669655
Opened 5 years ago
Closed 5 years ago
Cleanup worker-connector.js and startup/worker.js
Categories
(DevTools :: Framework, task, P1)
DevTools
Framework
Tracking
(firefox83 fixed)
RESOLVED
FIXED
83 Branch
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
Attachments
(1 file)
- It uses an
id
property that is more a forwarding prefix, so we can probably rename that. - In the list of connections, there's an
rpcs
property (devtools/server/startup/worker.js#76 ) that isn't used anywhere, so we can remove it, and directly store the connection. rpcDeferred
is an array, but is used like an object (devtools/server/startup/worker.js#33,52,94-95)
Assignee | ||
Comment 1•5 years ago
|
||
- Rename
id
to a more explicitforwardingPrefix
property - Add comments to why we need to handle a list of connections
- Remove the
rpcs
property from the connections object - Turn
rpcDeferred
from an array to an object, as it's used like one.
Depends on D92751
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/864d323183cd
[devtools] Cleanup worker-connector.js and startup/worker.js. r=ochameau.
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox83:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•