2 if (parent
== window
) {
3 if (window
.testRunner
) {
4 testRunner
.dumpAsText();
5 testRunner
.waitUntilDone();
7 function replaceHash(frag
) {
8 frames
[0].location
.replace('#' + frag
);
11 var f
= document
.createElement("iframe");
13 f
.onload = function() {
16 if (window
.testRunner
)
17 testRunner
.notifyDone();
19 document
.body
.appendChild(f
);
24 <!-- If we do not crash, then this test was successful. -->