• Andreas Haas's avatar
    [wasm] Threads imply structured cloning · c41fb39a
    Andreas Haas authored
    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.
    
    R=mstarzinger@chromium.org
    
    Bug: v8:8304
    Change-Id: I49da6bd76a4cc38abc01fbe0c9707c6b17a8de3f
    Reviewed-on: https://chromium-review.googlesource.com/c/1280444Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#56629}
    c41fb39a
value-serializer.cc 76.7 KB