diff options
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; } |