3 window.finish = function()
5 if (layoutTestController)
6 layoutTestController.notifyDone();
9 window.log = function(message) {
10 document.getElementById("result").innerHTML += message + "<br>";
13 window.failure = function(message) {
14 log("FAIL: " + message);
20 if (window.layoutTestController) {
21 layoutTestController.dumpAsText();
22 layoutTestController.waitUntilDone();
23 layoutTestController.setCanOpenWindows();
24 layoutTestController.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
26 log("open page with data urls");
27 window.open("resources/cached-page-with-data-urls.html");
31 <body onload="test()">
32 <p>This tests that going back in history with page cache enabled is
33 not going to crash/ASSERT when the previous page has data:// URLs.</p>
34 <div id="result"></div>