http/tests/navigation/https-in-page-cache.html fails with process swapping on.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Jun 2018 19:07:02 +0000 (19:07 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Jun 2018 19:07:02 +0000 (19:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=186532

Reviewed by Geoffrey Garen.

* http/tests/navigation/resources/https-in-page-cache-1.php:
* http/tests/navigation/resources/https-in-page-cache-2.php:
* http/tests/navigation/resources/https-in-page-cache-3.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232724 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/navigation/resources/https-in-page-cache-1.php
LayoutTests/http/tests/navigation/resources/https-in-page-cache-2.php
LayoutTests/http/tests/navigation/resources/https-in-page-cache-3.html

index 856584f..5b4eeaa 100644 (file)
@@ -1,3 +1,14 @@
+2018-06-11  Brady Eidson  <beidson@apple.com>
+
+        http/tests/navigation/https-in-page-cache.html fails with process swapping on.
+        https://bugs.webkit.org/show_bug.cgi?id=186532
+
+        Reviewed by Geoffrey Garen.
+
+        * http/tests/navigation/resources/https-in-page-cache-1.php:
+        * http/tests/navigation/resources/https-in-page-cache-2.php:
+        * http/tests/navigation/resources/https-in-page-cache-3.html:
+
 2018-06-11  Antti Koivisto  <antti@apple.com>
 
         REGRESSION (Mojave): LayoutTest http/tests/cache/disk-cache/disk-cache-media-small.html is failing
index 0f717e9..0b19501 100644 (file)
@@ -3,6 +3,9 @@ header("cache-control: no-store");
 ?>
 <script>
 
+if (window.testRunner)
+    testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
+
 function nextTest() {
        if (window.sessionStorage.https_in_page_cache_started)
                delete window.sessionStorage.https_in_page_cache_started;
index 45ac767..453164a 100644 (file)
@@ -3,6 +3,9 @@ header("cache-control: no-cache");
 ?>
 <script>
 
+if (window.testRunner)
+    testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
+
 function nextTest() {
        if (window.sessionStorage.https_in_page_cache_started)
                delete window.sessionStorage.https_in_page_cache_started;
index 5b1cfc6..e6305a9 100644 (file)
@@ -1,4 +1,6 @@
 <script>
+if (window.testRunner)
+    testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
 
 window.onpageshow = function(evt) {
        if (!evt.persisted)