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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 description('Tests for a crash where an event is fired after the page has been n avigated away when the original page is in the page cache.');
2
3 if (window.testRunner)
4 testRunner.overridePreference('WebKitUsesPageCachePreferenceKey', 1);
5 else
6 debug('This test can not be run without the testRunner');
7
8 document.body.onload = function() {
9 navigator.webkitBattery.addEventListener('chargingchange', function() { } );
10 window.location = "resources/event-after-navigation-new.html";
11 }
12
13 window.jsTestIsAsync = true;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698