mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibJS: Replace PropertyKey(char[]) with PropertyKey(FlyString)
...and deal with the fallout.
This commit is contained in:
parent
d7908dbff5
commit
53da8893ac
Notes:
github-actions[bot]
2025-03-24 22:28:43 +00:00
Author: https://github.com/awesomekling
Commit: 53da8893ac
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4067
Reviewed-by: https://github.com/trflynn89
55 changed files with 254 additions and 251 deletions
|
@ -90,7 +90,7 @@ ThrowCompletionOr<GC::Ref<PromiseCapability>> new_promise_capability(VM& vm, Val
|
|||
};
|
||||
|
||||
// 5. Let executor be CreateBuiltinFunction(executorClosure, 2, "", « »).
|
||||
auto executor = NativeFunction::create(realm, move(executor_closure), 2, "");
|
||||
auto executor = NativeFunction::create(realm, move(executor_closure), 2);
|
||||
|
||||
// 6. Let promise be ? Construct(C, « executor »).
|
||||
auto promise = TRY(construct(vm, constructor.as_function(), executor));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue