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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-cue-mutable-text.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
Index: third_party/WebKit/LayoutTests/media/track/track-cue-mutable-text.html
diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-mutable-text.html b/third_party/WebKit/LayoutTests/media/track/track-cue-mutable-text.html
index 054968c3ea45dfab898c244fa9b0bd0a768816ee..63363f77048ffbecc102b7fd9744422991212895 100644
--- a/third_party/WebKit/LayoutTests/media/track/track-cue-mutable-text.html
+++ b/third_party/WebKit/LayoutTests/media/track/track-cue-mutable-text.html
@@ -35,7 +35,7 @@ async_test(function(t) {
// Change the start time of cue #1, it should become visible.
testTrack.track.cues[0].startTime = 0;
assert_equals(testTrack.track.cues[0].startTime, 0);
- assert_equals(textTrackDisplayElement(video, "display").innerText, "Lorem ipsum dolor sit amet,");
+ assert_equals(textTrackDisplayElement(video).innerText, "Lorem ipsum dolor sit amet,");
// Change the cue text, getCueAsHTML() should return a new, correct fragment.
testTrack.track.cues[0].text = "Lorem <b>ipsum</b> <u>dolor</u> <i.sit>sit</i> amet,";

Powered by Google App Engine
This is Rietveld 408576698