diff options
author | ryoh <ryoh@chromium.org> | 2016-03-15 22:24:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-16 05:26:25 +0000 |
commit | 9b39fa15a01e930a8ff2a5a53a2fd13c73482bb9 (patch) | |
tree | 7665a10bb586b25fbed70b3d521ad4cca74a8e7a /ui/file_manager/video_player/js/test_util.js | |
parent | 255085eb35b87a38640b0668974cb4ace68a66db (diff) | |
download | chromium_src-9b39fa15a01e930a8ff2a5a53a2fd13c73482bb9.zip chromium_src-9b39fa15a01e930a8ff2a5a53a2fd13c73482bb9.tar.gz chromium_src-9b39fa15a01e930a8ff2a5a53a2fd13c73482bb9.tar.bz2 |
Add subtitles track if there is a subtitles file with the same name.
BUG=585723
TEST=manually
Review URL: https://codereview.chromium.org/1782363003
Cr-Commit-Position: refs/heads/master@{#381395}
Diffstat (limited to 'ui/file_manager/video_player/js/test_util.js')
-rw-r--r-- | ui/file_manager/video_player/js/test_util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/file_manager/video_player/js/test_util.js b/ui/file_manager/video_player/js/test_util.js index 2415cd6..9e5d019 100644 --- a/ui/file_manager/video_player/js/test_util.js +++ b/ui/file_manager/video_player/js/test_util.js @@ -14,7 +14,7 @@ function testElement(filename, testFunction) { var contentWindow = window.background.appWindows[appId].contentWindow; if (contentWindow && contentWindow.document.title === filename) { - var element = contentWindow.document.querySelector('video[src]'); + var element = contentWindow.document.querySelector('video'); if (element && testFunction(element)) return true; } |