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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-cue-mutable-text-expected.txt

Issue 1879353002: Convert track tests from video-test.js to testharness.js based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comment Created 4 years, 8 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-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-mutable-text-expected.txt b/third_party/WebKit/LayoutTests/media/track/track-cue-mutable-text-expected.txt
deleted file mode 100644
index 895ff05a8062cf624ec4544c45568769fbc94c01..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/track/track-cue-mutable-text-expected.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-Test that cue text is mutable.
-
-
-** Test initial cue info
-EXPECTED (testTrack.track.activeCues.length == '0') OK
-No text track cue with display id '-webkit-media-text-track-display' is currently visible
-EXPECTED (testTrack.track.cues[0].startTime == '1') OK
-EXPECTED (testTrack.track.cues[1].startTime == '3') OK
-EXPECTED (testTrack.track.cues[0].text == 'Lorem ipsum dolor sit amet,') OK
-EXPECTED (fragment.isEqualNode(testTrack.track.cues[0].getCueAsHTML()) == 'true') OK
-
-** Change the start time of cue #1, it should become visible.
-RUN(testTrack.track.cues[0].startTime = 0)
-EXPECTED (testTrack.track.cues[0].startTime == '0') OK
-EXPECTED (textTrackDisplayElement(video, 'display').innerText == 'Lorem ipsum dolor sit amet,') OK
-
-** Change the cue text, getCueAsHTML() should return a new, correct fragment.
-RUN(testTrack.track.cues[0].text = 'Lorem ipsum dolor sit amet,')
-EXPECTED (testTrack.track.cues[0].text == 'Lorem ipsum dolor sit amet,') OK
-EXPECTED (fragment.isEqualNode(testTrack.track.cues[0].getCueAsHTML()) == 'true') OK
-
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698