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

Side by Side Diff: LayoutTests/fast/frames/frame-programmatic-noresize.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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/frame-programmatic-resize.js"></script> 4 <script src="resources/frame-programmatic-resize.js"></script>
5 <script> 5 <script>
6 if (window.testRunner) { 6 if (window.testRunner) {
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 testRunner.dumpChildFramesAsText(); 8 testRunner.dumpChildFramesAsText();
9 } 9 }
10 10
(...skipping 27 matching lines...) Expand all
38 shouldDisallowFrameResizeAfterProcessingFrame(function(frame) { frame.noResi ze = true }); 38 shouldDisallowFrameResizeAfterProcessingFrame(function(frame) { frame.noResi ze = true });
39 shouldAllowFrameResizeAfterProcessingFrame(function(frame) { frame.noResize = false }); 39 shouldAllowFrameResizeAfterProcessingFrame(function(frame) { frame.noResize = false });
40 40
41 log("\nTest disallow then allow frame resize via noresize content attribute (i.e. increase frame width by " + deltaWidth() + " pixels):"); 41 log("\nTest disallow then allow frame resize via noresize content attribute (i.e. increase frame width by " + deltaWidth() + " pixels):");
42 shouldDisallowFrameResizeAfterProcessingFrame(function(frame) { frame.setAtt ribute("noresize", "true") }); 42 shouldDisallowFrameResizeAfterProcessingFrame(function(frame) { frame.setAtt ribute("noresize", "true") });
43 shouldAllowFrameResizeAfterProcessingFrame(function(frame) { frame.removeAtt ribute("noresize") }); 43 shouldAllowFrameResizeAfterProcessingFrame(function(frame) { frame.removeAtt ribute("noresize") });
44 } 44 }
45 </script> 45 </script>
46 </head> 46 </head>
47 <frameset cols="200,*" border="10"> 47 <frameset cols="200,*" border="10">
48 <frame id="testFrame" src="about:blank"> 48 <frame id="testFrame" name="testFrame" src="about:blank">
49 <frame id="results" src="data:text/html,<p id='description'>This test can on ly be run using DRT.</p><pre id='console'></pre>"> 49 <frame id="results" name="results" src="data:text/html,<p id='description'>T his test can only be run using DRT.</p><pre id='console'></pre>">
50 </frameset> 50 </frameset>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698