summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-11-10 19:51:02 +0200
committerLinus Groh <mail@linusgroh.de>2021-11-10 18:11:26 +0000
commita445deb20582a36ba8048dfdf4ccf85a5035915b (patch)
tree8620775004d5179a3f7727c895205f3c681c75ec /Userland
parentd5f637fa215ecc8b33b0b0b8592defc735fb3b80 (diff)
downloadserenity-a445deb20582a36ba8048dfdf4ccf85a5035915b.zip
LibJS: Remove left-over debug assertion from the Await AO
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Completion.cpp1
1 files changed, 0 insertions, 1 deletions
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<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.