1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

LibJS: Remove left-over debug assertion from the Await AO

This commit is contained in:
Idan Horowitz 2021-11-10 19:51:02 +02:00 committed by Linus Groh
parent d5f637fa21
commit a445deb205
Notes: sideshowbarker 2024-07-18 01:18:45 +09:00

View file

@ -30,7 +30,6 @@ ThrowCompletionOr<Value> await(GlobalObject& global_object, Value value)
Value result;
// 3. Let fulfilledClosure be a new Abstract Closure with parameters (value) that captures asyncContext and performs the following steps when called:
auto fulfilled_closure = [&async_context, &success, &result](VM& vm, GlobalObject& global_object) -> ThrowCompletionOr<Value> {
VERIFY(!vm.argument(0).is_undefined());
// a. Let prevContext be the running execution context.
// b. Suspend prevContext.
// FIXME: We don't have this concept yet.