Closed
Bug 1494632
Opened 6 years ago
Closed 6 years ago
Convert WorkerClient to protocol.js front
Categories
(DevTools :: Framework, enhancement, P2)
DevTools
Framework
Tracking
(firefox64 fixed)
RESOLVED
FIXED
Firefox 64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
(Whiteboard: dt-fission)
Attachments
(1 file)
WorkerClient is the client class to connect to the worker target actor.
We should convert that client class to a protocol.js front.
It introduced some complexity in the patch to convert TabClient to a front.
Both these classes end up being set on Target.activeTab attribute.
It introduces discrepancy in how to listen for events.
For protocol.js and TabClient converted to a front, you have to do:
target.activeTab.on("frameUpdate", (packet) => {..});
while for WorkerClient you have to do:
client.addListener("frameUpdate", (type, packet) => {..});
Bug 1485660 is going to introduce these two ways of listening for target actor's events, but once this bug is completed we can stick to one, the protocol.js one.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → poirot.alex
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
MozReview-Commit-ID: BbtEReeG4v9
Depends on D7462
Updated•6 years ago
|
Severity: normal → enhancement
Priority: -- → P2
Updated•6 years ago
|
Attachment #9013669 -
Attachment description: Bug 1494632 - Convert WorkerClient to protocol.js front → Bug 1494632 - Convert WorkerClient to protocol.js front.
Assignee | ||
Comment 3•6 years ago
|
||
One last try run before landing:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3bfd33cce5af289df3b75906a933b8d98b2bc5f8
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/89308a0efe91
Convert WorkerClient to protocol.js front. r=jdescottes
Comment 5•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Assignee | ||
Updated•6 years ago
|
Whiteboard: dt-fission
You need to log in
before you can comment on or make changes to this bug.
Description
•