From a445deb20582a36ba8048dfdf4ccf85a5035915b Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Wed, 10 Nov 2021 19:51:02 +0200 Subject: [PATCH] LibJS: Remove left-over debug assertion from the Await AO --- Userland/Libraries/LibJS/Runtime/Completion.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Runtime/Completion.cpp b/Userland/Libraries/LibJS/Runtime/Completion.cpp index fd70754bbc..b29a1af86d 100644 --- a/Userland/Libraries/LibJS/Runtime/Completion.cpp +++ b/Userland/Libraries/LibJS/Runtime/Completion.cpp @@ -30,7 +30,6 @@ ThrowCompletionOr 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 { - 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.