mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
LibJS: Remove left-over debug assertion from the Await AO
This commit is contained in:
parent
d5f637fa21
commit
a445deb205
1 changed files with 0 additions and 1 deletions
|
@ -30,7 +30,6 @@ ThrowCompletionOr<Value> await(GlobalObject& global_object, Value value)
|
||||||
Value result;
|
Value result;
|
||||||
// 3. Let fulfilledClosure be a new Abstract Closure with parameters (value) that captures asyncContext and performs the following steps when called:
|
// 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> {
|
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.
|
// a. Let prevContext be the running execution context.
|
||||||
// b. Suspend prevContext.
|
// b. Suspend prevContext.
|
||||||
// FIXME: We don't have this concept yet.
|
// FIXME: We don't have this concept yet.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue