Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: LayoutTests/batterystatus/script-tests/event-after-navigation.js

Issue 14495004: Remove left-over PageCache stuff (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/batterystatus/script-tests/event-after-navigation.js
diff --git a/LayoutTests/batterystatus/script-tests/event-after-navigation.js b/LayoutTests/batterystatus/script-tests/event-after-navigation.js
deleted file mode 100644
index 2338d2e5c3274cdd6746d7b9b1745c705d368e67..0000000000000000000000000000000000000000
--- a/LayoutTests/batterystatus/script-tests/event-after-navigation.js
+++ /dev/null
@@ -1,13 +0,0 @@
-description('Tests for a crash where an event is fired after the page has been navigated away when the original page is in the page cache.');
-
-if (window.testRunner)
- testRunner.overridePreference('WebKitUsesPageCachePreferenceKey', 1);
-else
- debug('This test can not be run without the testRunner');
-
-document.body.onload = function() {
- navigator.webkitBattery.addEventListener('chargingchange', function() { } );
- window.location = "resources/event-after-navigation-new.html";
-}
-
-window.jsTestIsAsync = true;

Powered by Google App Engine
This is Rietveld 408576698