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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.enableAutoResizeMode(10, 10, 1000, 1000); 6 testRunner.enableAutoResizeMode(10, 10, 1000, 1000);
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 testRunner.dumpChildFramesAsText(); 8 testRunner.dumpChildFramesAsText();
9 testRunner.waitUntilDone(); 9 testRunner.waitUntilDone();
10 } 10 }
11 11
12 function run() 12 function run()
13 { 13 {
14 var frameWindow = document.getElementById("frame").contentWindow; 14 var frameWindow = window.frames['frame'];
15 frameWindow.postMessage("shouldBe('document.body.scrollWidth', 400)", "*"); 15 frameWindow.postMessage("shouldBe('document.body.scrollWidth', 400)", "*");
16 frameWindow.postMessage("shouldBe('document.body.scrollHeight', 200)", "*"); 16 frameWindow.postMessage("shouldBe('document.body.scrollHeight', 200)", "*");
17 frameWindow.postMessage("log('DONE'); if (window.testRunner) testRunner.noti fyDone();", "*"); 17 frameWindow.postMessage("log('DONE'); if (window.testRunner) testRunner.noti fyDone();", "*");
18 } 18 }
19 </script> 19 </script>
20 </head> 20 </head>
21 <body onload="run()" style="width:400px; height:200px; background-color:yellow;" > 21 <body onload="run()" style="width:400px; height:200px; background-color:yellow;" >
22 <iframe id="frame" style="width:100%; height:100%;" src="resources/iframe.html"> 22 <iframe name="frame" style="width:100%; height:100%;" src="resources/iframe.html ">
23 </iframe> 23 </iframe>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« 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