You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
undefined
thread 'main' panicked at 'iterator [[Done]] was not a boolean', boa_engine/src/vm/opcode/iteration/for_await.rs:24:14
stack backtrace:
0: rust_begin_unwind
at /rustc/2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74/library/std/src/panicking.rs:575:5
1: core::panicking::panic_fmt
at /rustc/2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74/library/core/src/panicking.rs:64:14
2: core::panicking::panic_display
at /rustc/2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74/library/core/src/panicking.rs:147:5
3: core::panicking::panic_str
at /rustc/2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74/library/core/src/panicking.rs:131:5
4: core::option::expect_failed
at /rustc/2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74/library/core/src/option.rs:1924:5
5: <boa_engine::vm::opcode::iteration::for_await::ForAwaitOfLoopIterate as boa_engine::vm::opcode::Operation>::execute
6: boa_engine::vm::<impl boa_engine::context::Context>::execute_instruction
7: boa_engine::vm::<impl boa_engine::context::Context>::run
8: <boa_engine::native_function::Closure<F,T> as boa_engine::native_function::TraceableClosure>::call
9: boa_engine::vm::code_block::<impl boa_engine::object::jsobject::JsObject>::call_internal
10: boa_engine::object::internal_methods::function::function_call{{reify.shim}}
11: boa_engine::context::hooks::HostHooks::call_job_callback
12: core::ops::function::FnOnce::call_once{{vtable.shim}}
13: <boa::Jobs as boa_engine::job::JobQueue>::run_jobs
14: boa::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
The text was updated successfully, but these errors were encountered:
So, while working on #2658 I apparently broke 1280 tests... except I didn't! Turns out we were considering async tests that didn't call the `print` function as passed tests, but the `async` section of https://github.com/tc39/test262/blob/main/INTERPRETING.md#flags says:
> The test must not be considered complete until the implementation-defined print function has been invoked or some length of time has passed without any such invocation.
The text was updated successfully, but these errors were encountered: