1. 18 Feb, 2019 8 commits
  2. 16 Feb, 2019 2 commits
  3. 15 Feb, 2019 27 commits
  4. 14 Feb, 2019 3 commits
    • Andrey Kosyakov's avatar
      DevTools protocol roll · 6703647b
      Andrey Kosyakov authored
      ... to revision c40253f87c475880d1bdad4a90cf21c38dadf4ac
      
      Also, preseve binary protocol when restoring session.
      
      Bug: chromium:929862
      Change-Id: Icb1cb04b42ca7238b46e2978337b36e32398665f
      Reviewed-on: https://chromium-review.googlesource.com/c/1474556
      Commit-Queue: Andrey Kosyakov <caseq@chromium.org>
      Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
      Reviewed-by: 's avatarPavel Feldman <pfeldman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#59614}
      6703647b
    • Hannu Trey's avatar
      Re-detect the host time zone if requested by an embedder · f781f522
      Hannu Trey authored
      Add an enum argument to DateTimeConfigurationChangeNotification to
      control whether or not to redetect the host time zone. The default value
      kSkip doesn't cause redetecting so that callers do not need to change if
      they want the current behavior (e.g. Chromium).
      
      Note that the host time zone detection does not work when v8 is run
      inside a sandbox as in Chromium so that Chromium detects the host time
      zone outside the sandbox before calling
      DateTimeConfigurationChangeNotification. OTOH, other v8 embedders may
      find it more convenient for v8 to do the host time zone detection on
      their behalf. In that case, they can call the function with the new
      argument set to value kRedetect.
      
      Test:
      With PHP+V8Js on linux, execute:
      php -r '
        putenv("TZ=Europe/Helsinki");
        $v8 = new V8Js();
        $v8->executeString("print((new Date(0)).toString()+\"\\n\");");
        putenv("TZ=America/New_York");
        $v8->executeString("print((new Date(0)).toString()+\"\\n\");");'
      
      Result before modification:
      Thu Jan 01 1970 02:00:00 GMT+0200 (Eastern European Standard Time)
      Thu Jan 01 1970 02:00:00 GMT+0200 (Eastern European Standard Time)
      
      Result after modification:
      Thu Jan 01 1970 02:00:00 GMT+0200 (Eastern European Standard Time)
      Thu Jan 01 1970 02:00:00 GMT+0200 (Eastern European Standard Time)
      
      Result after V8JS is modified to use value kRedetect when calling
      
      Thu Jan 01 1970 02:00:00 GMT+0200 (Eastern European Standard Time)
      Wed Dec 31 1969 19:00:00 GMT-0500 (Eastern Standard Time)
      
      DateTimeConfigurationChangeNotification: 
      Change-Id: I005192dd42669a94f606a49baa9eafad3475b9fd
      Reviewed-on: https://chromium-review.googlesource.com/c/1449637Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Reviewed-by: 's avatarJungshik Shin <jshin@chromium.org>
      Commit-Queue: Jungshik Shin <jshin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#59613}
      f781f522
    • Frank Tang's avatar
      [Intl] Performance benchmark for String.normalize · e15586e7
      Frank Tang authored
      $ python -u tools/run_perf.py --binary-override-path   out/x64.release/d8 --filter "JSTests/Strings/StringNormalize"  test/js-perf-test/JSTests.json
      INFO      >>> Running suite: JSTests/Strings/StringNormalize
      INFO      >>> Stdout (#1):
      StringNormalize-Strings(Score): 4014
      StringNormalizeNFD-Strings(Score): 742
      StringNormalizeNFKC-Strings(Score): 3066
      StringNormalizeNFKD-Strings(Score): 739
      
      Bug: v8:8844
      Change-Id: Ic941bafa82cead9cd0110ad7ac46e528d481189b
      Reviewed-on: https://chromium-review.googlesource.com/c/1470964
      Commit-Queue: Frank Tang <ftang@chromium.org>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#59612}
      e15586e7