Chromium Code Reviews| Index: tools/perf/page_sets/key_mobile_sites.json |
| diff --git a/tools/perf/page_sets/key_mobile_sites.json b/tools/perf/page_sets/key_mobile_sites.json |
| index dec87c8d345a32bf8d940b165725c0fc7c72a28d..7ef5af4289924144ca4b4bccd5901690ae2bda61 100644 |
| --- a/tools/perf/page_sets/key_mobile_sites.json |
| +++ b/tools/perf/page_sets/key_mobile_sites.json |
| @@ -70,7 +70,7 @@ |
| "why": "#1 (Alexa global)", |
| "navigate_steps": [ |
| { "action": "navigate" }, |
| - { "action": "wait", "javascript": "document.getElementById('u_0_c') !== null" } |
| + { "action": "wait", "javascript": "document.getElementById('u_0_c') !== null && document.body.scrollHeight > window.innerHeight" } |
|
tonyg
2013/09/04 17:27:19
Does this work for all screen sizes? I'm worried t
Dominik Grewe
2013/09/04 20:05:52
It should work if there's anything to scroll :) An
tonyg
2013/09/04 20:29:43
You are right. The test will fail anyway if there
|
| ] |
| }, |
| { |