Closed Bug 1555022 Opened 5 years ago Closed 5 years ago

Remove unused methods on the Thread Actor

Categories

(DevTools :: General, task, P3)

task

Tracking

(firefox71 fixed)

RESOLVED FIXED
Firefox 71
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
Priority: -- → P3

Hi Julian,

I would like to work on it, can i take this up?

Flags: needinfo?(jdescottes)

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.

Assignee: nobody → shivams2799
Status: NEW → ASSIGNED
Flags: needinfo?(jdescottes)

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.

Flags: needinfo?(shivams2799)

Hi Patrick, yes working on it!

Flags: needinfo?(shivams2799)
Attachment #9090951 - Attachment description: Bug 1555022 - Remove unused methods on the Thread Actor. r=jdescottes → Bug 1555022 - Remove unused methods on the Thread Actor. r=jdescottes,jlast

Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b473a267e85e
Remove unused methods on the Thread Actor. r=jdescottes,jlast

Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: