| 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 import story | 5 from telemetry import story |
| 6 from telemetry.page import page as page_module | 6 from telemetry.page import page as page_module |
| 7 | 7 |
| 8 | 8 |
| 9 class WebrtcPage(page_module.Page): | 9 class WebrtcPage(page_module.Page): |
| 10 | 10 |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 'document.getElementById("num-peerconnections").value=10') | 115 'document.getElementById("num-peerconnections").value=10') |
| 116 action_runner.ExecuteJavaScript( | 116 action_runner.ExecuteJavaScript( |
| 117 'document.getElementById("cpuoveruse-detection").checked=false') | 117 'document.getElementById("cpuoveruse-detection").checked=false') |
| 118 action_runner.ClickElement('button[id="start-test"]') | 118 action_runner.ClickElement('button[id="start-test"]') |
| 119 action_runner.Wait(20) | 119 action_runner.Wait(20) |
| 120 | 120 |
| 121 | 121 |
| 122 class WebrtcPageSet(story.StorySet): | 122 class WebrtcPageSet(story.StorySet): |
| 123 def __init__(self): | 123 def __init__(self): |
| 124 super(WebrtcPageSet, self).__init__( | 124 super(WebrtcPageSet, self).__init__( |
| 125 cloud_storage_bucket=story.PUBLIC_BUCKET, | 125 cloud_storage_bucket=story.PUBLIC_BUCKET) |
| 126 verify_names=True) | |
| 127 | 126 |
| 128 self.AddStory(MultiplePeerConnections(self, tags=['stress'])) | 127 self.AddStory(MultiplePeerConnections(self, tags=['stress'])) |
| 129 self.AddStory(DataChannel(self, tags=['datachannel'])) | 128 self.AddStory(DataChannel(self, tags=['datachannel'])) |
| 130 self.AddStory(GetUserMedia(self, tags=['getusermedia'])) | 129 self.AddStory(GetUserMedia(self, tags=['getusermedia'])) |
| 131 self.AddStory(VideoCall(self, tags=['peerconnection', 'smoothness'])) | 130 self.AddStory(VideoCall(self, tags=['peerconnection', 'smoothness'])) |
| 132 self.AddStory(CanvasCapturePeerConnection(self, tags=['smoothness'])) | 131 self.AddStory(CanvasCapturePeerConnection(self, tags=['smoothness'])) |
| 133 self.AddStory(AudioCall(self, 'OPUS', tags=['audio'])) | 132 self.AddStory(AudioCall(self, 'OPUS', tags=['audio'])) |
| 134 self.AddStory(AudioCall(self, 'G772', tags=['audio'])) | 133 self.AddStory(AudioCall(self, 'G772', tags=['audio'])) |
| 135 self.AddStory(AudioCall(self, 'PCMU', tags=['audio'])) | 134 self.AddStory(AudioCall(self, 'PCMU', tags=['audio'])) |
| 136 self.AddStory(AudioCall(self, 'ISAC/1600', tags=['audio'])) | 135 self.AddStory(AudioCall(self, 'ISAC/1600', tags=['audio'])) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 150 self.DisableStory('audio_call_pcmu_10s', | 149 self.DisableStory('audio_call_pcmu_10s', |
| 151 [story.expectations.ALL], | 150 [story.expectations.ALL], |
| 152 'crbug.com/468732') | 151 'crbug.com/468732') |
| 153 self.DisableStory('audio_call_isac/1600_10s', | 152 self.DisableStory('audio_call_isac/1600_10s', |
| 154 [story.expectations.ALL], | 153 [story.expectations.ALL], |
| 155 'crbug.com/468732') | 154 'crbug.com/468732') |
| 156 | 155 |
| 157 self.DisableStory('30s_datachannel_transfer', | 156 self.DisableStory('30s_datachannel_transfer', |
| 158 [story.expectations.ALL_DESKTOP], | 157 [story.expectations.ALL_DESKTOP], |
| 159 'crbug.com/726811') | 158 'crbug.com/726811') |
| OLD | NEW |