1. 28 Jan, 2017 6 commits
  2. 27 Jan, 2017 32 commits
  3. 26 Jan, 2017 2 commits
    • jbroman's avatar
      ValueSerializer: Promote scheduled exceptions from wasm::ErrorThrower. · 78c0be52
      jbroman authored
      wasm::ErrorThrower doesn't actually throw exceptions, it just schedules them.
      As a result, this exception isn't handled properly by code which expects
      ValueDeserializer to actually throw. For instance, the unit tests use a
      TryCatch to catch and handle expected exceptions in unit tests.
      
      Before this patch, I see local unit test failures because a wasm decode test
      schedules one, but it isn't caught (and instead causes Context::New to fail
      at the beginning of the next test).
      
      BUG=685713
      
      Review-Url: https://codereview.chromium.org/2659483004
      Cr-Commit-Position: refs/heads/master@{#42718}
      78c0be52
    • 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