| <html> |
| |
| <script> |
| if (window.testRunner) { |
| testRunner.dumpAsText(); |
| testRunner.dumpChildFramesAsText(); |
| internals.settings.setScriptEnabled(false); |
| } |
| </script> |
| |
| <noscript> |
| <body> |
| FAIL: This content should not render because whether scripting is enabled |
| (for the purposes of the 'noscript' tag) is locked in when the parser starts. |
| </noscript> |
| |
| The text inside the 'noscript' tag inside the iframe should render: |
| |
| <iframe |
| src="data:text/html,<noscript><body>PASS: This test case verifies that contents inside <noscript> are rendered when Javascript is disabled.</body></noscript>"> |
| </iframe> |
| |
| </body> |
| </html> |