зеркало из https://github.com/mozilla/gecko-dev.git
Bug 855730 - To determine the root of the intermittent failures in the last mochitest from bug 840388, rearrange the tests so that the failing test is not the last test. Do this by first running the tests with the mixed active content allowed and then run them with mixed active content blocked. r=smaug
This commit is contained in:
Родитель
018d0ce011
Коммит
ce64e3c5a9
|
@ -14,7 +14,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=840388
|
|||
var counter = 0;
|
||||
var origBlockActive = SpecialPowers.getBoolPref("security.mixed_content.block_active_content");
|
||||
|
||||
SpecialPowers.setBoolPref("security.mixed_content.block_active_content", true);
|
||||
SpecialPowers.setBoolPref("security.mixed_content.block_active_content", false);
|
||||
var blockActive = SpecialPowers.getBoolPref("security.mixed_content.block_active_content");
|
||||
|
||||
|
||||
|
@ -61,7 +61,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=840388
|
|||
}
|
||||
//call to change the preferences
|
||||
counter++;
|
||||
SpecialPowers.setBoolPref("security.mixed_content.block_active_content", false);
|
||||
SpecialPowers.setBoolPref("security.mixed_content.block_active_content", true);
|
||||
blockActive = SpecialPowers.getBoolPref("security.mixed_content.block_active_content");
|
||||
log("blockActive set to "+blockActive+".");
|
||||
secureTestsStarted = false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче