3 if (location
.search
.substring(1).length
== 0) {
4 sessionStorage
.testStage
= 0;
5 if (window
.testRunner
) {
6 testRunner
.dumpAsText();
7 testRunner
.dumpBackForwardList();
8 testRunner
.waitUntilDone();
12 // Location changes need to happen outside the onload handler to generate history entries.
13 setTimeout(function() {
14 switch (sessionStorage
.testStage
++) {
25 history
.pushState(null, null);
26 if (window
.testRunner
)
27 testRunner
.notifyDone();
32 onunload = function() {
37 You should NOT see an active forward button.