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

Unified Diff: LayoutTests/fast/dom/Window/window-function-frame-getter-precedence.html

Issue 1121703002: bindings: Uses V8's named property interceptor for Window. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 5 years, 4 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Window/window-function-frame-getter-precedence-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Window/window-function-frame-getter-precedence-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698