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

Unified Diff: LayoutTests/media/video-preload-none-no-stalled-event.html

Issue 327553002: Transition networkState back to NETWORK_IDLE on fetch if preload=none (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: deferredLoad -> deferLoad. Created 6 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/media/video-preload-none-no-stalled-event-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/video-preload-none-no-stalled-event.html
diff --git a/LayoutTests/media/video-preload-none-no-stalled-event.html b/LayoutTests/media/video-preload-none-no-stalled-event.html
new file mode 100644
index 0000000000000000000000000000000000000000..b7b868e58735e235f0b657145060b6ff9fdcfe5f
--- /dev/null
+++ b/LayoutTests/media/video-preload-none-no-stalled-event.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<script src=media-file.js></script>
+<script src=video-test.js></script>
+<script>
+function runTest()
+{
+ findMediaElement();
+
+ waitForEventAndEnd("suspend");
+ waitForEventAndFail("stalled");
+ consoleWrite("");
+
+ video.src = findMediaFile("video", "content/test");
+}
+</script>
+<body onload="runTest()">
+ <p>Test to see if a media element with preload=none dispatches a 'stalled' event.</p>
+ <video preload=none></video>
+</body>
« no previous file with comments | « no previous file | LayoutTests/media/video-preload-none-no-stalled-event-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698