3 if (window
.testRunner
) {
4 testRunner
.waitUntilDone();
5 testRunner
.dumpAsText();
13 state
= "loading-plugin";
14 var frame
= document
.getElementsByTagName("iframe")[0]
15 frame
.addEventListener("load", next
, false);
16 frame
.src
= "data:application/x-webkit-test-netscape,alertwhenloaded";
18 case "loading-plugin":
19 state
= "moving-backward";
22 case "moving-backward":
23 state
= "moving-forward";
26 case "moving-forward":
28 testRunner
.notifyDone();
36 window
.onload = function() {
37 // We need to wait for after the load event so that we get a new history
38 // entry when navigating the frame.
42 <iframe src=
"data:text/html,Waiting..."></iframe>