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

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: Putting default navigate_steps inside page_set rather than page 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/perf/page_sets/key_desktop_sites.json ('k') | tools/perf/page_sets/mobile_memory.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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", "javascript": "window.Chorus !== undefined && window .Chorus.Comments !== undefined && window.Chorus.Comments.Json !== undefined && ( window.Chorus.Comments.loaded || window.Chorus.Comments.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", "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", "javascript": "document.getElementById('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", "javascript": "document.getElementById('paginatortar get') !== 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", "javascript": "document.getElementById('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": "http://mlb.mlb.com/index.jsp", 172 "url": "http://mlb.mlb.com/index.jsp",
152 "why": "#6 Alexa sports" 173 "why": "#6 Alexa sports"
153 }, 174 },
154 { 175 {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 "url": "http://www.reddit.com/r/programming/comments/1g96ve", 208 "url": "http://www.reddit.com/r/programming/comments/1g96ve",
188 "why": "#5 Alexa news" 209 "why": "#5 Alexa news"
189 }, 210 },
190 { 211 {
191 "url": "http://www.boingboing.net", 212 "url": "http://www.boingboing.net",
192 "why": "Problematic use of fixed position elements" 213 "why": "Problematic use of fixed position elements"
193 }, 214 },
194 { 215 {
195 "url": "http://groupcloned.com", 216 "url": "http://groupcloned.com",
196 "why": "crbug.com/172906", 217 "why": "crbug.com/172906",
197 "wait_for_javascript_expression": "document.getElementById('element-19') ! == null && document.getElementById('element-19').contentDocument.getElementById( 'element-22') !== null && document.getElementById('element-19').contentDocument. getElementsByClassName('container list-item gc-list-item stretched').length !== 0", 218 "navigate_steps": [
198 "wait_seconds": 5, 219 { "action": "navigate" },
220 { "action": "wait", "seconds": 5 },
221 { "action": "wait", "javascript": "document.getElementById('element-19') !== null && document.getElementById('element-19').contentDocument.getElementByI d('element-22') !== null && document.getElementById('element-19').contentDocumen t.getElementsByClassName('container list-item gc-list-item stretched').length != = 0" }
222 ],
199 "smoothness": { 223 "smoothness": {
200 "action": "scroll", 224 "action": "scroll",
201 "scroll_requires_touch": true, 225 "scroll_requires_touch": true,
202 "remaining_scroll_distance_function": "function() { return Math.max(0, 1 250 + document.getElementById('element-19').contentDocument.getElementById('elem ent-22').getBoundingClientRect().top); }" 226 "remaining_scroll_distance_function": "function() { return Math.max(0, 1 250 + document.getElementById('element-19').contentDocument.getElementById('elem ent-22').getBoundingClientRect().top); }"
203 } 227 }
204 }, 228 },
205 { 229 {
206 "disabled": "Doesn't scroll; crbug.com/249736", 230 "disabled": "Doesn't scroll; crbug.com/249736",
207 "url": "http://forecast.io", 231 "url": "http://forecast.io",
208 "why": "crbug.com/231413" 232 "why": "crbug.com/231413"
209 } 233 }
210 ] 234 ]
211 } 235 }
OLDNEW
« no previous file with comments | « tools/perf/page_sets/key_desktop_sites.json ('k') | tools/perf/page_sets/mobile_memory.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698