blob: 801da699b24e027667708ad8b0753634a6963877 [file] [log] [blame]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry.page import page
from telemetry.page import shared_page_state
from telemetry import story
class ThrottledPluginsPageSet(story.StorySet):
def __init__(self):
super(ThrottledPluginsPageSet, self).__init__(
archive_data_file='data/throttled_plugins.json',
cloud_storage_bucket=story.PUBLIC_BUCKET)
urls_with_throttled_plugins = [
#'http://cnn.com', crbug.com/528463
'http://techcrunch.com',
'http://wsj.com',
'http://youtube.com'
]
for url in urls_with_throttled_plugins:
self.AddStory(
page.Page(
url, page_set=self,
shared_page_state_class=shared_page_state.SharedDesktopPageState))