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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-cue-mutable-fragment-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-fragment-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-mutable-fragment-expected.txt b/third_party/WebKit/LayoutTests/media/track/track-cue-mutable-fragment-expected.txt
deleted file mode 100644
index da0817831da8ef6ee0aaff32545d5bd5c7fbab12..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/track/track-cue-mutable-fragment-expected.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Test that cue text is mutable.
-
-Fragment 1
-
-Different text ipsum dolor sit amet,
-Fragment 2
-
-Lorem ipsum dolor sit amet,
-RUN(testCue = testTrack.track.cues[0])
-
-** Test initial cue contents
-EXPECTED (testCue.text == 'Lorem ipsum dolor sit amet,') OK
-
-** Cue getCueAsHTML() should return a correct fragment
-EXPECTED (fragment.isEqualNode(testCue.getCueAsHTML()) == 'true') OK
-
-** Appending getCuesAsHTML() twice to the DOM should be succesful
-RUN(document.getElementsByTagName('div')[0].appendChild(testCue.getCueAsHTML()))
-RUN(document.getElementsByTagName('div')[1].appendChild(testCue.getCueAsHTML()))
-EXPECTED (fragment.isEqualNode(document.getElementsByTagName('div')[0]) == 'true') OK
-EXPECTED (fragment.isEqualNode(document.getElementsByTagName('div')[1]) == 'true') OK
-
-** The fragment returned by getCuesAsHTML() should be independently mutable
-RUN(document.getElementsByTagName('div')[0].firstChild.textContent = 'Different text ')
-EXPECTED (fragment.isEqualNode(document.getElementsByTagName('div')[0]) == 'false') OK
-EXPECTED (fragment.isEqualNode(document.getElementsByTagName('div')[1]) == 'true') OK
-
-** Calling twice getCueAsHTML() should not return the same fragment
-EXPECTED (testCue.getCueAsHTML() == testCue.getCueAsHTML() == 'false') OK
-
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698