gecko-dev/js/loader
Tooru Fujisawa c963262d5c Bug 1436400 - Part 8: Add code path for bytecode encoding module scripts. r=nbp
The module scripts are scanned immediately before executing, and if the
module script is not yet executed, and it matches the requirement for encoding
(size, fetch count, etc), it's marked as encode,
and they're scanned again immediately after executing, and marked scripts are
queued for bytecode encoding.

This patch doesn't actually enable the encoding, given ShouldCacheBytecode
returns false because the caching is not enabled for the channel and
GetCacheTokenFetchCount fails.

Differential Revision: https://phabricator.services.mozilla.com/D140296
2022-03-15 19:05:56 +00:00
..
LoadedScript.cpp Bug 1742437 - re-scope all generic module/script loader files under js/loader; r=jonco 2022-02-21 15:39:09 +00:00
LoadedScript.h Bug 1742437 - re-scope all generic module/script loader files under js/loader; r=jonco 2022-02-21 15:39:09 +00:00
ModuleLoadRequest.cpp Bug 1742437 - re-scope all generic module/script loader files under js/loader; r=jonco 2022-02-21 15:39:09 +00:00
ModuleLoadRequest.h Bug 1742437 - re-scope all generic module/script loader files under js/loader; r=jonco 2022-02-21 15:39:09 +00:00
ModuleLoaderBase.cpp Bug 1436400 - Part 8: Add code path for bytecode encoding module scripts. r=nbp 2022-03-15 19:05:56 +00:00
ModuleLoaderBase.h Bug 1436400 - Part 8: Add code path for bytecode encoding module scripts. r=nbp 2022-03-15 19:05:56 +00:00
ModuleMapKey.cpp Bug 1742437 - re-scope all generic module/script loader files under js/loader; r=jonco 2022-02-21 15:39:09 +00:00
ModuleMapKey.h Bug 1742437 - re-scope all generic module/script loader files under js/loader; r=jonco 2022-02-21 15:39:09 +00:00
ScriptKind.h Bug 1742437 - re-scope all generic module/script loader files under js/loader; r=jonco 2022-02-21 15:39:09 +00:00
ScriptLoadRequest.cpp Bug 1757597 - Rename ScriptLoadRequest.mScript to mScriptForBytecodeEncoding. r=jonco 2022-03-15 19:05:53 +00:00
ScriptLoadRequest.h Bug 1757597 - Rename ScriptLoadRequest.mScript to mScriptForBytecodeEncoding. r=jonco 2022-03-15 19:05:53 +00:00
moz.build Bug 1742437 - re-scope all generic module/script loader files under js/loader; r=jonco 2022-02-21 15:39:09 +00:00