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

Unified Diff: third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html

Issue 2268923003: Clean up textTrackDisplayElement utility function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 4 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 | « third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html
diff --git a/third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html b/third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html
index 0730c49d4e6bcd5d1539b83f6eae33c6df670392..b9ab8e3429ece488fc9f61c33626706eb5bfbb62 100644
--- a/third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html
+++ b/third_party/WebKit/LayoutTests/media/video-controls-track-selection-menu.html
@@ -35,13 +35,13 @@ async_test(function(t) {
clickTextTrackAtIndex(video, 0);
assert_equals(video.textTracks[0].mode, "showing");
assert_equals(video.textTracks[1].mode, "hidden");
- assert_equals(textTrackCueElementByIndex(video, 0).innerText, "Lorem");
+ assert_equals(textTrackDisplayElement(video).innerText, "Lorem");
// Select track 1 and verify it is displayed.
clickTextTrackAtIndex(video, 1);
assert_equals(video.textTracks[0].mode, "disabled");
assert_equals(video.textTracks[1].mode, "showing");
- assert_equals(textTrackCueElementByIndex(video, 0).innerText, "first caption");
+ assert_equals(textTrackDisplayElement(video).innerText, "first caption");
});
video.src = findMediaFile("video", "content/test");
« no previous file with comments | « third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698