Open
Bug 1382999
Opened 7 years ago
Updated 2 years ago
use HTTP OMT data delivery while loading worker resource
Categories
(Core :: DOM: Workers, enhancement, P3)
Core
DOM: Workers
Tracking
()
NEW
People
(Reporter: schien, Unassigned)
Details
From telemetry [1] I found worker-related HTTP requests are not utilizing off-main-thread data delivery. Worker script loader uses nsStreamLoader/nsStreamListenerTee and LoaderListener to load the resource. However, |RetargetDeliveryTo| is not called in ScriptLoaderRunnable::OnStartRequest. Therefore, HTTP OMT is not activated. [1] https://mzl.la/2ugPhaU [2] https://searchfox.org/mozilla-central/rev/3a3af33f513071ea829debdfbc628caebcdf6996/dom/workers/ScriptLoader.cpp#969 [3] https://searchfox.org/mozilla-central/rev/3a3af33f513071ea829debdfbc628caebcdf6996/dom/workers/ScriptLoader.cpp#674
Comment 1•7 years ago
|
||
We should do this, but note that it won't help with service workers.
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•