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> |