blob: 3a475292f3e70f1c711c59f89a9cb2ba86f352f3 [file] [log] [blame]
<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 &lt;noscript&gt; are ignored when Javascript is enabled.
<div id="console">
Succeeded!
</div>
</body>
</html>