summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyObject.h
AgeCommit message (Collapse)Author
2021-10-31LibWeb: Convert WebAssemblyObject functions to ThrowCompletionOrIdan Horowitz
2021-10-31LibWeb: Convert WebAssemblyObject AOs to ThrowCompletionOrIdan Horowitz
2021-10-31LibWeb: Make GlobalObject the first parameter of WebAssembly AOsIdan Horowitz
Let's be consistent with the rest of LibJS (and the rest of the file).
2021-10-20LibJS: Add ThrowCompletionOr versions of the JS native function macrosIdan Horowitz
The old versions were renamed to JS_DECLARE_OLD_NATIVE_FUNCTION and JS_DEFINE_OLD_NATIVE_FUNCTION, and will be eventually removed once all native functions were converted to the new format.
2021-07-02LibWeb: Add the WebAssembly.Module constructorAli Mohammad Pur
2021-07-02LibWeb: Add the WebAssembly.Instance constructorAli Mohammad Pur
2021-07-02LibWeb: Split the WebAssemblyInstance object logic into multiple filesAli Mohammad Pur
Now that we're adding a constructor to it, let's split it up like the rest of LibWeb does.
2021-06-27LibJS: Rename Function => FunctionObjectAndreas Kling
2021-06-22LibWeb: Implement the WebAssembly Memory object and Memory importsAli Mohammad Pur
2021-06-22LibWeb: Cache the WebAssembly objects that we hand out to JSAli Mohammad Pur
The spec requires this behaviour, and it's generally faster to do this instead of re-resolving and re-creating the instances anyway.
2021-05-26LibWasm+LibWeb: Partially resolve memory exportsAli Mohammad Pur
This allows the JS side to access the wasm memory, assuming it's exported by the module. This can be used to draw stuff on the wasm side and display them from the js side, for example :^)
2021-05-26LibWeb: Implement a very basic WebAssembly JS APIAli Mohammad Pur
This impl is *extremely* simple, and is missing a lot of things, it's also not particularly spec-compliant in some places, but it's definitely a start :^)