4 testRunner.dumpAsText();
6 window.onmessage = function(evt)
8 if (evt.data == "setHistoryLength") {
12 alert("Unknown message.");
15 function setHistoryLength()
17 alert("About to shadow child window's history object: " + window.history);
19 alert("Child window's history object should not be shadowed: " + window.history);
20 parent.window.postMessage("done", "*");