Commit 7ab6d85
[wasm] Disallow WebAssembly.promising with asmjs
Throw a TypeError to match the behavior of creating a
WebAssembly.promising from a JS function.
[email protected]
Bug: 355015467
Change-Id: Ic565d7cb13c90056e41c2721fd85dffa584b5f15
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5772793
Commit-Queue: Thibaud Michaud <[email protected]>
Reviewed-by: Matthias Liedtke <[email protected]>
Cr-Commit-Position: refs/heads/main@{#95536}1 parent 6a6d87b commit 7ab6d85
2 files changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2277 | 2277 | | |
2278 | 2278 | | |
2279 | 2279 | | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
2280 | 2284 | | |
2281 | 2285 | | |
2282 | 2286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
19 | 29 | | |
20 | 30 | | |
21 | 31 | | |
| |||
0 commit comments