1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 22:50:59 +00:00
serenity/Userland
Luke Wilde 4c1c6ef91c LibJS: Setup host hooks and have promise jobs work out the realm
This allows the host of LibJS (notably LibWeb in this case) to override
certain functions such as HostEnqueuePromiseJob, so it can do it's own
thing in certain situations. Notably, LibWeb will override
HostEnqueuePromiseJob to put promise jobs on the microtask queue.

This also makes promise jobs use AK::Function instead of
JS::NativeFunction. This removes the need to go through a JavaScript
function and it more closely matches the spec's idea of "abstract
closures"
2022-02-08 17:47:44 +00:00
..
Applets Keymap Applet: Spawn KeyboardSettings when clicking 2022-02-04 21:30:31 +01:00
Applications Spreadsheet: No longer use vm.exception() to signal exception state 2022-02-08 09:12:42 +00:00
Demos Meta+Userland: Run the GML formatter on CI and pre-commit 2022-02-07 18:39:50 +01:00
DevTools LibJS+Everywhere: Remove all VM::clear_exception() calls 2022-02-08 09:12:42 +00:00
DynamicLoader DynamicLoader+LibC+LibTimeZone: Include LibTimeZone sources in LibC 2022-01-23 12:48:26 +00:00
Games Meta+Userland: Run the GML formatter on CI and pre-commit 2022-02-07 18:39:50 +01:00
Libraries LibJS: Setup host hooks and have promise jobs work out the realm 2022-02-08 17:47:44 +00:00
Services LibWeb: Introduce the Environment Settings Object 2022-02-08 17:47:44 +00:00
Shell Shell: Use strncmp() instead of string.compare() for name completions 2022-02-05 16:59:12 +03:30
Utilities LibJS+Everywhere: Remove VM::exception() and most related functions 2022-02-08 09:12:42 +00:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00