4 <script src=
"resources/frame-programmatic-resize.js"></script>
6 if (window
.testRunner
) {
7 testRunner
.dumpAsText();
8 testRunner
.dumpChildFramesAsText();
11 window
.onload
= 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 programmatically removing its noresize attribute.");
19 setTestFrameById("testFrame");
20 shouldAllowFrameResizeAfterProcessingFrame(function(frame
) { frame
.removeAttribute("noresize") });
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>">