Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: ui/file_manager/video_player/js/test_util.js

Issue 1782363003: Add subtitles track if there is a subtitles file with the same name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/video_player.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/video_player/js/test_util.js
diff --git a/ui/file_manager/video_player/js/test_util.js b/ui/file_manager/video_player/js/test_util.js
index 2415cd6d89c002b6b55d7b6ef6efef629e2c879c..9e5d0192d7bbebf98ab647d12c1de61c0da748ae 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;
}
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/video_player.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698