ladybird/Tests/LibWeb/Text/expected/Wasm/WebAssembly-exported-function-metadata.txt
Timothy Flynn a7ce007ff4 LibWeb: Define name and length properties on exported wasm functions
We were previously not setting any name or length properties on exported
functions. Some sites like https://squeel.frankmayer.dev/ rely on these
properties.

The name property is a bit strange. Exported wasm functions have a name
property which is its index in its module instance's function-address
list.

This patch is not enough for the squeel site to be fully functional; we
will need to implement navigator.locks.
2026-06-23 08:57:08 +02:00

6 lines
213 B
Text

length: 2
name: 0
export name: sqlite3_aggregate_context
length descriptor: writable=false, enumerable=false, configurable=true
name descriptor: writable=false, enumerable=false, configurable=true
call result: 42