OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from telemetry.page import page as page_module | 5 from telemetry.page import page as page_module |
6 from telemetry.page import page_set as page_set_module | 6 from telemetry.page import page_set as page_set_module |
7 | 7 |
8 | 8 |
9 class ReenableAfterBypassPage(page_module.Page): | 9 class ReenableAfterBypassPage(page_module.Page): |
10 """A test page for the re-enable after bypass tests. | 10 """A test page for the re-enable after bypass tests. |
(...skipping 21 matching lines...) Expand all Loading... |
32 def __init__(self): | 32 def __init__(self): |
33 super(ReenableAfterBypassPageSet, self).__init__() | 33 super(ReenableAfterBypassPageSet, self).__init__() |
34 | 34 |
35 # Test page for "Chrome-Proxy: block=0". Loading this page should cause all | 35 # Test page for "Chrome-Proxy: block=0". Loading this page should cause all |
36 # data reduction proxies to be bypassed for one to five minutes. | 36 # data reduction proxies to be bypassed for one to five minutes. |
37 self.AddUserStory(ReenableAfterBypassPage( | 37 self.AddUserStory(ReenableAfterBypassPage( |
38 url="http://check.googlezip.net/block", | 38 url="http://check.googlezip.net/block", |
39 page_set=self, | 39 page_set=self, |
40 bypass_seconds_min=60, | 40 bypass_seconds_min=60, |
41 bypass_seconds_max=300)) | 41 bypass_seconds_max=300)) |
OLD | NEW |