- add missing result and update tests to work right from DumpRenderTree
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Feb 2007 10:35:38 +0000 (10:35 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Feb 2007 10:35:38 +0000 (10:35 +0000)
        * fast/dom/Window/resources/window-appendages-cleared-results.html:
        * fast/dom/Window/window-appendages-cleared-expected.txt: Added.
        * fast/dom/Window/window-appendages-cleared.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19552 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/dom/Window/resources/window-appendages-cleared-results.html
LayoutTests/fast/dom/Window/window-appendages-cleared-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/Window/window-appendages-cleared.html

index e6ce0db94b2ee3133dfac9e1cab8492e40209ec3..e0dc7fc8258ff944a5bebebdebbb33f7e3f89be8 100644 (file)
@@ -1,3 +1,11 @@
+2007-02-10  Maciej Stachowiak  <mjs@apple.com>
+
+        - add missing result and update tests to work right from DumpRenderTree
+
+        * fast/dom/Window/resources/window-appendages-cleared-results.html:
+        * fast/dom/Window/window-appendages-cleared-expected.txt: Added.
+        * fast/dom/Window/window-appendages-cleared.html:
+
 2007-02-10  Maciej Stachowiak  <mjs@apple.com>
 
         Regression not reviewed, based loosely on test case from Ian Eng.
index de276cc18e1d3482b383aa6083d00a79b8c035ea..5714bdb0def6f3dc5f369adf495a183139e1199b 100644 (file)
@@ -53,6 +53,10 @@ shouldBeUndefined('window.event');
 var successfullyParsed = true;
 </script>
 <script src="../../../js/resources/js-test-post.js"></script>
+<script>
+if (window.layoutTestController)
+    layoutTestController.notifyDone();
+</script>
 </body>
 </html>
 
diff --git a/LayoutTests/fast/dom/Window/window-appendages-cleared-expected.txt b/LayoutTests/fast/dom/Window/window-appendages-cleared-expected.txt
new file mode 100644 (file)
index 0000000..a4ba959
--- /dev/null
@@ -0,0 +1,29 @@
+PASS history.length == "LEFTOVER" is false
+PASS history.back == "LEFTOVER" is false
+PASS history.go == "LEFTOVER" is false
+PASS history.forward == "LEFTOVER" is false
+PASS frames.location == "LEFTOVER" is false
+PASS frames.length == "LEFTOVER" is false
+PASS location.host == "LEFTOVER" is false
+PASS location.pathname == "LEFTOVER" is false
+PASS location.port == "LEFTOVER" is false
+PASS location.href == "LEFTOVER" is false
+PASS location.search == "LEFTOVER" is false
+PASS location.assign == "LEFTOVER" is false
+PASS location.reload == "LEFTOVER" is false
+PASS location.hash == "LEFTOVER" is false
+PASS location.hostname == "LEFTOVER" is false
+PASS location.protocol == "LEFTOVER" is false
+PASS location.toString == "LEFTOVER" is false
+PASS location.replace == "LEFTOVER" is false
+PASS locationbar.visible == "LEFTOVER" is false
+PASS menubar.visible == "LEFTOVER" is false
+PASS personalbar.visible == "LEFTOVER" is false
+PASS scrollbars.visible == "LEFTOVER" is false
+PASS statusbar.visible == "LEFTOVER" is false
+PASS toolbar.visible == "LEFTOVER" is false
+PASS window.event is undefined.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
index b945c1ad6e45fe67b545f7a3dd28f3fe3a43e3a2..5a902e7d120505beb894f5093d2f0204db310428 100644 (file)
@@ -1,6 +1,9 @@
 <html>
 <body onload="test()">
 <script type="text/javascript">
+if (window.layoutTestController)
+    layoutTestController.waitUntilDone();
+
 function test()
 {
 history.go = "LEFTOVER";