Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / noscript-with-javascript-enabled.html
blob3a475292f3e70f1c711c59f89a9cb2ba86f352f3
1 <html>
2 <head>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.overridePreference("WebKitJavaScriptEnabled", true);
8 </script>
10 <noscript>
11 <script type="text/javascript">
12 var element = document.getElementById("console");
13 element.innerHTML="<p>Failed!</p>";
14 </script>
15 </noscript>
17 </head>
19 <body>
20 This test case verifies that contents inside &lt;noscript&gt; are ignored when Javascript is enabled.
21 <div id="console">
22 Succeeded!
23 </div>
24 </body>
25 </html>