1. 24 Jun, 2020 1 commit
  2. 22 Jun, 2020 1 commit
  3. 13 Mar, 2018 1 commit
  4. 16 Feb, 2017 1 commit
  5. 14 Feb, 2017 1 commit
  6. 22 Aug, 2016 1 commit
  7. 11 Mar, 2016 1 commit
  8. 04 Jan, 2016 1 commit
    • caitpotter88's avatar
      [promise] make Promise.resolve match spec · 4f947115
      caitpotter88 authored
      Fixes a number of test262 tests, including
      
      - built-ins/Promise/resolve/resolve-from-promise-capability.js
      - built-ins/Promise/resolve/context-non-object-with-promise.js
      - built-ins/Promise/executor-function-length.js
      
      BUG=v8:4633
      LOG=N
      R=littledan@chromium.org, cbruni@chromium.org
      
      Review URL: https://codereview.chromium.org/1536013002
      
      Cr-Commit-Position: refs/heads/master@{#33094}
      4f947115
  9. 30 Dec, 2015 1 commit
  10. 10 Dec, 2015 1 commit
    • littledan's avatar
      Unstage non-standard Promise functions · 88c8361b
      littledan authored
      This patch removes Promise functions and methods which are absent
      from the ES2015 specification when the --es-staging flag is on.
      The patch is being relanded after being reverted due to an
      unrelated bug. This version is slightly different as promise_chain
      is installed on the context regardless of the flag value, so that
      the Promise::Chain API continues to work until it is deprecated.
      
      BUG=v8:3237
      R=rossberg
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1513873002
      
      Cr-Commit-Position: refs/heads/master@{#32772}
      88c8361b
  11. 05 Dec, 2015 1 commit
  12. 04 Dec, 2015 1 commit
    • littledan's avatar
      Clean up promises and fix an edge case bug · 1deb89c8
      littledan authored
      This patch builds on previous Promise spec compliance work by
      cleaning out some old code which existed to support
      Promise.prototype.chain, rephrasing some code to correspond more
      closely to the specification, and removing some incorrect brand
      checking. A test is added for a bug in an edge case which was fixed.
      
      R=rossberg
      BUG=v8:3641
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1488783002
      
      Cr-Commit-Position: refs/heads/master@{#32627}
      1deb89c8
  13. 02 Dec, 2015 1 commit
  14. 24 Nov, 2015 3 commits
  15. 17 Nov, 2015 1 commit
    • caitpotter88's avatar
      [es6] refactor Promise resolution · 24ff30b7
      caitpotter88 authored
      Several changes are included here:
      
      1. Each resolution callback references shared data indicating whether
      it has already been resolved or not, as described in 25.4.1.3
      http://tc39.github.io/ecma262/#sec-createresolvingfunctions.
      Previously this was handled exclusively by the Promise's status,
      which does not work correctly with the current chaining behaviour.
      
      2. During fulfillment, When a Promise is resolved with a thenable, the
      spec chains the promises together by invoking the thenable's `then`
      function with the original Promise's resolve and reject methods (per
      section 25.4.2.2, or
      http://tc39.github.io/ecma262/#sec-promiseresolvethenablejob, on the
      next tick, regardless of whether or not there are pending tasks.
      
      3. Adds a spec compliance fix to ensure that the Promise constructor
      is only loaded once when `then()` is called, solving v8:4539 as well.
      This involves refactoring PromiseChain to accept a constructor
      argument. PromiseChain/PromiseDeferred will hopefully be removed soon,
      simplifying the process.
      
      BUG=v8:4162, v8:4539, v8:3237
      LOG=N
      R=rossberg@chromium.org, littledan@chromium.org, adamk@chromium.org
      
      Review URL: https://codereview.chromium.org/1394463003
      
      Cr-Commit-Position: refs/heads/master@{#32046}
      24ff30b7
  16. 05 Oct, 2015 1 commit
  17. 24 Sep, 2015 1 commit
  18. 21 Jul, 2015 1 commit
  19. 11 Jun, 2015 4 commits
  20. 23 Feb, 2015 1 commit
  21. 21 Oct, 2014 1 commit
  22. 07 Jul, 2014 1 commit
  23. 06 May, 2014 1 commit
  24. 28 Apr, 2014 2 commits
  25. 31 Mar, 2014 1 commit
  26. 27 Mar, 2014 2 commits
  27. 25 Mar, 2014 1 commit
  28. 24 Mar, 2014 1 commit
  29. 18 Mar, 2014 3 commits
  30. 10 Mar, 2014 1 commit
  31. 09 Jan, 2014 1 commit