Closed Bug 1664842 Opened 4 years ago Closed 4 years ago

Allow Watcher to fetch existing resource asynchronously

Categories

(DevTools :: General, enhancement)

enhancement

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: ochameau, Assigned: daisuke)

References

Details

Attachments

(1 file)

For now Watcher classes on the server side can only fetch existing resources synchronously.
It means that you have to call onAvailable callback argument by the time the Watcher's constructor synchronous call returns.

But StyleSheet resources (bug 1644193) can only be fetch asynchronously.
So we have to change how the Watcher classes are instantiated in order to allow them to start asynchronously.
This is important in order to ensure emitting all existing resources by the time WatcherActor.watchResources request is resolved.

Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: