ladybird/Userland
Daniel Bertalan c21255da7f LibJS: Align NewPromiseCapability with spec changes
See https://github.com/tc39/ecma262/commit/874ecf9

After this refactoring, we now correctly handle non-function /
non-undefined objects being passed multiple times: instead of skipping
assignment to promiseCapability altogether and failing with a
NotAFunction error in the end; on the second time the executor closure
is called, we return GetCapabilitiesExecutorCalledMultipleTimes.

This fixes the 7 `capability-executor-called-twice.js` test262 tests.
2023-06-28 23:36:15 +01:00
..
Applets ClipboardHistory: Use i32 config change listener 2023-06-27 15:37:00 +01:00
Applications Userland: Convert config listener callbacks to use StringView 2023-06-27 15:37:00 +01:00
BuggieBox Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Demos LibGUI+Userland: Port StatusBar::text() and set_text functions to String 2023-06-15 13:53:22 +01:00
DevTools HackStudio: Use StringView in DiffViewer::draw_line 2023-06-26 19:26:34 +02:00
DynamicLoader Everywhere: Resolve conflicts with LibC and libc++ 2023-06-27 12:40:38 +02:00
Games Userland: Convert config listener callbacks to use StringView 2023-06-27 15:37:00 +01:00
Libraries LibJS: Align NewPromiseCapability with spec changes 2023-06-28 23:36:15 +01:00
Services Userland: Convert config listener callbacks to use StringView 2023-06-27 15:37:00 +01:00
Shell Shell: Stop lying about string types 2023-06-13 01:49:02 +02:00
Utilities test262-runner+js: Respect the bytecode optimizations enabled flag 2023-06-27 14:35:23 +03:30
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00