<html>
<head>
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.dumpChildFramesAsText();
    internals.settings.setScriptEnabled(false);
}

function shouldNotBeExecuted()
{
    var divElement = document.createElement("div");
    divElement.innerHTML = "This text should not present";
    document.body.appendChild(divElement);
}

</script>
</head>

<body onLoad="shouldNotBeExecuted();">
    <iframe src="resources/xslt-transform-with-javascript-disabled.xml"/>
</body>
</html>
