Commit db0c026
authored
Fix Asyncify in the d8 shell (#16340)
This is similar to the Node.js path. This code is necessary
for us to throw an exception to stop execution, but keep going after it is
caught, rather than call d8's quit which halts us immediately.
Also remove some misleading annotations on tests. d8 does have setTimeout,
despite what the comments say - but perhaps it didn't in the past.1 parent 6298bd0 commit db0c026
2 files changed
+20
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
312 | 326 | | |
313 | 327 | | |
314 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
7613 | 7613 | | |
7614 | 7614 | | |
7615 | 7615 | | |
7616 | | - | |
7617 | | - | |
7618 | 7616 | | |
7619 | 7617 | | |
7620 | 7618 | | |
| |||
7640 | 7638 | | |
7641 | 7639 | | |
7642 | 7640 | | |
7643 | | - | |
| 7641 | + | |
| 7642 | + | |
| 7643 | + | |
| 7644 | + | |
| 7645 | + | |
7644 | 7646 | | |
7645 | 7647 | | |
7646 | 7648 | | |
| |||
7672 | 7674 | | |
7673 | 7675 | | |
7674 | 7676 | | |
7675 | | - | |
7676 | 7677 | | |
7677 | 7678 | | |
7678 | 7679 | | |
| |||
0 commit comments