5 if (window
.testRunner
) {
6 testRunner
.dumpAsText();
7 testRunner
.waitUntilDone();
12 var script
= document
.createElement("script");
13 script
.setAttribute("src", "resources/random-no-store.php");
14 document
.body
.appendChild(script
);
19 setInterval(function() {
20 if (count
== 1 && document
.getElementsByTagName("p").length
== 1) {
23 } else if (document
.getElementsByTagName("p").length
== 2) {
24 document
.write(document
.getElementsByTagName("p")[0].innerHTML
== document
.getElementsByTagName("p")[1].innerHTML
?
25 "FAIL<br>" : "PASS<br>");
26 if (window
.testRunner
)
27 testRunner
.notifyDone();