Change fast/e* files to use pre and post js files in LayoutTests/resources.
[WebKit-https.git] / LayoutTests / fast / events / page-visibility-null-view.html
1 <html>
2 <head>
3 <script src="../../resources/js-test-pre.js"></script>
4
5 <script>
6
7 description("This test checks that Page Visibility state values are correct when a document has no defaultView.");
8
9 var subdocument = document.implementation.createDocument('http://www.w3.org/1999/xhtml', 'html', null);
10
11 shouldBeTrue("subdocument.defaultView == null");
12 shouldBeEqualToString("subdocument.visibilityState", "hidden");
13 shouldBeTrue("subdocument.hidden");
14
15 </script>
16
17 <script src="../../resources/js-test-post.js"></script>
18
19 </head>
20 </html>