Open Bug 1572374 Opened 6 years ago Updated 3 years ago

Avoid duplication of WorkerDispatcher and workerHandler utils

Categories

(DevTools :: Netmonitor, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: Honza, Unassigned)

References

Details

(Keywords: good-first-bug)

Attachments

(2 files)

The Network panel search implementation utilizes couple of worker utils:

  • WorkerDispatcher
  • workerHandler

devtools/client/netmonitor/src/workers/worker-utils.js

These helpers come from Debugger:
https://searchfox.org/mozilla-central/rev/9ae20497229225cb3fa729a787791f424ff8087b/devtools/client/debugger/packages/devtools-utils/src/worker-utils.js#134-135

We should avoid code duplication and move the worker-utils.js module to:
devtools/client/shared directory

Note that the Debugger version is using flow, which isn't supported in other panels so, the Network panel's version should be used.

Honza

Blocks: 1572145
Priority: -- → P3

Hello! I'd to take this up :)

Sounds great, thanks for the help!

You might want to read this:
https://docs.firefox-dev.tools/getting-started/

Please go ahead and put any of your findings here in the report
Also use Request information from field (at the bottom of this page) when you have questions.

Honza

Attachment #9096847 - Attachment description: Bug 1572374: worker utils r=honza → Bug 1572374 - worker utils r=honza

Hello, I've made the required changes. Let me know if they work.
Also, it would be great if you could assign this bug to me :)
Thanks

Attachment #9096847 - Attachment description: Bug 1572374 - worker utils r=honza → Bug 1572374 - Avoid duplication of WorkerDispatcher and workerHandler utils r=honza

FYI, @Lloan there is a question in Phab from Ruchika
https://phabricator.services.mozilla.com/D47403#1441256

Honza

Flags: needinfo?(lloanalas)
Assignee: nobody → ruchikag826
Status: NEW → ASSIGNED

@honza

Thanks! Will answer shortly.

Flags: needinfo?(lloanalas)
Attachment #9096847 - Attachment description: Bug 1572374 - Avoid duplication of WorkerDispatcher and workerHandler utils r=honza → Bug 1572374: worker utils r=honza

Hubert, can you please help with the bug. The patch is already there and seems to be close to landing.

ruchikag826, still interested in this bug?

Honza

Flags: needinfo?(ruchikag826)
Flags: needinfo?(hmanilla)

This good-first-bug hasn't had any activity for 6 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: ruchikag826 → nobody
Status: ASSIGNED → NEW

I'd love to work on this bug, could it be assigned to me?

Assignee: nobody → ezikeonyinyefavour
Status: NEW → ASSIGNED
Flags: needinfo?(hmanilla)
Whiteboard: dt-outreachy-2021

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: ezikeonyinyefavour → nobody
Status: ASSIGNED → NEW

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit auto_nag documentation.

Flags: needinfo?(ruchikag826)
Severity: normal → S3
Whiteboard: dt-outreachy-2021
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: