зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 7e8755b2ddce (bug 1594004) for failing xpcshell at test_http2.js on a CLOSED TREE
This commit is contained in:
Родитель
03a2c54d6f
Коммит
5c654c5a3f
|
@ -151,7 +151,6 @@ async function doInit(aMode) {
|
|||
set: [
|
||||
["network.predictor.enabled", false],
|
||||
["network.predictor.enable-prefetch", false],
|
||||
["browser.cache.cache_isolation", false],
|
||||
],
|
||||
});
|
||||
clearAllImageCaches();
|
||||
|
|
|
@ -19,8 +19,6 @@ server.start(-1);
|
|||
// Disable rcwn to make cache behavior deterministic.
|
||||
let rcwnEnabled = Services.prefs.getBoolPref("network.http.rcwn.enabled");
|
||||
Services.prefs.setBoolPref("network.http.rcwn.enabled", false);
|
||||
// Disable additional Http cache isolation.
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
|
||||
registerCleanupFunction(() => {
|
||||
Services.prefs.setBoolPref("network.http.rcwn.enabled", rcwnEnabled);
|
||||
|
|
|
@ -687,12 +687,7 @@
|
|||
# Enable/Disable Origin based cache isolation
|
||||
- name: browser.cache.cache_isolation
|
||||
type: RelaxedAtomicBool
|
||||
|
||||
#if defined(NIGHTLY_BUILD)
|
||||
value: true
|
||||
#else
|
||||
value: false
|
||||
#endif
|
||||
mirror: always
|
||||
|
||||
# -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes.
|
||||
|
|
|
@ -4,9 +4,6 @@
|
|||
* Open a dummy page, then open about:cache and verify the opened page shows up in the cache.
|
||||
*/
|
||||
add_task(async function() {
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["browser.cache.cache_isolation", false]],
|
||||
});
|
||||
const kRoot = getRootDirectory(gTestPath).replace(
|
||||
"chrome://mochitests/content/",
|
||||
"https://example.com/"
|
||||
|
|
|
@ -53,8 +53,6 @@ function contentHandler2(metadata, response) {
|
|||
}
|
||||
|
||||
function run_test() {
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
|
||||
httpServer = new HttpServer();
|
||||
httpServer.registerPathHandler("/content1", contentHandler1);
|
||||
httpServer.registerPathHandler("/content2", contentHandler2);
|
||||
|
|
|
@ -37,8 +37,6 @@ var listener = {
|
|||
};
|
||||
|
||||
function run_test() {
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
|
||||
httpserv = new HttpServer();
|
||||
httpserv.registerPathHandler("/bug482601/nocache", bug482601_nocache);
|
||||
httpserv.registerPathHandler("/bug482601/partial", bug482601_partial);
|
||||
|
|
|
@ -9,6 +9,7 @@ var request_time;
|
|||
var response_time;
|
||||
|
||||
var cache_storage;
|
||||
|
||||
var httpserver = new HttpServer();
|
||||
httpserver.start(-1);
|
||||
|
||||
|
@ -68,8 +69,6 @@ function check_cached_data(aCachedData, aCallback) {
|
|||
}
|
||||
|
||||
function run_test() {
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
|
||||
do_get_profile();
|
||||
evict_cache_entries();
|
||||
|
||||
|
|
|
@ -80,8 +80,6 @@ FinalListener.prototype = {
|
|||
};
|
||||
|
||||
function run_test() {
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
|
||||
httpserv = new HttpServer();
|
||||
httpserv.registerPathHandler("/cl", content_location);
|
||||
httpserv.registerPathHandler("/post", post_target);
|
||||
|
|
|
@ -127,7 +127,6 @@ function finish_test() {
|
|||
|
||||
function run_test() {
|
||||
do_get_profile();
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
|
||||
httpserver = new HttpServer();
|
||||
httpserver.registerPathHandler(randomPath1, redirectHandler_NoStore);
|
||||
|
|
|
@ -79,7 +79,6 @@ function run_test() {
|
|||
do_test_pending();
|
||||
|
||||
Services.prefs.setBoolPref("network.http.rcwn.enabled", false);
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
|
||||
httpserver.registerPathHandler(resource_age_100, resource_age_100_handler);
|
||||
httpserver.registerPathHandler(
|
||||
|
|
|
@ -19,7 +19,6 @@ var httpserver = null;
|
|||
|
||||
function run_test() {
|
||||
// setup test
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
httpserver = new HttpServer();
|
||||
httpserver.registerPathHandler("/test", contentHandler);
|
||||
httpserver.start(-1);
|
||||
|
|
|
@ -739,7 +739,6 @@ function run_test_real() {
|
|||
tests.forEach(f => add_test(f));
|
||||
do_get_profile();
|
||||
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
Services.prefs.setBoolPref("network.predictor.enabled", true);
|
||||
Services.prefs.setBoolPref("network.predictor.cleaned-up", true);
|
||||
Services.prefs.setBoolPref("network.predictor.doing-tests", true);
|
||||
|
|
|
@ -55,7 +55,6 @@ var listener = {
|
|||
};
|
||||
|
||||
function run_test() {
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
httpserv = new HttpServer();
|
||||
httpserv.registerPathHandler("/path/partial", path_partial);
|
||||
httpserv.registerPathHandler("/path/cached", path_cached);
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[invalidate.html]
|
||||
prefs: [browser.cache.cache_isolation:false]
|
||||
[HTTP cache does not invalidate after a failed response from an unsafe request]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ add_task(async function() {
|
|||
set: [
|
||||
["browser.cache.disk.enable", false],
|
||||
["browser.cache.memory.enable", false],
|
||||
["browser.cache.cache_isolation", false],
|
||||
[
|
||||
"network.cookie.cookieBehavior",
|
||||
Ci.nsICookieService.BEHAVIOR_REJECT_TRACKER,
|
||||
|
|
Загрузка…
Ссылка в новой задаче