7 if (location
.hash
== "") {
8 if (window
.layoutTestController
) {
9 layoutTestController
.dumpAsText();
10 layoutTestController
.waitUntilDone();
13 history
.pushState({ }, "", window
.location
+ "#1");
14 setTimeout(function() {
15 window
.location
.href
= 'data:text/html, \
16 <html style="height: 200%"> \
19 document.body.offsetWidth; \
20 setTimeout("window.history.back();", 0); \
29 setTimeout(function () {
30 var result
= document
.getElementById("result");
31 result
.innerHTML
= "Success if the web process did not crash."
32 if (window
.layoutTestController
)
33 layoutTestController
.notifyDone();
39 <body onpageshow=
"navigate();">
40 <div id=
"result">Test did not complete
</div>