Index: LayoutTests/fast/dom/Window/window-function-frame-getter-precedence.html |
diff --git a/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence.html b/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence.html |
index 2605854c54e26584f6eac43ac4a490ffcb701391..a56302b12b8d215f8bdb343b1f4ea6de2a09c3ce 100644 |
--- a/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence.html |
+++ b/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence.html |
@@ -6,7 +6,7 @@ |
if (window.testRunner) |
testRunner.dumpAsText(); |
- function log(message, color) |
+ function log(message, color) |
{ |
var paragraph = document.createElement("div"); |
paragraph.appendChild(document.createTextNode(message)); |
@@ -38,7 +38,7 @@ |
iframe.name = functionName; |
document.body.appendChild(iframe); |
- shouldBe("typeof window." + functionName, "object"); |
+ shouldBe("typeof window." + functionName, "function"); |
document.body.removeChild(iframe); |
} |
@@ -57,7 +57,7 @@ |
</script> |
</head> |
<body onload="runTests();"> |
- <p>This tests that a frame with a the same name as function on the window object, has precedence in the lookup.</p> |
+ <p>This tests that functions of the window object and it's prototype have precedence in lookup over frames with name's of the same name.</p> |
<pre id="console"></pre> |
</body> |
</html> |