Fix OOP <webview> resize and autosize.
[chromium-blink-merge.git] / tools / perf / page_sets / page_cycler / morejs.py
blobffd0fb6fc6c12fb087d0bc92f7aa91465b9b3e0e
1 # Copyright 2014 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 from telemetry.page import page as page_module
5 from telemetry import story
7 class MorejsPage(page_module.Page):
9 def __init__(self, url, page_set):
10 super(MorejsPage, self).__init__(url=url, page_set=page_set)
13 class MorejsPageSet(story.StorySet):
15 """ More JS page_cycler benchmark """
17 def __init__(self):
18 super(MorejsPageSet, self).__init__(
19 # pylint: disable=C0301
20 serving_dirs=set(['../../../../data/page_cycler/morejs']),
21 cloud_storage_bucket=story.PARTNER_BUCKET)
23 urls_list = [
24 'file://../../../../data/page_cycler/morejs/blog.chromium.org/',
25 'file://../../../../data/page_cycler/morejs/dev.chromium.org/',
26 'file://../../../../data/page_cycler/morejs/googleblog.blogspot.com1/',
27 'file://../../../../data/page_cycler/morejs/googleblog.blogspot.com2/',
28 'file://../../../../data/page_cycler/morejs/test.blogspot.com/',
29 'file://../../../../data/page_cycler/morejs/www.igoogle.com/',
30 'file://../../../../data/page_cycler/morejs/www.techcrunch.com/',
31 'file://../../../../data/page_cycler/morejs/www.webkit.org/',
32 'file://../../../../data/page_cycler/morejs/www.yahoo.com/'
35 for url in urls_list:
36 self.AddStory(MorejsPage(url, self))