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

Unified Diff: webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-src-change-expected.txt

Issue 345004: Rebaseline media tests after http://trac.webkit.org/changeset/50063 . (Closed)
Patch Set: Created 11 years, 2 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: webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-src-change-expected.txt
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-src-change-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-src-change-expected.txt
index 2f5faab5d7b913d82f44eaedffd62e382320a926..d17441f84e899d2d71b6a5162495d54c4a33d710 100644
--- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-src-change-expected.txt
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/media/video-src-change-expected.txt
@@ -1,20 +1,19 @@
-1. Test that an invalid src attribute fires an error when the file fails to load.
-2. Test that changing src attribute triggers load after a load fails.
-3. Test that changing src does not trigger load once a file is loaded.
-
-
-EVENT(error)
-EXPECTED (relativeURL(video.currentSrc) == 'bogus') OK
-EXPECTED (video.networkState == '4') OK
-EXPECTED (video.error.code == '4') OK
-
-RUN(video.setAttribute('src', 'content/test.ogv'))
-
-EVENT(loadedmetadata)
-EXPECTED (relativeURL(video.currentSrc) == 'content/test.ogv') OK
-EXPECTED (isNaN(video.duration) == 'false') OK
-
-RUN(video.setAttribute('src', 'content/silence.mpg'))
-
-END OF TEST
-
+1. Test that an invalid src attribute fires an error when the file fails to load.
+2. Test that changing src attribute triggers load after a load fails.
+3. Test that changing src does not trigger load once a file is known to be valid.
+
+
+EVENT(error)
+EXPECTED (relativeURL(video.currentSrc) == 'bogus') OK
+EXPECTED (video.networkState == '4') OK
+EXPECTED (video.error.code == '4') OK
+
+RUN(video.setAttribute('src', 'content/test.ogv'))
+
+EVENT(loadedmetadata)
+EXPECTED (relativeURL(video.currentSrc) == 'content/test.ogv') OK
+EXPECTED (isNaN(video.duration) == 'false') OK
+
+RUN(video.setAttribute('src', 'content/silence.mpg'))
+
+END OF TEST

Powered by Google App Engine
This is Rietveld 408576698