| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 page_sets.system_health import platforms | 5 from page_sets.system_health import platforms |
| 6 from page_sets.system_health import system_health_story | 6 from page_sets.system_health import system_health_story |
| 7 | 7 |
| 8 from page_sets.login_helpers import dropbox_login | 8 from page_sets.login_helpers import dropbox_login |
| 9 from page_sets.login_helpers import google_login | 9 from page_sets.login_helpers import google_login |
| 10 | 10 |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 ################################################################################ | 202 ################################################################################ |
| 203 # Audio, images, and video. | 203 # Audio, images, and video. |
| 204 ################################################################################ | 204 ################################################################################ |
| 205 | 205 |
| 206 | 206 |
| 207 class LoadYouTubeStory(_LoadingStory): | 207 class LoadYouTubeStory(_LoadingStory): |
| 208 # No way to disable autoplay on desktop. | 208 # No way to disable autoplay on desktop. |
| 209 NAME = 'load:media:youtube' | 209 NAME = 'load:media:youtube' |
| 210 URL = 'https://www.youtube.com/watch?v=QGfhS1hfTWw&autoplay=false' | 210 URL = 'https://www.youtube.com/watch?v=QGfhS1hfTWw&autoplay=false' |
| 211 PLATFORM_SPECIFIC = True |
| 211 | 212 |
| 212 | 213 |
| 213 class LoadDailymotionStory(_LoadingStory): | 214 class LoadDailymotionStory(_LoadingStory): |
| 214 # The side panel with related videos doesn't show on desktop due to | 215 # The side panel with related videos doesn't show on desktop due to |
| 215 # https://github.com/chromium/web-page-replay/issues/74. | 216 # https://github.com/chromium/web-page-replay/issues/74. |
| 216 NAME = 'load:media:dailymotion' | 217 NAME = 'load:media:dailymotion' |
| 217 URL = ( | 218 URL = ( |
| 218 'https://www.dailymotion.com/video/x489k7d_street-performer-shows-off-slin
ky-skills_fun?autoplay=false') | 219 'https://www.dailymotion.com/video/x489k7d_street-performer-shows-off-slin
ky-skills_fun?autoplay=false') |
| 219 | 220 |
| 220 | 221 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 NAME = 'load:games:miniclip' | 392 NAME = 'load:games:miniclip' |
| 392 # Using "https://" causes "404 Not Found" during WPR recording. | 393 # Using "https://" causes "404 Not Found" during WPR recording. |
| 393 URL = 'http://www.miniclip.com/games/en/' | 394 URL = 'http://www.miniclip.com/games/en/' |
| 394 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. | 395 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. |
| 395 | 396 |
| 396 | 397 |
| 397 class LoadAlphabettyStory(_LoadingStory): | 398 class LoadAlphabettyStory(_LoadingStory): |
| 398 NAME = 'load:games:alphabetty' | 399 NAME = 'load:games:alphabetty' |
| 399 URL = 'https://king.com/play/alphabetty' | 400 URL = 'https://king.com/play/alphabetty' |
| 400 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. | 401 SUPPORTED_PLATFORMS = platforms.DESKTOP_ONLY # Requires Flash. |
| OLD | NEW |