Bug 732792. (Av1) test_bug674770-2.html: Set "middlemouse.contentLoadURL" preference too. r=ehsan.

This commit is contained in:
Serge Gautherie 2012-03-06 18:14:44 +01:00
parent b42ca54745
commit 06584f5688

View File

@ -49,6 +49,7 @@ function clickEventHnalder(aEvent)
// are a lot of functions and SimpleTest.executeSoon()s.
SimpleTest.waitForFocus(function() {
SpecialPowers.setBoolPref("middlemouse.contentLoadURL", false);
SpecialPowers.setBoolPref("middlemouse.paste", true);
frameWindow = iframe.contentWindow;
@ -384,7 +385,9 @@ function runBodyEditableDocumentTests2()
function cleanup()
{
SpecialPowers.clearUserPref("middlemouse.contentLoadURL");
SpecialPowers.clearUserPref("middlemouse.paste");
SimpleTest.finish();
}