• gdeepti's avatar
    [wasm] Memory buffer should be detached after Memory.Grow · e6d13999
    gdeepti authored
    Memory.Grow should detach the ArrayBuffer associated with the Mem object after Grow. Currently, when guard pages are enabled protection is changed to make more of the buffer accessible. This does not work for when the buffer should be detached after grow, because the memory object has a reference to the same buffer befor/after grow.
    
    R=titzer@chromium.org, eholk@chromium.org
    
    Review-Url: https://codereview.chromium.org/2653183003
    Cr-Commit-Position: refs/heads/master@{#42717}
    e6d13999
import-memory.js 14.1 KB