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

Unified Diff: LayoutTests/media/media-blocked-by-beforeload-expected.txt

Issue 205523003: Remove beforeload events. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove more tests Created 6 years, 9 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: LayoutTests/media/media-blocked-by-beforeload-expected.txt
diff --git a/LayoutTests/media/media-blocked-by-beforeload-expected.txt b/LayoutTests/media/media-blocked-by-beforeload-expected.txt
deleted file mode 100644
index 1c4b5cfcf8215e35e65a55337716dca0ed15528b..0000000000000000000000000000000000000000
--- a/LayoutTests/media/media-blocked-by-beforeload-expected.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-Test to ensure that a media file blocked by a beforeload handler generates an error and does not block the document's 'load' event.
-
-*** Test initial state ***
-EXPECTED (video.networkState == '0') OK
-EXPECTED (video.error == 'null') OK
-
-*** Test blocking the 'src' attribute ***
-
-EVENT('beforeload')
-EXPECTED (event.target.tagName == 'VIDEO') OK
-blocking load of 'src'
-
-EVENT('loadstart')
-
-EVENT('error')
-EXPECTED (event.target.tagName == 'VIDEO') OK
-EXPECTED (video.error != 'null') OK
-EXPECTED (video.error.code == '4') OK
-EXPECTED (video.networkState == '3') OK
-
-*** Test using the <source> element ***
-
-EVENT('beforeload')
-EXPECTED (event.target.tagName == 'VIDEO') OK
-blocking load of first <source> element
-
-EVENT('beforeload')
-EXPECTED (event.target.tagName == 'VIDEO') OK
-allowing load of second <source> element
-
-EVENT('loadstart')
-
-EVENT('error')
-EXPECTED (event.target.tagName == 'SOURCE') OK
-EXPECTED (video.error == 'null') OK
-
-EVENT('loadedmetadata')
-
-END OF TEST
-
« no previous file with comments | « LayoutTests/media/media-blocked-by-beforeload.html ('k') | LayoutTests/media/video-beforeload-remove-source.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698