Closed Bug 1640641 Opened 5 years ago Closed 5 years ago

Emit list of resources within ResourceWatcher and add a `resourceType` attribute on all resources

Categories

(DevTools :: Framework, enhancement, P1)

enhancement

Tracking

(Fission Milestone:M6c, firefox78 fixed)

RESOLVED FIXED
Firefox 78
Fission Milestone M6c
Tracking Status
firefox78 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

(Whiteboard: dt-fission-m2-mvp)

Attachments

(2 files)

Bug 1620243 is about to emit RDP events with a list of resources.
But the current implementation of ResourceWatcher is notifying about resources one by one. ResourceWatcher._onResourceAvailable is receiving resources one by one.

The goal here would only be about receiving a list of resources in _onResourceAvailable.
The frontend may still keep receiving resources one by one. But at least ResourceWatcher should process them by chunk. We can always followup in order to make the Frontend also process resources by chunks.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Priority: -- → P1

The patch I'm about to attach will also start adding a resourceType attribute to all resource objects.

Blocks: 1640644
Blocks: 1640647
Summary: Emit list of resources within ResourceWatcher → Emit list of resources within ResourceWatcher and add a `resourceType` attribute on all resources
Blocks: 1640886
Blocks: 1640887

Tracking dt-fission-m2-mvp bugs for Fission Nightly milestone (M6c).

Fission Milestone: --- → M6c
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9f9e8395f631 Instantiate only one ResourceWatcher in the console stubs test. r=nchevobbe https://hg.mozilla.org/integration/autoland/rev/aca776a13154 Add `resourceType` attribute to each resource and emit list of resources. r=nchevobbe,jdescottes
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/673c9f238315 Instantiate only one ResourceWatcher in the console stubs test. r=nchevobbe https://hg.mozilla.org/integration/autoland/rev/2ea544687871 Add `resourceType` attribute to each resource and emit list of resources. r=nchevobbe,jdescottes
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: