blob: 0acdffaefdf6091d518ae407caf4fea4d0f8252a [file] [log] [blame]
<html>
<head>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
layoutTestController.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>