Home | History | Annotate | Download | only in tests
      1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 /*
      6    "pageSets" is a list of lists.
      7      - Before each sublist:
      8            Run chrome.browingData.remove and close the connections.
      9      - Before each url in a sublist:
     10            Close the connections.
     11 */
     12 var pageSets = [
     13     ["http://superfastpageload/web-page-replay-generate-200"],
     14 
     15     // Load url pairs without clearing browser data (e.g. cache) in-between.
     16     ["http://go.com/",
     17      "http://espn.go.com/"],
     18     ["http://www.amazon.com/",
     19      "http://www.amazon.com/Kindle-Fire-Amazon-Tablet/dp/B0051VVOB2/"],
     20     ["http://www.baidu.com/",
     21      "http://www.baidu.com/s?wd=obama"],
     22     ["http://www.bing.com/",
     23      "http://www.bing.com/search?q=cars"],
     24     ["http://www.ebay.com/",
     25      "http://fashion.ebay.com/womens-clothing"],
     26     ["http://www.google.com/",
     27      "http://www.google.com/search?q=dogs"],
     28     ["http://www.yandex.ru/",
     29      "http://yandex.ru/yandsearch?text=obama&lr=84"],
     30     ["http://www.youtube.com",
     31      "http://www.youtube.com/watch?v=xvN9Ri1GmuY&feature=g-sptl&cid=inp-hs-edt"],
     32 
     33     ["http://ameblo.jp/"],
     34     ["http://en.rakuten.co.jp/"],
     35     ["http://en.wikipedia.org/wiki/Lady_gaga"],
     36     ["http://news.google.co.in"],
     37     ["http://plus.google.com/"],  // iframe error (result of no cookies?)
     38     ["http://www.163.com/"],
     39     ["http://www.apple.com/"],
     40     ["http://www.bbc.co.uk/"],
     41     ["http://www.cnet.com/"],
     42     ["http://www.msn.com/"],
     43     ["http://www.nytimes.com/"],
     44     ["http://www.taobao.com/"],
     45     ["http://www.yahoo.co.jp/"],
     46 
     47     // HTTPS pages.
     48     ["https://wordpress.com/"],
     49     ["https://www.conduit.com/"],
     50     ["https://www.facebook.com",
     51      "https://www.facebook.com/barackobama"],
     52 ];
     53 
     54 /*
     55     // Not included (need further investigation).
     56     ["http://twitter.com/BarackObama",
     57     "http://twitter.com/search?q=pizza"], // large variance on second page
     58     ["http://www.fc2.com/"],      // slow
     59     ["http://sina.com.cn/"],      // slow
     60     ["http://www.mail.ru/"],      // long load time (30s+)
     61     ["http://www.sohu.com/"],     // load does not finish (even without WPR)
     62 
     63     // Not included (trimmed pageSets to keep test under 10 minutes).
     64     ["http://sfbay.craigslist.org/",
     65     "http://sfbay.craigslist.org/search/sss?query=flowers"],
     66     ["http://www.flickr.com/",
     67     "http://www.flickr.com/photos/tags/flowers"],
     68     ["http://www.linkedin.com/",
     69     "http://www.linkedin.com/in/jeffweiner08"],
     70     ["http://www.yahoo.com/",
     71     "http://search.yahoo.com/search?p=disney"],
     72     ["http://googleblog.blogspot.com/"],
     73     ["http://www.adobe.com/reader/"],
     74     ["http://www.cnn.com/"],
     75     ["http://www.imdb.com/"],
     76     ["http://www.qq.com/"],
     77 */
     78