summaryrefslogtreecommitdiff
path: root/test/js
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-04 15:11:19 +0000
committerVincent Sanders <vince@kyllikki.org>2016-02-04 15:11:19 +0000
commitf06ec6390a3286db180ad3fda97baab9e8b54663 (patch)
treef5dbe9d328ab95aeb3f1f5745b347c9a5bfb32d0 /test/js
parent3cc80b6a7d6e926278df56e0005788ab90ae213e (diff)
downloadnetsurf-f06ec6390a3286db180ad3fda97baab9e8b54663.tar.gz
netsurf-f06ec6390a3286db180ad3fda97baab9e8b54663.tar.bz2
add noscript warning to all tests so it is obvious when js is disabled
Diffstat (limited to 'test/js')
-rw-r--r--test/js/assorted-log-doc-write.html1
-rw-r--r--test/js/core.infinite.html1
-rw-r--r--test/js/core.recursion.html1
-rw-r--r--test/js/doc-dom2.html1
-rw-r--r--test/js/doc-write-style.html1
-rw-r--r--test/js/document-url.html1
-rw-r--r--test/js/dom-body-enumerate.html1
-rw-r--r--test/js/dom-doc-cookie.html1
-rw-r--r--test/js/dom-doc-location.html1
-rw-r--r--test/js/dom-document-enumerate.html1
-rw-r--r--test/js/dom-element-attribute.html1
-rw-r--r--test/js/dom-element-childElementCount.html1
-rw-r--r--test/js/dom-element-create.html1
-rw-r--r--test/js/dom-element-firstElementChild.html1
-rw-r--r--test/js/dom-element-lastElementChild.html1
-rw-r--r--test/js/dom-element-next_prev_ElementSibling.html1
-rw-r--r--test/js/dom-element-reflection.html1
-rw-r--r--test/js/dom-getElementsByTagName.html1
-rw-r--r--test/js/dom-html-div-element.html1
-rw-r--r--test/js/dom-node-enumerate.html1
-rw-r--r--test/js/dom-node-nodetype.html1
-rw-r--r--test/js/dom-node-parentNode.html1
-rw-r--r--test/js/event-onclick.html1
-rw-r--r--test/js/event-onload.html1
-rw-r--r--test/js/event-onloadfrombody.html1
-rw-r--r--test/js/event-onloadfrombody2.html1
-rw-r--r--test/js/idl-treatnullas-emptystring.html1
-rw-r--r--test/js/index.html2
-rw-r--r--test/js/inline-doc-write-simple.html1
-rw-r--r--test/js/inline-doc-write.html1
-rw-r--r--test/js/inline-innerhtml.html1
-rw-r--r--test/js/js-fractal.html1
-rw-r--r--test/js/js-primes.html1
-rw-r--r--test/js/location-assign.html1
-rw-r--r--test/js/location-enumerate.html1
-rw-r--r--test/js/location-href.html1
-rw-r--r--test/js/location-putforwards.html1
-rw-r--r--test/js/location-replace.html1
-rw-r--r--test/js/navigator-enumerate.html1
-rw-r--r--test/js/noscript-inline-doc-write.html2
-rw-r--r--test/js/parameter-error.html1
-rw-r--r--test/js/sync-script-css.html1
-rw-r--r--test/js/sync-script-err.html1
-rw-r--r--test/js/sync-script.html1
-rw-r--r--test/js/verify-instanceofness.html1
-rw-r--r--test/js/wikipedia-lcm.html1
-rw-r--r--test/js/window-enumerate.html1
-rw-r--r--test/js/window.lately.html1
48 files changed, 49 insertions, 1 deletions
diff --git a/test/js/assorted-log-doc-write.html b/test/js/assorted-log-doc-write.html
index bb3d477bc..efa93e47c 100644
--- a/test/js/assorted-log-doc-write.html
+++ b/test/js/assorted-log-doc-write.html
@@ -1,6 +1,7 @@
<html>
<head><title>moo</title></head>
<body>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
var tree = (this ===window)
console.log(tree);
diff --git a/test/js/core.infinite.html b/test/js/core.infinite.html
index 7e6b8de7a..84c2ff2a3 100644
--- a/test/js/core.infinite.html
+++ b/test/js/core.infinite.html
@@ -6,6 +6,7 @@
<body>
<h1>Infinite loop</h1>
<p>Before</p>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
function bar(x) { return (x/2) + 1; }
diff --git a/test/js/core.recursion.html b/test/js/core.recursion.html
index 6c2206b22..ac156440a 100644
--- a/test/js/core.recursion.html
+++ b/test/js/core.recursion.html
@@ -6,6 +6,7 @@
<body>
<h1>Infinite recursion</h1>
<p>Before</p>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
function it_keeps_going_and_going_and_going(i) {
diff --git a/test/js/doc-dom2.html b/test/js/doc-dom2.html
index a55962bed..0a153ecb2 100644
--- a/test/js/doc-dom2.html
+++ b/test/js/doc-dom2.html
@@ -5,6 +5,7 @@
</head>
<body>
<h1>DOM getElementById element reference</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<p>This shows the text content of an element obtained using <a href="http://dom.spec.whatwg.org/#dom-document-getelementbyid">document.getElementById</a></p>
<p>Referenced text</p>
<p id="reftext">DOM getElementById element referenced test text</p>
diff --git a/test/js/doc-write-style.html b/test/js/doc-write-style.html
index 642da0a3b..b30dbfffa 100644
--- a/test/js/doc-write-style.html
+++ b/test/js/doc-write-style.html
@@ -6,6 +6,7 @@ p { color: red; background: #fdd; }
</style>
</head>
<body>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
document.write('<style>p#foo { color: green; background: #dfd; }</style>');
</script>
diff --git a/test/js/document-url.html b/test/js/document-url.html
index 2299b5775..daa979e0a 100644
--- a/test/js/document-url.html
+++ b/test/js/document-url.html
@@ -5,6 +5,7 @@
</head>
<body>
<h1>document location and URL interface</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<h2>Document location enumeration</h2>
<script>
diff --git a/test/js/dom-body-enumerate.html b/test/js/dom-body-enumerate.html
index 3ff10545e..ce617ef3f 100644
--- a/test/js/dom-body-enumerate.html
+++ b/test/js/dom-body-enumerate.html
@@ -6,6 +6,7 @@
<body>
<h1>Body element interface enumeration</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
function output(x,y) {
document.body.appendChild(document.createTextNode(x));
diff --git a/test/js/dom-doc-cookie.html b/test/js/dom-doc-cookie.html
index b0e69ffb8..62a9d1f19 100644
--- a/test/js/dom-doc-cookie.html
+++ b/test/js/dom-doc-cookie.html
@@ -4,6 +4,7 @@
</head>
<body>
<h1>Show cookie</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<p><script>document.write(document.cookie);</script>
</body>
</html>
diff --git a/test/js/dom-doc-location.html b/test/js/dom-doc-location.html
index a41c53c31..822201d41 100644
--- a/test/js/dom-doc-location.html
+++ b/test/js/dom-doc-location.html
@@ -5,6 +5,7 @@
</head>
<body>
<h1>Document Location</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<p><b>document.location.href:</b> <script>document.write(document.location.href);</script></p>
</body>
</html>
diff --git a/test/js/dom-document-enumerate.html b/test/js/dom-document-enumerate.html
index 18146ab8a..a968cec31 100644
--- a/test/js/dom-document-enumerate.html
+++ b/test/js/dom-document-enumerate.html
@@ -6,6 +6,7 @@
<body>
<h1>Document interface enumeration</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
function output(x,y) {
document.body.appendChild(document.createTextNode(x));
diff --git a/test/js/dom-element-attribute.html b/test/js/dom-element-attribute.html
index b38218ab0..c2a50b7f7 100644
--- a/test/js/dom-element-attribute.html
+++ b/test/js/dom-element-attribute.html
@@ -7,6 +7,7 @@
<body>
<h1>HTMLElement test of attribute set/remove</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
var e = document.createElement("Div");
var t = document.createTextNode("Some text in a div.");
diff --git a/test/js/dom-element-childElementCount.html b/test/js/dom-element-childElementCount.html
index ec4b7f89a..8a40634da 100644
--- a/test/js/dom-element-childElementCount.html
+++ b/test/js/dom-element-childElementCount.html
@@ -5,6 +5,7 @@
</head>
<body>
<h1>DOM childElementCount reference</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<p><b>head.childElementCount:</b> <script>document.write(document.head.childElementCount);</script></p>
<p><b>body.childElementCount:</b> <script>document.write(document.body.childElementCount);</script></p>
</body>
diff --git a/test/js/dom-element-create.html b/test/js/dom-element-create.html
index 05552c908..2b8ec11be 100644
--- a/test/js/dom-element-create.html
+++ b/test/js/dom-element-create.html
@@ -7,6 +7,7 @@
<body>
<h1>HTMLElement test of attribute set/remove</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
var e = document.createElement("p");
var t = document.createTextNode("Some text in a paragraph.");
diff --git a/test/js/dom-element-firstElementChild.html b/test/js/dom-element-firstElementChild.html
index d240310d0..66519aea1 100644
--- a/test/js/dom-element-firstElementChild.html
+++ b/test/js/dom-element-firstElementChild.html
@@ -5,6 +5,7 @@
</head>
<body>
<h1>DOM firstElementChild reference (body)</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<p><b>head.firstElementChild:</b> <script>document.write(document.head.firstElementChild.textContent);</script></p>
<p><b>body.firstElementChild:</b> <script>document.write(document.body.firstElementChild.textContent);</script></p>
<h1>DOM nodes should be 'null' if not present</h1>
diff --git a/test/js/dom-element-lastElementChild.html b/test/js/dom-element-lastElementChild.html
index a99b2e298..d47d6a670 100644
--- a/test/js/dom-element-lastElementChild.html
+++ b/test/js/dom-element-lastElementChild.html
@@ -5,6 +5,7 @@
</head>
<body>
<h1>DOM lastElementChild reference</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<p><b>head.lastElementChild:</b> <script>document.write(document.head.lastElementChild.textContent);</script></p>
<p><b>body.lastElementChild:</b> <script>document.write(document.body.lastElementChild.textContent);</script></p>
<h1>DOM nodes should be 'null' if not present</h1>
diff --git a/test/js/dom-element-next_prev_ElementSibling.html b/test/js/dom-element-next_prev_ElementSibling.html
index 168319dc8..edab28129 100644
--- a/test/js/dom-element-next_prev_ElementSibling.html
+++ b/test/js/dom-element-next_prev_ElementSibling.html
@@ -6,6 +6,7 @@
</head>
<body>
<h1>DOM previousElementSibling and nextElementSibling reference</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<!-- comment node should be skipped -->
<p><b>head.lastElementChild.previousElementSibling:</b> <script>document.write(document.head.lastElementChild.previousElementSibling.textContent);</script></p>
<!-- comment node should be skipped -->
diff --git a/test/js/dom-element-reflection.html b/test/js/dom-element-reflection.html
index 2ec9d2666..f2a7b4eac 100644
--- a/test/js/dom-element-reflection.html
+++ b/test/js/dom-element-reflection.html
@@ -5,6 +5,7 @@
</head>
<body>
<h1 id="header" class="normal">DOM firstElementChild reference (#header .normal)</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<p><b>body.firstElementChild.id:</b> <script>document.write(document.body.firstElementChild.id);</script></p>
<p><b>body.firstElementChild.className:</b> <script>document.write(document.body.firstElementChild.className);</script></p>
diff --git a/test/js/dom-getElementsByTagName.html b/test/js/dom-getElementsByTagName.html
index 2f03e7b46..462207f90 100644
--- a/test/js/dom-getElementsByTagName.html
+++ b/test/js/dom-getElementsByTagName.html
@@ -5,6 +5,7 @@
</head>
<body>
<h1>Call getElementsByTagName</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<p>p one</p>
<p>p two</p>
<p>p three</p>
diff --git a/test/js/dom-html-div-element.html b/test/js/dom-html-div-element.html
index 75d963b9a..024bc831b 100644
--- a/test/js/dom-html-div-element.html
+++ b/test/js/dom-html-div-element.html
@@ -7,6 +7,7 @@
<body>
<h1>HTMLDivElement test</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
var e = document.createElement("Div");
var t = document.createTextNode("This text should be aligned right.");
diff --git a/test/js/dom-node-enumerate.html b/test/js/dom-node-enumerate.html
index 573e27b4e..ef67cbbeb 100644
--- a/test/js/dom-node-enumerate.html
+++ b/test/js/dom-node-enumerate.html
@@ -6,6 +6,7 @@
<body>
<h1>Node interface enumeration</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
function output(x,y) {
document.body.appendChild(document.createTextNode(x));
diff --git a/test/js/dom-node-nodetype.html b/test/js/dom-node-nodetype.html
index a186787dd..09775f378 100644
--- a/test/js/dom-node-nodetype.html
+++ b/test/js/dom-node-nodetype.html
@@ -4,6 +4,7 @@
<body>
<h1>Node::nodeType</h1>
<h2>These should all resolve to true.</h2>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
document.write("<p>document is Node.DOCUMENT_NODE: ",
document.nodeType === Node.DOCUMENT_NODE, "</p>");
diff --git a/test/js/dom-node-parentNode.html b/test/js/dom-node-parentNode.html
index 927a3701b..cc51d87d6 100644
--- a/test/js/dom-node-parentNode.html
+++ b/test/js/dom-node-parentNode.html
@@ -4,6 +4,7 @@
<body>
<h1>Node::ParentNode</h1>
<h2>These should all resolve to nodes of some kind.</h2>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
document.write("<p>document is: ",
document, "</p>");
diff --git a/test/js/event-onclick.html b/test/js/event-onclick.html
index b2060e517..678a3b493 100644
--- a/test/js/event-onclick.html
+++ b/test/js/event-onclick.html
@@ -2,6 +2,7 @@
<head>
<title>alert onclick example</title>
+<noscript><p>Javascript is disabled</p></noscript>
<script type="text/javascript">
function causealert()
diff --git a/test/js/event-onload.html b/test/js/event-onload.html
index cd9e70543..63f36cb5a 100644
--- a/test/js/event-onload.html
+++ b/test/js/event-onload.html
@@ -2,6 +2,7 @@
<head>
<title>createTextNode onload example</title>
+<noscript><p>Javascript is disabled</p></noscript>
<script type="text/javascript">
function addTextNode()
diff --git a/test/js/event-onloadfrombody.html b/test/js/event-onloadfrombody.html
index be491e6dd..b4348f4a7 100644
--- a/test/js/event-onloadfrombody.html
+++ b/test/js/event-onloadfrombody.html
@@ -6,5 +6,6 @@
<body onload="alert('Running onload')">
<h1>Just look at the log</h1>
+<noscript><p>Javascript is disabled</p></noscript>
</body>
</html>
diff --git a/test/js/event-onloadfrombody2.html b/test/js/event-onloadfrombody2.html
index 542e5ec23..30206a95a 100644
--- a/test/js/event-onloadfrombody2.html
+++ b/test/js/event-onloadfrombody2.html
@@ -6,6 +6,7 @@
<body>
<h1>Just look at the log</h1>
+ <noscript><p>Javascript is disabled</p></noscript>
<script type="text/javascript">
document.body.onload = function() { alert("onload event from IDL attribute"); };
</script>
diff --git a/test/js/idl-treatnullas-emptystring.html b/test/js/idl-treatnullas-emptystring.html
index 386e6072a..4d6978845 100644
--- a/test/js/idl-treatnullas-emptystring.html
+++ b/test/js/idl-treatnullas-emptystring.html
@@ -7,6 +7,7 @@
<body text="blue">
<h1>Ensure that [TreatNullAs=EmptyString] works correctly</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
var e = document.createElement("p");
var t = document.createTextNode("Initial body text:\""+document.body.text+"\" (should be \"blue\")");
diff --git a/test/js/index.html b/test/js/index.html
index 79f5bbca3..f282ca4c8 100644
--- a/test/js/index.html
+++ b/test/js/index.html
@@ -6,6 +6,8 @@
<body>
<h1>JavaScript Tests</h1>
+<noscript><h2>Javascript is disabled</h2></noscript>
+
<h2>General</h2>
<ul>
<li><a href="js-fractal.html">Fractal</a></li>
diff --git a/test/js/inline-doc-write-simple.html b/test/js/inline-doc-write-simple.html
index 17ad8eede..48a2af81a 100644
--- a/test/js/inline-doc-write-simple.html
+++ b/test/js/inline-doc-write-simple.html
@@ -3,6 +3,7 @@
<body>
<h1>Inline Script Simple Document Write</h1>
<p>Before</p>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
document.write("<p>Hello World!<p>");
</script>
diff --git a/test/js/inline-doc-write.html b/test/js/inline-doc-write.html
index 290256d20..19044aac8 100644
--- a/test/js/inline-doc-write.html
+++ b/test/js/inline-doc-write.html
@@ -6,6 +6,7 @@
<body>
<h1>Inline Document Write Test</h1>
<p>Before</p>
+<noscript><p>Javascript is disabled</p></noscript>
<script>document.write("<scr" +"ipt>document.write(\"Goodbye Cruel World\");</scri" + "pt>");</script>
</script>
<p>Afterwards</p>
diff --git a/test/js/inline-innerhtml.html b/test/js/inline-innerhtml.html
index 6bfd6608b..f9277db03 100644
--- a/test/js/inline-innerhtml.html
+++ b/test/js/inline-innerhtml.html
@@ -7,6 +7,7 @@
<h1>Inline Script innerHTML Test</h1>
<p>Before</p>
<p id="demo">some text you should never see</p>
+<noscript><p>Javascript is disabled</p></noscript>
<script type="text/javascript">
document.getElementById("demo").innerHTML="text inserted by script";
</script>
diff --git a/test/js/js-fractal.html b/test/js/js-fractal.html
index d9947e326..40a5a3158 100644
--- a/test/js/js-fractal.html
+++ b/test/js/js-fractal.html
@@ -6,6 +6,7 @@
</head>
<body>
<h1>JavaScript generated mandelbrot set</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
function show_mandelbrot()
{
diff --git a/test/js/js-primes.html b/test/js/js-primes.html
index f21921eb4..4dafb12a7 100644
--- a/test/js/js-primes.html
+++ b/test/js/js-primes.html
@@ -5,6 +5,7 @@
</head>
<body>
<pre>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
var start = new Date().getTime();
diff --git a/test/js/location-assign.html b/test/js/location-assign.html
index 5ed808cc5..b13b13566 100644
--- a/test/js/location-assign.html
+++ b/test/js/location-assign.html
@@ -6,6 +6,7 @@
<body>
<h1>location interface assign</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
location.assign("location-enumerate.html");
</script>
diff --git a/test/js/location-enumerate.html b/test/js/location-enumerate.html
index d455c7535..71f146adf 100644
--- a/test/js/location-enumerate.html
+++ b/test/js/location-enumerate.html
@@ -6,6 +6,7 @@
<body>
<h1>location interface enumeration</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
function output(x,y) {
document.body.appendChild(document.createTextNode(x));
diff --git a/test/js/location-href.html b/test/js/location-href.html
index 28a9e3c02..5d4282662 100644
--- a/test/js/location-href.html
+++ b/test/js/location-href.html
@@ -6,6 +6,7 @@
<body>
<h1>location interface href</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
location.href = "location-enumerate.html";
</script>
diff --git a/test/js/location-putforwards.html b/test/js/location-putforwards.html
index 2b493d07b..f02ec70ca 100644
--- a/test/js/location-putforwards.html
+++ b/test/js/location-putforwards.html
@@ -6,6 +6,7 @@
<body>
<h1>location interface putforwards</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
location = "location-enumerate.html";
</script>
diff --git a/test/js/location-replace.html b/test/js/location-replace.html
index 047cfd467..790a5ef2d 100644
--- a/test/js/location-replace.html
+++ b/test/js/location-replace.html
@@ -6,6 +6,7 @@
<body>
<h1>location interface replace</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
location.replace("location-enumerate.html");
</script>
diff --git a/test/js/navigator-enumerate.html b/test/js/navigator-enumerate.html
index d3203ac16..1b1f1296e 100644
--- a/test/js/navigator-enumerate.html
+++ b/test/js/navigator-enumerate.html
@@ -6,6 +6,7 @@
<body>
<h1>navigator interface enumeration</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
function output(x,y) {
document.body.appendChild(document.createTextNode(x));
diff --git a/test/js/noscript-inline-doc-write.html b/test/js/noscript-inline-doc-write.html
index f310518ff..19044aac8 100644
--- a/test/js/noscript-inline-doc-write.html
+++ b/test/js/noscript-inline-doc-write.html
@@ -6,9 +6,9 @@
<body>
<h1>Inline Document Write Test</h1>
<p>Before</p>
+<noscript><p>Javascript is disabled</p></noscript>
<script>document.write("<scr" +"ipt>document.write(\"Goodbye Cruel World\");</scri" + "pt>");</script>
</script>
-<noscript>Browser has scripting disabled</noscript>
<p>Afterwards</p>
</body>
</html>
diff --git a/test/js/parameter-error.html b/test/js/parameter-error.html
index 02cc33db8..23ae933b9 100644
--- a/test/js/parameter-error.html
+++ b/test/js/parameter-error.html
@@ -3,6 +3,7 @@
<body>
<h1>Insuficient parameters error</h1>
<p>Before</p>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
document.createComment();
</script>
diff --git a/test/js/sync-script-css.html b/test/js/sync-script-css.html
index ecba5be0f..34e616774 100644
--- a/test/js/sync-script-css.html
+++ b/test/js/sync-script-css.html
@@ -6,6 +6,7 @@
<body>
<h1>Sync script Test (css)</h1>
<p>Before</p>
+<noscript><p>Javascript is disabled</p></noscript>
<script src="tst.js"></script>
<p>Afterwards</p>
</body>
diff --git a/test/js/sync-script-err.html b/test/js/sync-script-err.html
index 68e77baea..56a14d424 100644
--- a/test/js/sync-script-err.html
+++ b/test/js/sync-script-err.html
@@ -5,6 +5,7 @@
<body>
<h1>Sync script Test with bad src</h1>
<p>Before</p>
+<noscript><p>Javascript is disabled</p></noscript>
<script src="notthere.js"></script>
<script src="tst.js"></script>
<p>Afterwards</p>
diff --git a/test/js/sync-script.html b/test/js/sync-script.html
index 9692631f7..3e112220e 100644
--- a/test/js/sync-script.html
+++ b/test/js/sync-script.html
@@ -5,6 +5,7 @@
<body>
<h1>Sync script Test</h1>
<p>Before</p>
+<noscript><p>Javascript is disabled</p></noscript>
<script src="tst.js"></script>
<p>Afterwards</p>
</body>
diff --git a/test/js/verify-instanceofness.html b/test/js/verify-instanceofness.html
index 631dc99c4..5062c831a 100644
--- a/test/js/verify-instanceofness.html
+++ b/test/js/verify-instanceofness.html
@@ -4,6 +4,7 @@
<h1>Check instanceof behaviour</h1>
<table cellpadding=2 border=1>
<tr><th>A</th><th>instanceof</th><th>B</th><th>?</th><th>Correct?</th></tr>
+ <noscript><p>Javascript is disabled</p></noscript>
<script>
var checks = [
[ "window", "Window", true ],
diff --git a/test/js/wikipedia-lcm.html b/test/js/wikipedia-lcm.html
index e91cc6182..f2168c9af 100644
--- a/test/js/wikipedia-lcm.html
+++ b/test/js/wikipedia-lcm.html
@@ -4,6 +4,7 @@
</head>
<body>
<h1>Wikipedia lcm script</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script src="wikipedia-lcm.js"></script>
</body>
</html>
diff --git a/test/js/window-enumerate.html b/test/js/window-enumerate.html
index 92a3111ae..daa6b54c4 100644
--- a/test/js/window-enumerate.html
+++ b/test/js/window-enumerate.html
@@ -6,6 +6,7 @@
<body>
<h1>window interface enumeration</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<script>
function output(x,y) {
document.body.appendChild(document.createTextNode(x));
diff --git a/test/js/window.lately.html b/test/js/window.lately.html
index ba312dfe0..227571c88 100644
--- a/test/js/window.lately.html
+++ b/test/js/window.lately.html
@@ -5,6 +5,7 @@
</head>
<body>
<h1>Assign window.lately</h1>
+<noscript><p>Javascript is disabled</p></noscript>
<p>location: <script>document.write(location);</script>
<p>location.protocol: <script>document.write(location.protocol);</script>
<p>equivalence <script>document.write(location.protocol === 'http:');</script>