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

Side by Side Diff: LayoutTests/fast/dom/Geolocation/script-tests/no-page-cache.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 that pages that use Geolocation are not put in the page cache .<br><br>Currently, Geolocation does not work with the page cache so pages that use Geolocation are explicitly prevented from entering the cache. This test chec ks for accidental enabling of the page Cache for Geolocation. See https://bugs.w ebkit.org/show_bug.cgi?id=43956 for details.");
2
3 if (window.testRunner) {
4 testRunner.waitUntilDone();
5 testRunner.setCanOpenWindows();
6 testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
7 } else
8 debug('This test can not be run without the testRunner');
9
10 var pageOneOnloadCount = 0;
11 function reportPageOneOnload() {
12 ++pageOneOnloadCount;
13 debug('resources/cached-page-1.html fired, count = ' + pageOneOnloadCount);
14 if (pageOneOnloadCount == 2) {
15 finishJSTest();
16 }
17 return pageOneOnloadCount;
18 }
19
20 debug("Main page opening resources/cached-page-1.html");
21 window.open("resources/cached-page-1.html");
22
23 window.jsTestIsAsync = true;
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Geolocation/no-page-cache-expected.txt ('k') | LayoutTests/fast/events/onunload-back-to-page-cache.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698