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:
Tanvi Vyas 2015-08-03 15:25:24 -07:00
Родитель 87164ced3c
Коммит dca6e7eb28
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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");
});
},