http/tests/navigation/redirect-on-back-updates-history-item.html leaks a cookie
[WebKit-https.git] / LayoutTests / http / tests / navigation / resources / redirect-updates-history-item-done.html
index b310309bdf0f21137ee6f690463726259cfbc6de..3a88ba68dde5fd41f631859e43d5cb0b10756c22 100644 (file)
@@ -1,8 +1,10 @@
 <script src="redirect-updates-history-item.js"></script>
 <script>
+clearLocationCookie();
+
 onload = function() {
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 </script>
 <body>PASS</body>