Index: LayoutTests/media/controls-in-frameless-document.html |
diff --git a/LayoutTests/media/controls-in-frameless-document.html b/LayoutTests/media/controls-in-frameless-document.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..83d295728ac68727fda85ad06bd564490ff08d89 |
--- /dev/null |
+++ b/LayoutTests/media/controls-in-frameless-document.html |
@@ -0,0 +1,20 @@ |
+<!doctype html> |
+<html> |
+ <head> |
+ <title>video controls in a frameless document</title> |
+ <script src="../resources/testharness.js"></script> |
+ <script src="../resources/testharnessreport.js"></script> |
+ </head> |
+ <body> |
+ <script> |
+ test(function() |
+ { |
+ var doc = document.implementation.createHTMLDocument(); |
+ var video = doc.createElement("video"); |
+ doc.body.appendChild(video); |
+ video.controls = true; |
+ // pass if we didn't crash |
+ }); |
+ </script> |
+ </body> |
+</html> |