diff options
author | hartmanng@chromium.org <hartmanng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-24 03:31:12 +0000 |
---|---|---|
committer | hartmanng@chromium.org <hartmanng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-24 03:31:12 +0000 |
commit | 40ad6a6baf2a9d251d49bf71c87ec05e50470cb9 (patch) | |
tree | 6181922139013d8c6b7fd3903aee94da0ba59ab0 /tools | |
parent | cb4b9d8ee3c40be12c67e1d4ff7660c3944fda0e (diff) | |
download | chromium_src-40ad6a6baf2a9d251d49bf71c87ec05e50470cb9.zip chromium_src-40ad6a6baf2a9d251d49bf71c87ec05e50470cb9.tar.gz chromium_src-40ad6a6baf2a9d251d49bf71c87ec05e50470cb9.tar.bz2 |
[telemetry] re-fixing perf_tools.smoothness_benchmark_unittest.SmoothnessBenchmarkUnitTest.testBoundingClientRect
BUG=
Review URL: https://chromiumcodereview.appspot.com/11308171
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169379 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/perf_tools/smoothness_benchmark_unittest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/perf_tools/smoothness_benchmark_unittest.py b/tools/perf/perf_tools/smoothness_benchmark_unittest.py index 534e410..64e64e2 100644 --- a/tools/perf/perf_tools/smoothness_benchmark_unittest.py +++ b/tools/perf/perf_tools/smoothness_benchmark_unittest.py @@ -102,7 +102,8 @@ class SmoothnessBenchmarkUnitTest( # result in a scroll location outside of the viewport bounds. tab.runtime.Execute("""document.body.style.height = (2 * window.innerHeight + 1) + 'px';""") - scroll_js_path = os.path.join(os.path.dirname(__file__), 'scroll.js') + scroll_js_path = os.path.join(os.path.dirname(__file__), '..', '..', + 'telemetry', 'telemetry', 'scroll.js') scroll_js = open(scroll_js_path, 'r').read() tab.runtime.Evaluate(scroll_js) |