1. 21 Mar, 2019 1 commit
  2. 24 Aug, 2017 1 commit
  3. 22 Aug, 2017 3 commits
    • Leszek Swirski's avatar
      [d8] Allow reading files from a TCP socket · 4c54a218
      Leszek Swirski authored
      Reland of https://chromium-review.googlesource.com/c/v8/v8/+/623790
      
      Add a --read-from-tcp flag to d8, which makes file reads (including
      reading files from arguments, and the load and read builtins) read the
      file contents off a TCP socket using a simple request/response protocol.
      
      On top of this, add a script for transparently running d8 on an android
      device using adb. The script loads d8 onto the device, starts a file
      server providing the above protocol, and uses the above flag to run a d8
      which loads javascript sources off the computer rather than off the
      device.
      
      Change-Id: I82a25be900c7608ed4c3a35828757a870ca2e115
      Reviewed-on: https://chromium-review.googlesource.com/626396Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47513}
      4c54a218
    • Leszek Swirski's avatar
      Revert "[d8] Allow reading files from a TCP socket" · de87b879
      Leszek Swirski authored
      This reverts commit 29ad1235.
      
      Reason for revert: https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20shared/builds/19576
      
      Original change's description:
      > [d8] Allow reading files from a TCP socket
      > 
      > Add a --read-from-tcp flag to d8, which makes file reads (including
      > reading files from arguments, and the load and read builtins) read the
      > file contents off a TCP socket using a simple request/response protocol.
      > 
      > On top of this, add a script for transparently running d8 on an android
      > device using adb. The script loads d8 onto the device, starts a file
      > server providing the above protocol, and uses the above flag to run a d8
      > which loads javascript sources off the computer rather than off the
      > device.
      > 
      > Change-Id: Icaa0577beb9bcd4f93476faa3ad8fb8b0a165e6e
      > Reviewed-on: https://chromium-review.googlesource.com/623790
      > Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      > Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#47511}
      
      TBR=rmcilroy@chromium.org,leszeks@chromium.org
      
      Change-Id: I2de4a12aa8cb0d228df3e5793d997b9145f4da42
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/626017Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47512}
      de87b879
    • Leszek Swirski's avatar
      [d8] Allow reading files from a TCP socket · 29ad1235
      Leszek Swirski authored
      Add a --read-from-tcp flag to d8, which makes file reads (including
      reading files from arguments, and the load and read builtins) read the
      file contents off a TCP socket using a simple request/response protocol.
      
      On top of this, add a script for transparently running d8 on an android
      device using adb. The script loads d8 onto the device, starts a file
      server providing the above protocol, and uses the above flag to run a d8
      which loads javascript sources off the computer rather than off the
      device.
      
      Change-Id: Icaa0577beb9bcd4f93476faa3ad8fb8b0a165e6e
      Reviewed-on: https://chromium-review.googlesource.com/623790
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47511}
      29ad1235