1. 11 Jan, 2016 1 commit
  2. 09 Jan, 2016 1 commit
  3. 08 Jan, 2016 31 commits
  4. 07 Jan, 2016 7 commits
    • caitpotter88's avatar
      [promise] Make Promise.all match spec, and always respect [[AlreadyResolved]] · 7459d8ce
      caitpotter88 authored
      Testing the promise status is not enough to ensure that resolve functions are
      called only once.
      
      This change adds a similar version of the [[AlreadyResolved]] slot to the
      Promise.all resolve element function, and also ensures that [[AlreadyResolved]]
      is respected in the Promise executor, and when resolving thenables. This means
      replacing PromiseReject() shortcuts with promiseCapability.reject(), which has
      an [[AlreadyResolved]] record in a context slot.
      
      Also ensures that changes to the list accumulator in Promise.all() is not observable
      via accessors installed in the Array prototype chain, using the same mechanism used
      in several Array methods.
      
      Fixes the following Test262 tests:
      - built-ins/Promise/all/call-resolve-element-items.js
      - built-ins/Promise/all/call-resolve-element.js
      - built-ins/Promise/all/call-resolve-element-after-return.js
      - built-ins/Promise/all/same-reject-function.js
      - built-ins/Promise/all/resolve-from-same-thenable.js
      - built-ins/Promise/all/resolve-before-loop-exit.js
      - built-ins/Promise/all/resolve-before-loop-exit-from-same.js
      - built-ins/Promise/exception-after-resolve-in-executor.js
      - built-ins/Promise/exception-after-resolve-in-thenable-job.js
      - built-ins/Promise/all/does-not-invoke-array-setters.js
      
      BUG=v8:4633
      LOG=N
      R=littledan@chromium.org, cbruni@chromium.org
      
      Review URL: https://codereview.chromium.org/1534813005
      
      Cr-Commit-Position: refs/heads/master@{#33163}
      7459d8ce
    • littledan's avatar
      Revert of Ship ES2015 sloppy-mode function hoisting, let, class (patchset #7... · adac5956
      littledan authored
      Revert of Ship ES2015 sloppy-mode function hoisting, let, class (patchset #7 id:120001 of https://codereview.chromium.org/1551443002/ )
      
      Reason for revert:
      Causes frequent crashes in Canary: chromium:537816
      
      Original issue's description:
      > Ship ES2015 sloppy-mode function hoisting, let, class
      >
      > This patch doesn't ship all features of ES2015 variable/scoping
      > changes, notably omitting the removal of legacy const. I think
      > function hoisting, let and class in sloppy mode can stand to
      > themselves as a package, and the legacy const change is much
      > riskier and more likely to be reverted, so my intention is to
      > pursue those as a separate, follow-on patch.
      >
      > R=adamk@chromium.org
      > BUG=v8:4285,v8:3305
      > LOG=Y
      > CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
      >
      > Committed: https://crrev.com/fcff8588a5a01587643d6c2507c7b882c78a2957
      > Cr-Commit-Position: refs/heads/master@{#33133}
      
      TBR=adamk@chromium.org
      # Not skipping CQ checks because original CL landed more than 1 days ago.
      BUG=v8:4285,v8:3305,chromium:537816
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1565263002
      
      Cr-Commit-Position: refs/heads/master@{#33162}
      adac5956
    • titzer's avatar
      [wasm] Fix simple graph building tests by enabling all optional operators. · 7334b263
      titzer authored
      R=mstarzinger@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1564053002
      
      Cr-Commit-Position: refs/heads/master@{#33161}
      7334b263
    • caitpotter88's avatar
      [promise] unskip more passing Test262 tests · c12a47a5
      caitpotter88 authored
      BUG=v8:4633
      LOG=N
      R=adamk@chromium.org, littledan@chromium.org, cbruni@chromium.org
      
      Review URL: https://codereview.chromium.org/1568433004
      
      Cr-Commit-Position: refs/heads/master@{#33160}
      c12a47a5
    • neis's avatar
      [tests] Fix bogus uses of assertThrows. · 837900ef
      neis authored
      Some tests passed a string as second argument to assertThrows, expecting it to
      be matched against the exception.  However, assertThrows simply ignored these.
      (Some other tests actually seem to use that argument as a comment ...)
      
      This CL
      - changes assertThrows to fail if the second argument is not a function,
      - adds assertThrowsEquals which compares the exception to a given value using
        assertEquals
      - fixes some bogus tests that got exposed by this.
      
      R=jarin@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1544793002
      
      Cr-Commit-Position: refs/heads/master@{#33159}
      837900ef
    • jkummerow's avatar
      Fix^3 cast in HasEnumerableElements · a0d03d72
      jkummerow authored
      Empty FixedDoubleArrays aren't FixedDoubleArrays.
      
      BUG=chromium:569534
      LOG=n
      R=yangguo@chromium.org
      
      Review URL: https://codereview.chromium.org/1568863002
      
      Cr-Commit-Position: refs/heads/master@{#33158}
      a0d03d72
    • titzer's avatar
      [wasm] OOB test should pass on all architectures. · 0927a150
      titzer authored
      R=mstarzinger@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1567853002
      
      Cr-Commit-Position: refs/heads/master@{#33157}
      0927a150