Commit 4c52207
committed
cli: enable can_block by default, add --no-can-block flag
Make boa's cli consistent with the behaviour of other major JavaScript
shells (d8, jsc, spidermonkey at least) as well as boa_tester by
enabling [[CanBlock]] by default.
Add --no-can-block flag to opt out, same as V8
(https://github.com/v8/v8/blob/main/src/d8/d8.cc#L6417).
Needed for Atomics tests to pass when using an external test262 harness.1 parent 0c6e4ba commit 4c52207
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
160 | 164 | | |
161 | 165 | | |
162 | 166 | | |
| |||
558 | 562 | | |
559 | 563 | | |
560 | 564 | | |
| 565 | + | |
561 | 566 | | |
562 | 567 | | |
563 | 568 | | |
| |||
0 commit comments