OLD | NEW |
---|---|
(Empty) | |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <title>video controls in a frameless document</title> | |
5 <script src="../resources/testharness.js"></script> | |
6 <script src="../resources/testharnessreport.js"></script> | |
7 </head> | |
8 <body> | |
9 <script> | |
10 test(function() | |
11 { | |
12 var doc = document.implementation.createHTMLDocument(); | |
13 var video = doc.createElement("video"); | |
14 doc.body.appendChild(video); | |
15 video.controls = true; | |
16 // pass if we didn't crash | |
17 }); | |
18 </script> | |
19 </body> | |
20 </html> | |
OLD | NEW |