Mojo C++ bindings: better log message for serialization warnings.
[chromium-blink-merge.git] / tools / perf / page_sets / service_worker.py
blob14c0c6b742bdb5a44e7ffa3e58c4a74abeded48b
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.
5 from telemetry.page import page
6 from telemetry.page import page_set
9 archive_data_file_path = 'data/service_worker.json'
12 class ServiceWorkerPage(page.Page):
13 def RunNavigateSteps(self, action_runner):
14 action_runner.NavigateToPage()
15 action_runner.WaitForJavaScriptCondition('window.done')
18 class ServiceWorkerPageSet(page_set.PageSet):
19 """ServiceWorker performance tests"""
21 def __init__(self):
22 super(ServiceWorkerPageSet, self).__init__(
23 archive_data_file=archive_data_file_path,
24 make_javascript_deterministic=False,
25 bucket=page_set.PUBLIC_BUCKET)
27 self.AddPage(ServiceWorkerPage('http://localhost:8091/index.html', self))