Commit c41fb39
[wasm] Threads imply structured cloning
In the existing implementation, the structured cloning flag is only set
at the startup of the renderer process. In other words, if structured
cloning or wasm threads are turned on when the renderer process starts
up, then structured cloning is enabled. However, with the origin trial
for wasm threads it's possible that wasm threads get turned on only
later when the webpages loads. With this CL we now always also check
the wasm threads flag in addition to checking the structured cloning
flag.
[email protected]
Bug: v8:8304
Change-Id: I49da6bd76a4cc38abc01fbe0c9707c6b17a8de3f
Reviewed-on: https://chromium-review.googlesource.com/c/1280444
Reviewed-by: Michael Starzinger <[email protected]>
Commit-Queue: Andreas Haas <[email protected]>
Cr-Commit-Position: refs/heads/master@{#56629}1 parent 26b47aa commit c41fb39
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
522 | 523 | | |
523 | 524 | | |
524 | 525 | | |
525 | 526 | | |
| 527 | + | |
526 | 528 | | |
527 | 529 | | |
528 | 530 | | |
| |||
1742 | 1744 | | |
1743 | 1745 | | |
1744 | 1746 | | |
1745 | | - | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
1746 | 1750 | | |
1747 | 1751 | | |
1748 | 1752 | | |
| |||
1764 | 1768 | | |
1765 | 1769 | | |
1766 | 1770 | | |
1767 | | - | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
1768 | 1774 | | |
1769 | 1775 | | |
1770 | 1776 | | |
| |||
0 commit comments