blob: 8c963acb75a99a4072fac4fee28603a0e4e21052 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="resources/frame-programmatic-resize.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
}
window.onload = runTests;
function runTests()
{
if (!window.eventSender)
return; // Cannot run this test without DRT.
description("This tests that a frame with a source code-specified noresize attribute can be resized after programmatically removing its noresize attribute.");
setTestFrameById("testFrame");
shouldAllowFrameResizeAfterProcessingFrame(function(frame) { frame.removeAttribute("noresize") });
}
</script>
</head>
<frameset cols="200,*" border="10">
<frame id="testFrame" name="testFrame" src="about:blank" noresize>
<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>">
</frameset>
</html>