Get rid of eventSource in devtools/shared/client/*
Categories
(DevTools :: Framework, defect, P3)
Tracking
(Not tracked)
People
(Reporter: ejpbruel, Assigned: yulia)
References
Details
Attachments
(6 files)
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Updated•10 years ago
|
Comment 1•10 years ago
|
||
Updated•8 years ago
|
Updated•7 years ago
|
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
a couple of notes here:
EnvironmentClient doesn't seem to use eventSource
ThreadClient conversion to protocol.js front needs ThreadClient to be moved to EventEmitter (which is why I picked this up)
DebuggerClient seems to be used in tests in places where ThreadClient should be use, examples: https://searchfox.org/mozilla-central/search?q=client.addListener(%22paused&case=false®exp=false&path=devtools
Assignee | ||
Comment 5•6 years ago
|
||
After reviewing how the EnvironmentClient is used, it looks like the use of eventSource
might be some cruft from the past. Here is the try run:
https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=242251058&revision=df4bb52f188f79b8006e8c40401e5af2258493ce
with the exception of whatever is going on Window 7 (which appeares also on central), it looks like
things are working as expected. The environment client will eventually have the event emitter, once
it is moved to being a front.
adding @nchevobbe as a subscriber, as this touches a dependancy of the scratchpad.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Assignee | ||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 12•5 years ago
|
||
turns out we were incorrectly passing the threadClient to the environmentClient while
instantiating in one of the tests. It worked before because the threadClient exposed the API surface
of the debugger-client.
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
bugherder |
Assignee | ||
Comment 16•5 years ago
|
||
no, this is now done.
Assignee | ||
Updated•5 years ago
|
Description
•