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

Unified Diff: LayoutTests/fast/autoresize/autoresize-with-iframe.html

Issue 187103002: id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back no-referrer-subframe.html Created 6 years, 9 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/css-generated-content/positioned-div-with-floating-after-content-crash.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/autoresize/autoresize-with-iframe.html
diff --git a/LayoutTests/fast/autoresize/autoresize-with-iframe.html b/LayoutTests/fast/autoresize/autoresize-with-iframe.html
index c1abe078944f3316498317b25fc094878cc69cab..aff02c660789f16c6ce924434308b0a3c1082e61 100644
--- a/LayoutTests/fast/autoresize/autoresize-with-iframe.html
+++ b/LayoutTests/fast/autoresize/autoresize-with-iframe.html
@@ -11,7 +11,7 @@ if (window.testRunner) {
function run()
{
- var frameWindow = document.getElementById("frame").contentWindow;
+ var frameWindow = window.frames['frame'];
frameWindow.postMessage("shouldBe('document.body.scrollWidth', 400)", "*");
frameWindow.postMessage("shouldBe('document.body.scrollHeight', 200)", "*");
frameWindow.postMessage("log('DONE'); if (window.testRunner) testRunner.notifyDone();", "*");
@@ -19,7 +19,7 @@ function run()
</script>
</head>
<body onload="run()" style="width:400px; height:200px; background-color:yellow;">
-<iframe id="frame" style="width:100%; height:100%;" src="resources/iframe.html">
+<iframe name="frame" style="width:100%; height:100%;" src="resources/iframe.html">
</iframe>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/fast/css-generated-content/positioned-div-with-floating-after-content-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698