1. 02 Mar, 2018 1 commit
  2. 01 Mar, 2018 33 commits
  3. 28 Feb, 2018 6 commits
    • Erik Luo's avatar
      [inspector] expose throwOnSideEffect for Runtime.evaluate · 0d2c85b7
      Erik Luo authored
      Bug: chromium:810176
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I16e4148434f5cbf44058e1aa5f01693bcba82d0a
      Reviewed-on: https://chromium-review.googlesource.com/932943
      Commit-Queue: Erik Luo <luoe@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarDmitry Gozman <dgozman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51640}
      0d2c85b7
    • Georg Neis's avatar
      [bigint] Fix bug in exponentiation. · df35adc7
      Georg Neis authored
      R=jkummerow@chromium.org
      
      Bug: v8:7505, v8:6791
      Change-Id: I11b0031dfafa499a813e3e52080ee5542224799a
      Reviewed-on: https://chromium-review.googlesource.com/941130Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Commit-Queue: Georg Neis <neis@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51639}
      df35adc7
    • Georg Neis's avatar
      [modules] Fix handling of uninitialized exports in namespace objects. · 148cb4d1
      Georg Neis authored
      For namespace objects, [[GetOwnProperty]] on an uninitialized property
      throws a ReferenceError. This was not implemented everywhere. This CL
      fixes all such issues I'm aware of.
      
      Bug: v8:7470
      Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
      Change-Id: I5f024450005c4f4dcb3f41c844ef055f67a9a869
      Reviewed-on: https://chromium-review.googlesource.com/937341Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Commit-Queue: Georg Neis <neis@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51638}
      148cb4d1
    • Jakob Kummerow's avatar
      Fix buffer-detached check in TypedArray.of/from · c94df3ce
      Jakob Kummerow authored
      The assert-guarded comment claiming that ToNumber could not
      possibly neuter the target array unfortunately turns out to
      have been wishful thinking.
      
      Bug: chromium:816961
      Change-Id: Ib98f96f4cd7f33414c0b5a6037bfb881938cc15e
      Reviewed-on: https://chromium-review.googlesource.com/939767
      Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
      Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51637}
      c94df3ce
    • Nico Weber's avatar
      Make v8 build with -Wmicrosoft-cast under clang-cl. · 58b386c4
      Nico Weber authored
      gcc and clang (and the standard) don't allow implicit conversion of
      function pointers to object pointers. MSVC does allow that, and since
      system headers require this to work, clang-cl allows it too -- but
      it emits a -Wmicrosoft-cast warning (which we currently suppress in
      the Chromium build, but which we want to enable.)
      
      As a side effect, when printing a function pointer to a stream, MSVC
      (and clang-cl) will pick the operator<<(void*) overload, while gcc
      and clang will pick operator<<(bool) since the best allowed conversion
      they find is from function pointer to bool.
      
      To prevent the clang-cl warning, we need to make sure that we never
      directly print a function pointer to a stream. In v8, this requires
      two changes:
      
      1. Give PrintCheckOperand() an explicit specialization for function
         pointers and explicitly cast to void* there.  This ports
         https://codereview.chromium.org/2515283002/ to V8, and also fixes a
         bug on non-Windows where DCHECK() of function pointers would print
         "(1 vs 1)" instead of the function's addresses.
         (The bug remains with member function pointers,
         where it's not clear what to print instead of the 1.)
      
      2. has_output_operator<T> must not use operator<< on its argument
         in an evaluated context if T is a function pointer.  This patch
         modifies has_output_operator<> to use an unevaluated context instead,
         which is simpler than the current approach (and matches what Chromium's
         base does), but changes behavior    in minor (boring) ways
         (see template-utils-unittest.cc), since operator<<() is now
         called with a temporary and only operator<<() implementations callable
         with a temporary are considered.
         A more complicated but behavior-preserving alternative would be to
         add an explicit specialization for function pointers. You can see
         this variant in patch set 1 on gerrit.
      
      Bug: chromium:550065
      Change-Id: Idc2854d6c258b7fc0b959604006d8952a79eca3d
      Reviewed-on: https://chromium-review.googlesource.com/940004
      Commit-Queue: Nico Weber <thakis@chromium.org>
      Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51636}
      58b386c4
    • Andreas Haas's avatar
      [cleanup] Deprecate EnsureEventLoopInitialized · 9bacf523
      Andreas Haas authored
      Due to a recent refactoring the function EnsureEventLoopInitialized on
      the default platform became obsolete. It does not contain a single line
      of code. With this CL we prepare the removal of this function from the
      V8 platform API.
      
      R=rmcilroy@chromium.org
      
      Bug: v8:7310
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: If4d54cd989f8df2f40b322be3b67bb8a482398d0
      Reviewed-on: https://chromium-review.googlesource.com/934221
      Commit-Queue: Andreas Haas <ahaas@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51635}
      9bacf523