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

Side by Side Diff: LayoutTests/fast/events/page-visibility-null-view.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 4
5 <script> 5 <script>
6 6
7 description("This test checks that Page Visibility state values are correct when a document has no defaultView."); 7 description("This test checks that Page Visibility state values are correct when a document has no defaultView.");
8 8
9 var subdocument = document.implementation.createDocument('http://www.w3.org/1999 /xhtml', 'html', null); 9 var subdocument = document.implementation.createDocument('http://www.w3.org/1999 /xhtml', 'html', null);
10 10
11 shouldBeTrue("subdocument.defaultView == null"); 11 shouldBeTrue("subdocument.defaultView == null");
12 shouldBeEqualToString("subdocument.webkitVisibilityState", "hidden"); 12 shouldBeEqualToString("subdocument.webkitVisibilityState", "hidden");
13 shouldBeTrue("subdocument.webkitHidden"); 13 shouldBeTrue("subdocument.webkitHidden");
14 14
15 </script> 15 </script>
16 16
17 <script src="../js/resources/js-test-post.js"></script>
18 17
19 </head> 18 </head>
20 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698