Updated this test to avoid machine-specific results.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Oct 2006 14:58:51 +0000 (14:58 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Oct 2006 14:58:51 +0000 (14:58 +0000)
        * fast/js/window-properties2-expected.txt:
        * fast/js/window-properties2.html:

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

LayoutTests/ChangeLog
LayoutTests/fast/js/window-properties2-expected.txt
LayoutTests/fast/js/window-properties2.html

index 2cc4ecc11d245cc1909790ea8c39c48361657887..5ef0a379b9e1d6c59b2f899aec6deb522c26883a 100644 (file)
@@ -1,3 +1,10 @@
+2006-10-19  Geoffrey Garen  <ggaren@apple.com>
+
+        Updated this test to avoid machine-specific results.
+
+        * fast/js/window-properties2-expected.txt:
+        * fast/js/window-properties2.html:
+
 2006-10-18  Geoffrey Garen  <ggaren@apple.com>
 
         Test for some window properties that WebCore previously didn't enumerate.
index dcaa140efe642496a6e68a86a9bbe547cbcba74f..d0c9eed8b55ead4cf7063f6eaed304835bf21ce2 100644 (file)
@@ -2,66 +2,66 @@ This test prints out the values of a few global objects that WebCore used to lac
 
 
 
-===== window.location [object]: file:///Users/ggaren/Labyrinth/OpenSource/LayoutTests/fast/js/window-properties2.html=====
-toString: function
-assign: function
-host: string
-pathname: string
-port: string
-href: string
-search: string
-reload: function
-hash: string
-hostname: string
-protocol: string
-replace: function
-
-
-===== window.getSelection() [object]: =====
-setPosition: function
-modify: function
-setBaseAndExtent: function
-empty: function
-getRangeAt: function
-toString: function
-baseOffset: number
-collapseToEnd: function
-type: string
-focusNode: object
-focusOffset: number
-extentOffset: number
-anchorNode: object
-extentNode: object
-baseNode: object
-collapseToStart: function
-anchorOffset: number
-isCollapsed: boolean
-collapse: function
-
-
-===== window.history [object]: [object History]=====
-back: function
-forward: function
-length: number
-go: function
-
-
-===== window.locationbar [object]: [object BarInfo]=====
-visible: boolean
-
-
-===== window.menubar [object]: [object BarInfo]=====
-visible: boolean
-
-
-===== window.personalbar [object]: [object BarInfo]=====
-visible: boolean
-
-
-===== window.statusbar [object]: [object BarInfo]=====
-visible: boolean
-
-
-===== window.toolbar [object]: [object BarInfo]=====
-visible: boolean
+===== window.location [object] =====
+    toString: function
+    assign: function
+    host: string
+    pathname: string
+    port: string
+    href: string
+    search: string
+    reload: function
+    hash: string
+    hostname: string
+    protocol: string
+    replace: function
+
+
+===== window.getSelection() [object] =====
+    setPosition: function
+    modify: function
+    setBaseAndExtent: function
+    empty: function
+    getRangeAt: function
+    toString: function
+    baseOffset: number
+    collapseToEnd: function
+    type: string
+    focusNode: object
+    focusOffset: number
+    extentOffset: number
+    anchorNode: object
+    extentNode: object
+    baseNode: object
+    collapseToStart: function
+    anchorOffset: number
+    isCollapsed: boolean
+    collapse: function
+
+
+===== window.history [object] =====
+    back: function
+    forward: function
+    length: number
+    go: function
+
+
+===== window.locationbar [object] =====
+    visible: boolean
+
+
+===== window.menubar [object] =====
+    visible: boolean
+
+
+===== window.personalbar [object] =====
+    visible: boolean
+
+
+===== window.statusbar [object] =====
+    visible: boolean
+
+
+===== window.toolbar [object] =====
+    visible: boolean
 
index 121e1e229165f9bba2df0a7ce92d656b25addb2e..773e909c8280c9de0b685fe02dd6593e40e8cd38 100644 (file)
@@ -15,9 +15,9 @@ function log(s)
 function logObject(objectGetter)
 {
     var o = eval(objectGetter);
-    log("\n\n===== " + objectGetter + " [" + typeof(o) + "]: " + o + "=====\n");
+    log("\n\n===== " + objectGetter + " [" + typeof(o) + "] =====\n");
     for (var p in o) {
-        log(p + ": " + typeof o[p] + "\n");
+        log("    " + p + ": " + typeof o[p] + "\n");
     }
 }