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

Side by Side Diff: LayoutTests/fast/frames/frame-with-noresize-can-be-resized-after-removal-of-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
11 window.onload = runTests; 11 window.onload = runTests;
12 12
13 function runTests() 13 function runTests()
14 { 14 {
15 if (!window.eventSender) 15 if (!window.eventSender)
16 return; // Cannot run this test without DRT. 16 return; // Cannot run this test without DRT.
17 17
18 description("This tests that a frame with a source code-specified noresize a ttribute can be resized after programmatically removing its noresize attribute." ); 18 description("This tests that a frame with a source code-specified noresize a ttribute can be resized after programmatically removing its noresize attribute." );
19 setTestFrameById("testFrame"); 19 setTestFrameById("testFrame");
20 shouldAllowFrameResizeAfterProcessingFrame(function(frame) { frame.removeAtt ribute("noresize") }); 20 shouldAllowFrameResizeAfterProcessingFrame(function(frame) { frame.removeAtt ribute("noresize") });
21 } 21 }
22 </script> 22 </script>
23 </head> 23 </head>
24 <frameset cols="200,*" border="10"> 24 <frameset cols="200,*" border="10">
25 <frame id="testFrame" src="about:blank" noresize> 25 <frame id="testFrame" name="testFrame" src="about:blank" noresize>
26 <frame id="results" src="data:text/html,<p id='description'>This test can on ly be run using DRT.</p><pre id='console'></pre>"> 26 <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>">
27 </frameset> 27 </frameset>
28 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698