Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / frame-with-noresize-can-be-resized-after-setting-noResize-to-false.html
blob3a8190f7ba706d6dd2f22654b9a4c9326c6d7400
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="resources/frame-programmatic-resize.js"></script>
5 <script>
6 if (window.testRunner) {
7 testRunner.dumpAsText();
8 testRunner.dumpChildFramesAsText();
11 window.onload = runTests;
13 function runTests()
15 if (!window.eventSender)
16 return; // Cannot run this test without DRT.
18 description("This tests that a frame with a source code-specified noresize attribute can be resized after setting frame.noResize to false.");
19 setTestFrameById("testFrame");
20 shouldAllowFrameResizeAfterProcessingFrame(function(frame) { frame.noResize = false });
22 </script>
23 </head>
24 <frameset cols="200,*" border="10">
25 <frame id="testFrame" name="testFrame" src="about:blank" noresize>
26 <frame id="results" name="results" src="data:text/html,<p id='description'>This test can only be run using DRT.</p><pre id='console'></pre>">
27 </frameset>
28 </html>