Closed
Bug 1664842
Opened 4 years ago
Closed 4 years ago
Allow Watcher to fetch existing resource asynchronously
Categories
(DevTools :: General, enhancement)
DevTools
General
Tracking
(firefox82 fixed)
RESOLVED
FIXED
82 Branch
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: ochameau, Assigned: daisuke)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
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 | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Pushed by dakatsuka.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8e50285987db
Introduce async watch function. r=ochameau
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•