зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1181683 - Update test_anchor_ping.html to disable mixed active content blocking. ping is now considered mixed active so the mixed content pings in this test would get blocked and fail without this change. r=ttaubert
This commit is contained in:
Родитель
87164ced3c
Коммит
dca6e7eb28
|
@ -40,10 +40,12 @@ let tests = [
|
|||
function* setup() {
|
||||
Services.prefs.setBoolPref("browser.send_pings", true);
|
||||
Services.prefs.setIntPref("browser.send_pings.max_per_link", -1);
|
||||
Services.prefs.setBoolPref("security.mixed_content.block_active_content", false);
|
||||
|
||||
SimpleTest.registerCleanupFunction(() => {
|
||||
Services.prefs.clearUserPref("browser.send_pings");
|
||||
Services.prefs.clearUserPref("browser.send_pings.max_per_link");
|
||||
Services.prefs.clearUserPref("security.mixed_content.block_active_content");
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче