Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
type="text/css"?>
<!--
-->
<window title="Mozilla Bug 504311"
onload="doTest()">
target="_blank">Mozilla Bug 514660</a>
<textarea></textarea>
</body>
<!-- test code goes here -->
<script type="application/javascript">
<![CDATA[
SimpleTest.waitForExplicitFinish();
function doTest()
{
var viewer = window.docShell.docViewer;
viewer.authorStyleDisabled = true;
document.documentElement.getBoundingClientRect();
ok(true, "Didn't crash");
viewer.authorStyleDisabled = false;
SimpleTest.finish();
}
]]></script>
</window>