Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: tools/perf/page_sets/key_mobile_sites.json

Issue 23957002: Telemetry: Fix facebook.com on key_mobile_sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
]
},
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698