Open
Bug 1848465
Opened 9 months ago
Updated 9 months ago
Invalidate the bytecode cache and restart the request when decode fail
Categories
(Core :: JavaScript Engine, defect, P2)
Core
JavaScript Engine
Tracking
()
ASSIGNED
People
(Reporter: arai, Assigned: arai)
References
Details
When ScriptLoader's bytecode is corrupted but SRI doesn't catch it, the corruption detection is up to Stencil XDR decoder, but when the decode fails with corrupted data, the load just fails and it isn't restarted.
So, the corrupted data is kept being used and all subsequent load fails until the cache is removed, outdated, or invalidated by browser version up.
This is existing behavior and also preserved with bug 1845638 change.
ScriptLoader should restart the request when the decode fails due to corruption.
You need to log in
before you can comment on or make changes to this bug.
Description
•