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:
parent
d5f637fa21
commit
a445deb205
Notes:
sideshowbarker
2024-07-18 01:18:45 +09:00
Author: https://github.com/IdanHo
Commit: a445deb205
Pull-request: https://github.com/SerenityOS/serenity/pull/10863
Reviewed-by: https://github.com/linusg ✅
1 changed files with 0 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue