| 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 import os | 4 import os |
| 5 | 5 |
| 6 from telemetry.page import page as page_module | 6 from telemetry.page import page as page_module |
| 7 from telemetry import story | 7 from telemetry import story |
| 8 | 8 |
| 9 | 9 |
| 10 WEBRTC_GITHUB_SAMPLES_URL = 'http://webrtc.github.io/samples/src/content/' | 10 WEBRTC_GITHUB_SAMPLES_URL = 'https://webrtc.github.io/samples/src/content/' |
| 11 | 11 |
| 12 | 12 |
| 13 class WebrtcCasesPage(page_module.Page): | 13 class WebrtcCasesPage(page_module.Page): |
| 14 | 14 |
| 15 def __init__(self, url, page_set, name): | 15 def __init__(self, url, page_set, name): |
| 16 super(WebrtcCasesPage, self).__init__( | 16 super(WebrtcCasesPage, self).__init__( |
| 17 url=url, page_set=page_set, name=name) | 17 url=url, page_set=page_set, name=name) |
| 18 | 18 |
| 19 with open(os.path.join(os.path.dirname(__file__), | 19 with open(os.path.join(os.path.dirname(__file__), |
| 20 'webrtc_track_peerconnections.js')) as javascript: | 20 'webrtc_track_peerconnections.js')) as javascript: |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 archive_data_file='data/webrtc_cases.json', | 179 archive_data_file='data/webrtc_cases.json', |
| 180 cloud_storage_bucket=story.PUBLIC_BUCKET) | 180 cloud_storage_bucket=story.PUBLIC_BUCKET) |
| 181 | 181 |
| 182 self.AddStory(Page1(self)) | 182 self.AddStory(Page1(self)) |
| 183 self.AddStory(Page2(self)) | 183 self.AddStory(Page2(self)) |
| 184 self.AddStory(Page3(self)) | 184 self.AddStory(Page3(self)) |
| 185 # Disable page 4-7 until we can implement http://crbug.com/468732. We can | 185 # Disable page 4-7 until we can implement http://crbug.com/468732. We can |
| 186 # get data out from the tests, but it's not very useful yet. | 186 # get data out from the tests, but it's not very useful yet. |
| 187 self.AddStory(Page8(self)) | 187 self.AddStory(Page8(self)) |
| 188 self.AddStory(Page9(self)) | 188 self.AddStory(Page9(self)) |
| OLD | NEW |