Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Window / resources / window-appendages-cleared-results.html
blob6566ceb043061d263880b031bae54c8e8146e1ae
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
9 function checkForLeftoverProperties(string, object)
11 var array = new Array;
12 for (var property in object) {
13 array.push(property);
15 array.sort();
16 for (var i = 0; i < array.length; ++i) {
17 var property = array[i];
18 shouldBeFalse(string + '.' + property + ' == "LEFTOVER"');
22 checkForLeftoverProperties("history", window.history);
23 checkForLeftoverProperties("location", location);
24 checkForLeftoverProperties("locationbar", locationbar);
25 checkForLeftoverProperties("menubar", menubar);
26 checkForLeftoverProperties("personalbar", personalbar);
27 checkForLeftoverProperties("screen", screen);
28 checkForLeftoverProperties("scrollbars", scrollbars);
29 checkForLeftoverProperties("statusbar", statusbar);
30 checkForLeftoverProperties("toolbar", toolbar);
32 shouldBeUndefined('window.event');
33 </script>
34 <script>
35 if (window.testRunner)
36 testRunner.notifyDone();
37 </script>
38 </body>
39 </html>