Mojo C++ bindings: better log message for serialization warnings.
[chromium-blink-merge.git] / tools / perf / page_sets / browser_control.py
blob7beb291b43fe47d07d0ffb985f4619da2775dc0a
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.page import page_set as page_set_module
8 class BrowserControlPage(page_module.Page):
9 """ Why: Continually attach and detach a DOM tree from a basic document. """
11 def __init__(self, page_set):
12 super(BrowserControlPage, self).__init__(
13 url='file://endure/browser_control.html',
14 page_set=page_set,
15 name='browser_control')
16 self.user_agent_type = 'desktop'
18 def RunEndure(self, action_runner):
19 action_runner.Wait(2)
22 class BrowserControlPageSet(page_set_module.PageSet):
24 """ Chrome Endure control test for the browser. """
26 def __init__(self):
27 super(BrowserControlPageSet, self).__init__(
28 user_agent_type='desktop')
30 self.AddPage(BrowserControlPage(self))