зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 4c50773d59a2 (bug 1594004) for mochitest failures on test_postMessage_solidus.html . CLOSED TREE
This commit is contained in:
Родитель
abfef73a2b
Коммит
7d30f98797
|
@ -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/"
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
*/
|
||||
|
||||
const { HttpServer } = ChromeUtils.import("resource://testing-common/httpd.js");
|
||||
var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "URL", function() {
|
||||
return "http://localhost:" + httpServer.identity.primaryPort + "/content";
|
||||
|
@ -80,10 +79,6 @@ function check_has_alt_data_in_index(aHasAltData) {
|
|||
}
|
||||
|
||||
function run_test() {
|
||||
if (!inChildProcess()) {
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
}
|
||||
|
||||
do_get_profile();
|
||||
httpServer = new HttpServer();
|
||||
httpServer.registerPathHandler("/content", contentHandler);
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
*/
|
||||
|
||||
const { HttpServer } = ChromeUtils.import("resource://testing-common/httpd.js");
|
||||
var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "URL", function() {
|
||||
return "http://localhost:" + httpServer.identity.primaryPort + "/content";
|
||||
|
@ -69,9 +68,6 @@ function check_has_alt_data_in_index(aHasAltData) {
|
|||
}
|
||||
|
||||
function run_test() {
|
||||
if (!inChildProcess()) {
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
}
|
||||
do_get_profile();
|
||||
httpServer = new HttpServer();
|
||||
httpServer.registerPathHandler("/content", contentHandler);
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -1407,7 +1407,6 @@ function run_test() {
|
|||
prefs.setBoolPref("network.http.spdy.enabled.http2", true);
|
||||
prefs.setBoolPref("network.http.altsvc.enabled", true);
|
||||
prefs.setBoolPref("network.http.altsvc.oe", true);
|
||||
prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
prefs.setCharPref(
|
||||
"network.dns.localDomains",
|
||||
"foo.example.com, bar.example.com"
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -25,8 +25,6 @@ var pps = Cc["@mozilla.org/network/protocol-proxy-service;1"].getService();
|
|||
var prefs = Cc["@mozilla.org/preferences-service;1"].getService(
|
||||
Ci.nsIPrefBranch
|
||||
);
|
||||
var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
|
||||
/**
|
||||
* Test nsIProtocolHandler that allows proxying, but doesn't allow HTTP
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -11,7 +11,6 @@ var cacheFlushObserver = {
|
|||
var currentThread = Services.tm.currentThread;
|
||||
|
||||
function run_test() {
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
do_get_profile();
|
||||
do_await_remote_message("flush").then(() => {
|
||||
Services.cache2
|
||||
|
|
|
@ -9,7 +9,6 @@ var cacheFlushObserver = {
|
|||
};
|
||||
|
||||
function run_test() {
|
||||
Services.prefs.setBoolPref("browser.cache.cache_isolation", false);
|
||||
do_get_profile();
|
||||
do_await_remote_message("flush").then(() => {
|
||||
Services.cache2
|
||||
|
|
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче