ladybird/Userland/Libraries/LibWeb/WebAssembly
Ali Mohammad Pur a60ecea16a LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references
Prior to funcref, a partial chunk of an invalid module was never needed,
but funcref allows a partially instantiated module to modify imported
tables with references to its own functions, which means we need to keep
the second module alive while that function reference is present within
the imported table.
This was tested by the spectests, but very rarely caught as our GC does
not behave particularly predictably, making it so the offending module
remains in memory just long enough to let the tests pass.

This commit makes it so all function references keep their respective
modules alive.
2024-08-22 09:36:40 +02:00
..
Instance.cpp LibWeb: Make exported Wasm functions keep the module instance alive 2024-05-23 00:55:56 -06:00
Instance.h LibWeb: Isolate WebAssembly cache by global object 2024-04-26 13:56:39 +02:00
Instance.idl
Memory.cpp LibWasm: Make memory.grow grow the memory's type 2024-07-11 01:31:22 +02:00
Memory.h LibWeb/WebAssembly: Add missing visit of WebAssembly::Memory::m_buffer 2024-04-05 16:22:54 +02:00
Memory.idl
Module.cpp LibWeb: Isolate WebAssembly cache by global object 2024-04-26 13:56:39 +02:00
Module.h LibWeb: Isolate WebAssembly cache by global object 2024-04-26 13:56:39 +02:00
Module.idl LibWeb: Use 'FIXME' extended attribute where possible 2024-05-19 16:24:11 +02:00
Table.cpp LibWeb/WebAssembly: Throw when a table type's max > initial 2024-08-18 23:35:02 +02:00
Table.h
Table.idl
WebAssembly.cpp LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references 2024-08-22 09:36:40 +02:00
WebAssembly.h LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references 2024-08-22 09:36:40 +02:00
WebAssembly.idl LibWeb: Remove data from WebAssembly cache when namespace is finalized 2024-04-26 13:56:39 +02:00