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

Side by Side Diff: tools/perf/page_sets/key_mobile_sites.json

Issue 22883011: Removing Page.WaitToLoad and update all pagesets to use explicit wait actions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "description": "Key mobile sites", 2 "description": "Key mobile sites",
3 "archive_data_file": "../data/key_mobile_sites.json", 3 "archive_data_file": "../data/key_mobile_sites.json",
4 "credentials_path": "../data/credentials.json", 4 "credentials_path": "../data/credentials.json",
5 "user_agent_type": "mobile", 5 "user_agent_type": "mobile",
6 "smoothness": { "action": "scroll" }, 6 "smoothness": { "action": "scroll" },
7 "pages": [ 7 "pages": [
8 { 8 {
9 "url": "http://www.androidpolice.com/2012/10/03/rumor-evidence-mounts-that -an-lg-optimus-g-nexus-is-coming-along-with-a-nexus-phone-certification-program/ ", 9 "url": "http://www.androidpolice.com/2012/10/03/rumor-evidence-mounts-that -an-lg-optimus-g-nexus-is-coming-along-with-a-nexus-phone-certification-program/ ",
10 "why": "crbug.com/242544" 10 "why": "crbug.com/242544"
11 }, 11 },
12 { 12 {
13 "url": "http://nytimes.com/", 13 "url": "http://nytimes.com/",
14 "why": "Top news site" 14 "why": "Top news site"
15 }, 15 },
16 { 16 {
17 "url": "http://iphone.capitolvolkswagen.com/index.htm#new-inventory_p_2Fsb -new_p_2Ehtm_p_3Freset_p_3DInventoryListing", 17 "url": "http://iphone.capitolvolkswagen.com/index.htm#new-inventory_p_2Fsb -new_p_2Ehtm_p_3Freset_p_3DInventoryListing",
18 "why": "Typical mobile business site", 18 "why": "Typical mobile business site",
19 "wait_for_element_with_text": "Next 35" 19 "navigate_steps": [
20 { "action": "navigate"},
21 { "action": "wait", "condition": "element", "text": "Next 35"}
22 ]
20 }, 23 },
21 { 24 {
22 "url": "http://gsp.ro", 25 "url": "http://gsp.ro",
23 "why": "crbug.com/149958" 26 "why": "crbug.com/149958"
24 }, 27 },
25 { 28 {
26 "url": "http://cuteoverload.com", 29 "url": "http://cuteoverload.com",
27 "why": "Image-heavy site" 30 "why": "Image-heavy site"
28 }, 31 },
29 { 32 {
30 "url": "http://theverge.com", 33 "url": "http://theverge.com",
31 "why": "Top tech blog" 34 "why": "Top tech blog"
32 }, 35 },
33 { 36 {
34 "url": "http://www.theverge.com/2012/10/28/3568746/amazon-7-inch-fire-hd-i pad-mini-ad-ballsy", 37 "url": "http://www.theverge.com/2012/10/28/3568746/amazon-7-inch-fire-hd-i pad-mini-ad-ballsy",
35 "why": "Top tech blog", 38 "why": "Top tech blog",
36 "wait_for_javascript_expression": "window.Chorus !== undefined && window.C horus.Comments !== undefined && window.Chorus.Comments.Json !== undefined && (wi ndow.Chorus.Comments.loaded || window.Chorus.Comments.Json.load_comments())" 39 "navigate_steps": [
40 { "action": "navigate"},
41 { "action": "wait", "condition": "javascript", "javascript": "window.Cho rus !== undefined && window.Chorus.Comments !== undefined && window.Chorus.Comme nts.Json !== undefined && (window.Chorus.Comments.loaded || window.Chorus.Commen ts.Json.load_comments())"}
42 ]
37 }, 43 },
38 { 44 {
39 "url": "http://www.cnn.com/2012/10/03/politics/michelle-obama-debate/index .html", 45 "url": "http://www.cnn.com/2012/10/03/politics/michelle-obama-debate/index .html",
40 "why": "Top news site", 46 "why": "Top news site",
41 "wait_seconds": 8 47 "navigate_steps": [
48 { "action": "navigate"},
49 { "action": "wait", "condition": "duration", "seconds": 8}
50 ]
42 }, 51 },
43 { 52 {
44 "url": "http://digg.com", 53 "url": "http://digg.com",
45 "why": "Top tech site" 54 "why": "Top tech site"
46 }, 55 },
47 { 56 {
48 "url": "https://www.google.com/#hl=en&q=barack+obama", 57 "url": "https://www.google.com/#hl=en&q=barack+obama",
49 "why": "Top Google property; a Google tab is often open" 58 "why": "Top Google property; a Google tab is often open"
50 }, 59 },
51 { 60 {
52 "url": "https://plus.google.com/app/basic/110031535020051778989/posts?sour ce=apppromo", 61 "url": "https://plus.google.com/app/basic/110031535020051778989/posts?sour ce=apppromo",
53 "why": "Social; top Google property; Public profile; infinite scrolls", 62 "why": "Social; top Google property; Public profile; infinite scrolls",
54 "smoothness": { 63 "smoothness": {
55 "action": "scroll", 64 "action": "scroll",
56 "scroll_is_infinite": true 65 "scroll_is_infinite": true
57 } 66 }
58 }, 67 },
59 { 68 {
60 "url": "https://facebook.com/barackobama", 69 "url": "https://facebook.com/barackobama",
61 "why": "#1 (Alexa global)", 70 "why": "#1 (Alexa global)",
62 "wait_for_javascript_expression": "document.getElementById('timelineBody') !== null" 71 "navigate_steps": [
72 { "action": "navigate"},
73 { "action": "wait", "condition": "javascript", "javascript": "document.g etElementById('timelineBody') !== null"}
74 ]
63 }, 75 },
64 { 76 {
65 "url": "http://m.youtube.com/watch?v=9hBpF_Zj4OA", 77 "url": "http://m.youtube.com/watch?v=9hBpF_Zj4OA",
66 "why": "#3 (Alexa global)", 78 "why": "#3 (Alexa global)",
67 "wait_for_javascript_expression": "document.getElementById('paginatortarge t') !== null" 79 "navigate_steps": [
80 { "action": "navigate"},
81 { "action": "wait", "condition": "javascript", "javascript": "document.g etElementById('paginatortarget') !== null"}
82 ]
68 }, 83 },
69 { 84 {
70 "name": "Blogger", 85 "name": "Blogger",
71 "url": "http://googlewebmastercentral.blogspot.com/", 86 "url": "http://googlewebmastercentral.blogspot.com/",
72 "why": "#11 (Alexa global), google property; some blogger layouts have inf inite scroll but more interesting" 87 "why": "#11 (Alexa global), google property; some blogger layouts have inf inite scroll but more interesting"
73 }, 88 },
74 { 89 {
75 "name": "Wordpress", 90 "name": "Wordpress",
76 "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-pi cks-for-august-2012/", 91 "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-pi cks-for-august-2012/",
77 "why": "#18 (Alexa global), Picked an interesting post" 92 "why": "#18 (Alexa global), Picked an interesting post"
78 }, 93 },
79 { 94 {
80 "name": "LinkedIn", 95 "name": "LinkedIn",
81 "url": "https://www.linkedin.com/in/linustorvalds", 96 "url": "https://www.linkedin.com/in/linustorvalds",
82 "why": "#12 (Alexa global),Public profile", 97 "why": "#12 (Alexa global),Public profile",
83 "post_navigate_javascript_to_execute": "getAppJs.noApp();", 98 "navigate_steps": [
84 "wait_for_javascript_expression": "document.getElementById('profile-view-s croller') !== null" 99 { "action": "navigate"},
100 { "action": "javascript", "expression": "getAppJs.noApp();"},
101 { "action": "wait", "condition": "javascript", "javascript": "document.g etElementById('profile-view-scroller') !== null"}
102 ]
85 }, 103 },
86 { 104 {
87 "name": "Wikipedia (1 tab)", 105 "name": "Wikipedia (1 tab)",
88 "url": "http://en.wikipedia.org/wiki/Wikipedia", 106 "url": "http://en.wikipedia.org/wiki/Wikipedia",
89 "why": "#6 (Alexa) most visited worldwide, picked an interesting page" 107 "why": "#6 (Alexa) most visited worldwide, picked an interesting page"
90 }, 108 },
91 { 109 {
92 "disabled": "Forbidden (Rate Limit Exceeded)", 110 "disabled": "Forbidden (Rate Limit Exceeded)",
93 "name": "Twitter", 111 "name": "Twitter",
94 "url": "http://twitter.com/katyperry", 112 "url": "http://twitter.com/katyperry",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 "why": "#1 Alexa sports" 152 "why": "#1 Alexa sports"
135 }, 153 },
136 { 154 {
137 "url": "http://techcrunch.com", 155 "url": "http://techcrunch.com",
138 "why": "Top tech blog" 156 "why": "Top tech blog"
139 }, 157 },
140 { 158 {
141 "url": "https://mail.google.com/mail/", 159 "url": "https://mail.google.com/mail/",
142 "why": "productivity, top google properties", 160 "why": "productivity, top google properties",
143 "credentials": "google", 161 "credentials": "google",
144 "wait_for_element_with_text": "Inbox", 162 "navigate_steps": [
163 { "action": "navigate"},
164 { "action": "wait", "condition": "element", "text": "Inbox"}
165 ],
145 "smoothness": { 166 "smoothness": {
146 "action": "scroll", 167 "action": "scroll",
147 "scrollable_element_function": "function(callback) { callback(document.g etElementById('views').childNodes[1].firstChild); }" 168 "scrollable_element_function": "function(callback) { callback(document.g etElementById('views').childNodes[1].firstChild); }"
148 } 169 }
149 }, 170 },
150 { 171 {
151 "url": "https://www.google.com/calendar/", 172 "url": "https://www.google.com/calendar/",
152 "why": "productivity, top google properties", 173 "why": "productivity, top google properties",
153 "credentials": "google", 174 "credentials": "google",
154 "smoothness": { 175 "smoothness": {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 "url": "http://www.reddit.com/r/programming/comments/1g96ve", 217 "url": "http://www.reddit.com/r/programming/comments/1g96ve",
197 "why": "#5 Alexa news" 218 "why": "#5 Alexa news"
198 }, 219 },
199 { 220 {
200 "url": "http://www.boingboing.net", 221 "url": "http://www.boingboing.net",
201 "why": "Problematic use of fixed position elements" 222 "why": "Problematic use of fixed position elements"
202 }, 223 },
203 { 224 {
204 "url": "http://groupcloned.com", 225 "url": "http://groupcloned.com",
205 "why": "crbug.com/172906", 226 "why": "crbug.com/172906",
206 "wait_for_javascript_expression": "document.getElementById('element-19') ! == null && document.getElementById('element-19').contentDocument.getElementById( 'element-22') !== null", 227 "navigate_steps": [
207 "wait_seconds": 5, 228 { "action": "navigate"},
229 { "action": "wait", "condition": "duration", "seconds": 5},
230 { "action": "wait", "condition": "javascript", "javascript": "document.g etElementById('element-19') !== null && document.getElementById('element-19').co ntentDocument.getElementById('element-22') !== null"}
231 ],
208 "smoothness": { 232 "smoothness": {
209 "action": "scroll", 233 "action": "scroll",
210 "scroll_requires_touch": true, 234 "scroll_requires_touch": true,
211 "remaining_scroll_distance_function": "function() { return Math.max(0, 1 250 + document.getElementById('element-19').contentDocument.getElementById('elem ent-22').getBoundingClientRect().top); }" 235 "remaining_scroll_distance_function": "function() { return Math.max(0, 1 250 + document.getElementById('element-19').contentDocument.getElementById('elem ent-22').getBoundingClientRect().top); }"
212 } 236 }
213 }, 237 },
214 { 238 {
215 "url": "http://mobile-news.sandbox.google.com/news/p#2", 239 "url": "http://mobile-news.sandbox.google.com/news/p#2",
216 "why": "crbug.com/223726", 240 "why": "crbug.com/223726",
217 "wait_for_javascript_expression": "document.getElementById(':h') !== null" , 241 "navigate_steps": [
218 "wait_seconds": 5, 242 { "action": "navigate"},
243 { "action": "wait", "condition": "duration", "seconds": 5},
244 { "action": "wait", "condition": "javascript", "javascript": "document.g etElementById(':h') !== null"}
245 ],
219 "smoothness": { 246 "smoothness": {
220 "action": "scroll", 247 "action": "scroll",
221 "scroll_requires_touch": true, 248 "scroll_requires_touch": true,
222 "scrollable_element_function": "function(callback) { callback(document.g etElementById(':5')); }", 249 "scrollable_element_function": "function(callback) { callback(document.g etElementById(':5')); }",
223 "remaining_scroll_distance_function": "function() { return Math.max(0, 1 500 + document.getElementById(':h').getBoundingClientRect().top); }" 250 "remaining_scroll_distance_function": "function() { return Math.max(0, 1 500 + document.getElementById(':h').getBoundingClientRect().top); }"
224 } 251 }
225 }, 252 },
226 { 253 {
227 "disabled": "Doesn't scroll; crbug.com/249736", 254 "disabled": "Doesn't scroll; crbug.com/249736",
228 "url": "http://forecast.io", 255 "url": "http://forecast.io",
229 "why": "crbug.com/231413" 256 "why": "crbug.com/231413"
230 } 257 }
231 ] 258 ]
232 } 259 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698