Remove unused methods on the Thread Actor
Categories
(DevTools :: General, task, P3)
Tracking
(firefox71 fixed)
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: jdescottes, Assigned: championshuttler)
Details
Attachments
(1 file)
I think the following methods of the thread actor are not used and should be removed:
- _requestFrame
- createProtocolCompletionValue
- everything related to the "threadGrips" request
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Hi Julian,
I would like to work on it, can i take this up?
Reporter | ||
Comment 2•5 years ago
|
||
Hi Shivam,
Thanks for proposing to work on this, assigning the bug to you!
I see you have already fixed several bugs in DevTools, so I will just add some pointers for what should be removed. The actor thread can be found at https://searchfox.org/mozilla-central/source/devtools/server/actors/thread.js and you can simply remove _requestFrame
and createProtocolCompletionValue
from the file.
To cleanup the "threadGrips" request, it involves a few more files. The request handler in the actor is called onThreadGrips
. And then we also need to remove the threadGrips request from the specs (devtools/shared/specs/thread.js) and from our deprecated-thread-client (devtools/shared/client/deprecated-thread-client.js)
Don't hesitate to ping me if you have any question.
Comment 3•5 years ago
|
||
Hi Shivam, I was wondering if you were still interested in working on this bug? If not, please let me know so this bug can be made available to others.
Assignee | ||
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b473a267e85e
Remove unused methods on the Thread Actor. r=jdescottes,jlast
Comment 7•5 years ago
|
||
bugherder |
Description
•