ladybird/Libraries/LibWeb/HTML/Scripting
Andreas Kling 6ecfcd3e68 LibWeb+LibJS: Cache decoded JS bytecode sidecars
Add a ref-counted decoded bytecode cache backing so bytecode cache
materialization can create fresh script or module records from a shared
decoded sidecar without passing around one-shot raw blob ownership.

Keep that backing in ExecutableBacking for records materialized from
bytecode cache sidecars, so the immutable decoded data stays alive for
as long as the installed record needs it.

Cover the shared backing path with a bytecode-cache test that
materializes and runs two scripts from one decoded backing.
2026-06-06 09:15:09 +02:00
..
Agent.cpp
Agent.h
ClassicScript.cpp LibWeb+LibJS: Cache decoded JS bytecode sidecars 2026-06-06 09:15:09 +02:00
ClassicScript.h LibWeb+LibJS: Cache decoded JS bytecode sidecars 2026-06-06 09:15:09 +02:00
Environments.cpp LibWeb: Keep worker startup reachable until script load completes 2026-04-27 18:02:49 +02:00
Environments.h LibWeb: Keep worker startup reachable until script load completes 2026-04-27 18:02:49 +02:00
EnvironmentSettingsSnapshot.cpp LibWeb: Remove API URL character encoding 2026-01-13 13:51:32 +00:00
EnvironmentSettingsSnapshot.h LibWeb: Remove API URL character encoding 2026-01-13 13:51:32 +00:00
ExceptionReporter.cpp LibJS+LibWeb: Make DOMException hold an [[ErrorData]] slot 2026-04-08 20:33:53 +02:00
ExceptionReporter.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
Fetching.cpp LibWeb+LibJS: Cache decoded JS bytecode sidecars 2026-06-06 09:15:09 +02:00
Fetching.h LibWeb: Remove ShadowRealm HTML integration 2026-04-05 13:57:58 +02:00
Fetching.idl
ImportMap.cpp LibJS: Compact Shape property table to a sorted flat array 2026-05-14 19:59:40 +02:00
ImportMap.h
ImportMapParseResult.cpp LibWeb: Visit ImportMapParseResult in HTMLScriptElement::visit_edges 2026-02-21 11:14:45 -05:00
ImportMapParseResult.h LibWeb: Visit ImportMapParseResult in HTMLScriptElement::visit_edges 2026-02-21 11:14:45 -05:00
ModuleMap.cpp
ModuleMap.h LibWeb: Support CSS modules 2026-04-03 21:21:09 +02:00
ModuleScript.cpp LibWeb+LibJS: Cache decoded JS bytecode sidecars 2026-06-06 09:15:09 +02:00
ModuleScript.h LibWeb+LibJS: Cache decoded JS bytecode sidecars 2026-06-06 09:15:09 +02:00
Script.cpp LibWeb: Remove ShadowRealm HTML integration 2026-04-05 13:57:58 +02:00
Script.h LibWeb: Remove ShadowRealm HTML integration 2026-04-05 13:57:58 +02:00
SerializedEnvironmentSettingsObject.cpp LibWeb/HTML: Track secure context as part of Serialized{Document,Worker} 2026-02-26 07:22:50 +01:00
SerializedEnvironmentSettingsObject.h LibWeb/HTML: Track secure context as part of Serialized{Document,Worker} 2026-02-26 07:22:50 +01:00
SimilarOriginWindowAgent.cpp LibGC: Default-construct RootVector from the global heap 2026-05-20 20:37:55 +02:00
SimilarOriginWindowAgent.h LibGC: Default-construct RootVector from the global heap 2026-05-20 20:37:55 +02:00
TemporaryExecutionContext.cpp LibWeb: Remove ShadowRealm HTML integration 2026-04-05 13:57:58 +02:00
TemporaryExecutionContext.h LibWeb: Remove ShadowRealm HTML integration 2026-04-05 13:57:58 +02:00
WindowEnvironmentSettingsObject.cpp LibWeb: Remove API URL character encoding 2026-01-13 13:51:32 +00:00
WindowEnvironmentSettingsObject.h LibWeb: Remove API URL character encoding 2026-01-13 13:51:32 +00:00
WorkerAgent.cpp
WorkerAgent.h
WorkerEnvironmentSettingsObject.cpp LibWeb: Use enum instead of bool for CanUseCrossOriginIsolatedAPIs 2026-02-13 16:47:42 +00:00
WorkerEnvironmentSettingsObject.h LibWeb: Remove Document.h include from DOMParser.h, DOMImplementation.h 2026-02-08 18:51:13 +01:00