<html> | |
<head> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.overridePreference("WebKitJavaScriptEnabled", true); | |
} | |
</script> | |
<noscript> | |
<script type="text/javascript"> | |
var element = document.getElementById("console"); | |
element.innerHTML="<p>Failed!</p>"; | |
</script> | |
</noscript> | |
</head> | |
<body> | |
This test case verifies that contents inside <noscript> are ignored when Javascript is enabled. | |
<div id="console"> | |
Succeeded! | |
</div> | |
</body> | |
</html> |