Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / loader / stateobjects / state-attribute-popstate-event.html
index f193d01..eb88105 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html>
 <head>
-    <script src="../../js/resources/js-test-pre.js"></script>
+    <script src="../../../resources/js-test.js"></script>
 </head/>
 <body>
 <script>
@@ -36,7 +36,9 @@
     }
 
     debug("Go back");
-    history.back();
+    window.onload = function() {
+        history.back();
+    };
 </script>
 </body>
 </html>