Find
C
ase-sensitive
R
egexp search
Path
Showing
e11224bc
:
Bug
2010344
- Collect child navigables that will load during traverse r=farre,smaug
firefox-main
/
js
/
xpconnect
/
tests
/
marionette
Navigation
Enable keyboard shortcuts
Name
Description
Size
manifest.toml
94
test_preloader_cache_bypass.py
Tests that the ScriptPreloader and StartupCache don't serve stale bytecode when JAR files from system add-ons installed in the profile directory are updated. This test simulates a system add-on being updated by: 1. Creating a JAR file with an ES module that exports a test value 2. Registering it via resource:// URI substitution 3. Loading the module and waiting for caches to be written 4. Replacing the JAR with a new version that exports a different value 5. Restarting and verifying the new value is loaded (not the cached old value) Without the fix, the ScriptPreloader would serve stale bytecode from the previous JAR version. With the fix, scripts from non-omni.ja JARs bypass the cache and are always compiled fresh.
5141
test_preloader_without_parallel_parsing.py
597