Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / tools / perf / page_sets / key_mobile_sites.json
1 {
2   "description": "Key mobile sites",
3   "archive_data_file": "data/key_mobile_sites.json",
4   "credentials_path": "data/credentials.json",
5   "user_agent_type": "mobile",
6   "smoothness": { "action": "scroll" },
7   "repaint": { "action": "repaint_continuously", "seconds": 5 },
8   "pages": [
9     {
10       "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/",
11       "why": "crbug.com/242544"
12     },
13     {
14       "url": "http://nytimes.com/",
15       "why": "Top news site",
16       "fastpath": true
17     },
18     {
19       "url": "http://iphone.capitolvolkswagen.com/index.htm#new-inventory_p_2Fsb-new_p_2Ehtm_p_3Freset_p_3DInventoryListing",
20       "why": "Typical mobile business site",
21       "navigate_steps": [
22         { "action": "navigate" },
23         { "action": "wait", "condition": "element", "text": "Next 35" },
24         { "action": "wait", "javascript": "document.body.scrollHeight > 2560"}
25       ]
26     },
27     {
28       "url": "http://gsp.ro",
29       "why": "crbug.com/149958"
30     },
31     {
32       "url": "http://cuteoverload.com",
33       "why": "Image-heavy site",
34       "fastpath": true
35     },
36     {
37       "url": "http://theverge.com",
38       "why": "Top tech blog"
39     },
40     {
41       "disabled": "Does not work with rasterize_and_record benchmark on N5; crbug.com/317141",
42       "url": "http://www.theverge.com/2012/10/28/3568746/amazon-7-inch-fire-hd-ipad-mini-ad-ballsy",
43       "why": "Top tech blog",
44       "navigate_steps": [
45         { "action": "navigate" },
46         { "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())" }
47       ]
48     },
49     {
50       "url": "http://www.cnn.com/2012/10/03/politics/michelle-obama-debate/index.html",
51       "why": "Top news site",
52       "navigate_steps": [
53         { "action": "navigate" },
54         { "action": "wait", "seconds": 8 }
55       ]
56     },
57     {
58       "url": "http://digg.com",
59       "why": "Top tech site"
60     },
61     {
62       "url": "https://www.google.com/#hl=en&q=barack+obama",
63       "why": "Top Google property; a Google tab is often open"
64     },
65     {
66       "url": "https://plus.google.com/app/basic/110031535020051778989/posts?source=apppromo",
67       "why": "Social; top Google property; Public profile; infinite scrolls",
68       "smoothness": {
69         "action": "scroll",
70         "scroll_is_infinite": true
71       }
72     },
73     {
74       "url": "https://facebook.com/barackobama",
75       "why": "#1 (Alexa global)",
76       "navigate_steps": [
77         { "action": "navigate" },
78         { "action": "wait", "javascript": "document.getElementById('u_0_c') !== null && document.body.scrollHeight > window.innerHeight" }
79       ]
80     },
81     {
82       "url": "http://m.youtube.com/watch?v=9hBpF_Zj4OA",
83       "why": "#3 (Alexa global)",
84       "navigate_steps": [
85         { "action": "navigate"},
86         { "action": "wait", "javascript": "document.getElementById('paginatortarget') !== null"}
87       ]
88     },
89     {
90       "name": "Blogger",
91       "url": "http://googlewebmastercentral.blogspot.com/",
92       "why": "#11 (Alexa global), google property; some blogger layouts have infinite scroll but more interesting"
93     },
94     {
95       "name": "Wordpress",
96       "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-picks-for-august-2012/",
97       "why": "#18 (Alexa global), Picked an interesting post"
98     },
99     {
100       "name": "LinkedIn",
101       "url": "https://www.linkedin.com/in/linustorvalds",
102       "why": "#12 (Alexa global),Public profile",
103       "navigate_steps": [
104         { "action": "navigate" },
105         { "action": "wait", "javascript": "document.getElementById('profile-view-scroller') !== null" }
106       ]
107     },
108     {
109       "name": "Wikipedia (1 tab)",
110       "url": "http://en.wikipedia.org/wiki/Wikipedia",
111       "why": "#6 (Alexa) most visited worldwide, picked an interesting page"
112     },
113     {
114       "disabled": "Forbidden (Rate Limit Exceeded)",
115       "name": "Twitter",
116       "url": "http://twitter.com/katyperry",
117       "why": "#8 (Alexa global), picked an interesting page"
118     },
119     {
120       "name": "Pinterest",
121       "url": "http://pinterest.com",
122       "why": "#37 (Alexa global)"
123     },
124     {
125       "disabled": "Fails often; crbug.com/249722",
126       "name": "ESPN",
127       "url": "http://espn.go.com",
128       "why": "#1 sports"
129     },
130     {
131       "url": "http://news.yahoo.com",
132       "why": "#1 news worldwide (Alexa global)"
133     },
134     {
135       "url": "http://www.cnn.com",
136       "why": "#2 news worldwide"
137     },
138     {
139       "url": "http://www.amazon.com/gp/aw/s/ref=is_box_?k=nicolas+cage",
140       "why": "#1 world commerce website by visits; #3 commerce in the US by time spent"
141     },
142     {
143       "url": "http://shop.mobileweb.ebay.com/searchresults?kw=viking+helmet",
144       "why": "#1 commerce website by time spent by users in US"
145     },
146     {
147       "url": "http://www.booking.com/searchresults.html?src=searchresults&latitude=65.0500&longitude=25.4667",
148       "why": "#1 Alexa recreation"
149     },
150     {
151       "url": "http://answers.yahoo.com/question/index?qid=20110117024343AAopj8f",
152       "why": "#1 Alexa reference",
153       "navigate_steps": [
154         { "action": "navigate" },
155         { "action": "wait", "condition": "element", "text": "Other Answers (1 - 20 of 149)" },
156         { "action": "javascript_click", "text": "Other Answers (1 - 20 of 149)" }
157       ]
158     },
159     {
160       "url": "http://sports.yahoo.com/",
161       "why": "#1 Alexa sports"
162     },
163     {
164       "url": "http://techcrunch.com",
165       "why": "Top tech blog"
166     },
167     {
168       "url": "https://mail.google.com/mail/",
169       "why": "productivity, top google properties",
170       "credentials": "google",
171       "navigate_steps": [
172         { "action": "navigate" },
173         { "action": "wait", "javascript": "document.getElementById('og_user_warning') !== null" },
174         { "action": "wait", "javascript": "document.getElementById('og_user_warning') === null" }
175       ],
176       "smoothness": [
177         {
178           "action": "scroll",
179           "scrollable_element_function": "function(callback) { callback(document.getElementById('views').childNodes[1].firstChild); }"
180         },
181         {
182           "action": "scroll",
183           "scrollable_element_function": "function(callback) { callback(document.getElementById('views').childNodes[1].firstChild); }"
184         }
185       ]
186     },
187     {
188       "url": "http://mlb.com/",
189       "why": "#6 Alexa sports"
190     },
191     {
192       "url": "http://www.sfgate.com/",
193       "why": "#14 Alexa California"
194     },
195     {
196       "url": "http://slashdot.org/",
197       "why": "crbug.com/169827",
198       "fastpath": true
199     },
200     {
201       "url": "http://worldjournal.com/",
202       "why": "Non-latin character set"
203     },
204     {
205       "url": "http://www.wowwiki.com/World_of_Warcraft:_Mists_of_Pandaria",
206       "why": "Mobile wiki"
207     },
208     {
209       "url": "http://online.wsj.com/home-page",
210       "why": "#15 Alexa news"
211     },
212     {
213       "url": "http://www.deviantart.com/",
214       "why": "Image-heavy mobile site"
215     },
216     {
217       "url": "http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920",
218       "why": "Top search engine"
219     },
220     {
221       "url": "http://www.bing.com/search?q=sloths",
222       "why": "Top search engine"
223     },
224     {
225       "url": "http://www.reddit.com/r/programming/comments/1g96ve",
226       "why": "#5 Alexa news",
227       "fastpath": true
228     },
229     {
230       "url": "http://www.boingboing.net",
231       "why": "Problematic use of fixed position elements",
232       "fastpath": true
233     },
234     {
235       "disabled": "Page behaves non-deterministically, replaced with test version for now",
236       "url": "http://groupcloned.com",
237       "why": "crbug.com/172906",
238       "navigate_steps": [
239         { "action": "navigate" },
240         { "action": "wait", "seconds": 5 },
241         { "action": "wait", "javascript": "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" }
242       ],
243       "smoothness": {
244         "action": "scroll",
245         "scroll_requires_touch": true,
246         "scroll_distance_function": "function() { return Math.max(0, 1250 + document.getElementById('element-19').contentDocument.getElementById('element-22').getBoundingClientRect().top); }"
247       }
248     },
249     {
250       "url": "http://groupcloned.com/test/list-images-variable/index.html",
251       "why": "crbug.com/172906",
252       "navigate_steps": [
253         { "action": "navigate" },
254         { "action": "wait", "javascript": "document.getElementById('element-5') !== null" }
255       ],
256       "smoothness": {
257         "action": "scroll",
258         "scroll_requires_touch": true,
259         "scroll_distance_function": "function() { return Math.max(0, 1250 + document.getElementById('element-5').getBoundingClientRect().top); }"
260       }
261     },
262     {
263       "disabled": "Doesn't scroll; crbug.com/249736",
264       "url": "http://forecast.io",
265       "why": "crbug.com/231413"
266     },
267     {
268       "url": "http://mobile-news.sandbox.google.com/news/pt1",
269       "why": "Google News: accelerated scrolling version",
270       "navigate_steps": [
271         { "action": "navigate" },
272         { "action": "wait", "javascript": "typeof NEWS_telemetryReady !== 'undefined' && NEWS_telemetryReady == true" }
273       ]
274     },
275     {
276       "url": "http://mobile-news.sandbox.google.com/news/pt0",
277       "why": "Google News: this iOS version is slower than accelerated scrolling",
278       "navigate_steps": [
279         { "action": "navigate" },
280         { "action": "wait", "javascript": "document.getElementById(':h') != null" },
281         { "action": "wait", "seconds": 1 }
282       ],
283       "smoothness": {
284         "action": "scroll",
285         "scroll_requires_touch": true,
286         "scrollable_element_function": "function(callback) { callback(document.getElementById(':5')); }",
287         "remaining_scroll_distance_function": "function() { return Math.max(0, 2500 + document.getElementById(':h').getBoundingClientRect().top); }"
288       }
289     }
290   ]
291 }