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

Unified Diff: third_party/WebKit/LayoutTests/media/video-move-to-new-document.html

Issue 1406183003: Reset readystates when webmediaplayer is cleared (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: third_party/WebKit/LayoutTests/media/video-move-to-new-document.html
diff --git a/third_party/WebKit/LayoutTests/media/video-move-to-new-document.html b/third_party/WebKit/LayoutTests/media/video-move-to-new-document.html
new file mode 100644
index 0000000000000000000000000000000000000000..a5cfcd8a50e85716d5b40ed7eec75826e1f22209
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/media/video-move-to-new-document.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<title>move video element to new document</title>
philipj_slow 2015/10/20 11:24:53 Can you put -crash in the filename and perhaps a c
Srirama 2015/10/20 14:32:32 Done.
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="media-file.js"></script>
+<script>
+async_test(function(t) {
+ var v = document.createElement('video');
+ v.src = findMediaFile('video', 'content/test');
+ v.oncanplaythrough = t.step_func(function() {
+ var newDoc = document.implementation.createDocument( "", null);
+ newDoc.adoptNode(v);
+ v.currentTime = 1.25;
+ t.done();
+ });
+});
+</script>

Powered by Google App Engine
This is Rietveld 408576698