1. 13 Dec, 2021 1 commit
  2. 01 Jun, 2021 1 commit
  3. 04 Dec, 2020 1 commit
  4. 10 Aug, 2020 1 commit
    • Sathya Gunasekaran's avatar
      [ast] Store correct source position on ThisExpression · 8a9e3f64
      Sathya Gunasekaran authored
      Previously, all ThisExpression's had kNoSourcePositions leading to
      incorrect error messages like this:
      
        ➜ d8 -e "function t() { for (const x of this) {} } t();"
        unnamed:1: TypeError: undefined is not a function
        function t() { for (const x of this) {} } t();
                  ^
        TypeError: undefined is not a function
            at t (unnamed:1:11)
            at unnamed:1:43
      
      
      This patch allows creation of a ThisExpression with a source position,
      leading to a better error message:
      
        ➜ d8  -e "function t() { for (const x of this) {} } t();"
        unnamed:1: TypeError: this is not iterable
        function t() { for (const x of this) {} } t();
                                       ^
        TypeError: this is not iterable
            at t (unnamed:1:32)
            at unnamed:1:43
      
      
      This patch does not remove the existing cached version of
      ThisExpression and instead creates a new one when required.
      
      Bug: v8:6513
      Change-Id: Idee4fe8946a9b821d06ff4a5e7eaefe54874ec59
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2345226Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Commit-Queue: Sathya Gunasekaran  <gsathya@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#69300}
      8a9e3f64
  5. 31 Jul, 2020 1 commit
    • Michael Achenbach's avatar
      Open source js-fuzzer · 320d9870
      Michael Achenbach authored
      This is a JavaScript fuzzer originally authored by Oliver Chang. It
      is a mutation based fuzzer using Babel code transformations. For more
      information see the included README.md.
      
      The original code was altered:
      - Add new V8 copyright headers.
      - Make the test expectation generator aware of the headers.
      - Fix file endings for presubmit checks.
      - Fix `npm test` on fresh checkout with a new fake DB.
      - Make test skipping work with new v8/tools location.
      - OWNERS file.
      - New title section in README.md.
      
      No-Try: true
      Bug: chromium:1109770
      Change-Id: Ie71752c0a37491a50500c49060a3c526716ef933
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2320330
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#69164}
      320d9870
  6. 15 Jun, 2020 1 commit
    • Jakob Gruber's avatar
      [scanner] Update outdated DCHECK · 9aa3c608
      Jakob Gruber authored
      We recently changed uc32 to be an unsigned type, and with the invalid
      marker being static_cast<uc32>(-1) this DCHECK no longer holds. After
      this CL it expicitly checks for the invalid marker.
      
      Bug: v8:10568,chromium:1094226
      Change-Id: Idd9efe055b38387e3e37b132cb786cca130767b3
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2245592
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Auto-Submit: Jakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#68333}
      9aa3c608
  7. 05 May, 2020 1 commit
  8. 16 Jan, 2020 1 commit
  9. 14 Jan, 2020 1 commit
  10. 07 Jan, 2020 1 commit