Bug 778420 - Fix test_bug372964. v1 r=bholley

--HG--
extra : rebase_source : 1c2e55604e0cd8dc0476463ed58346a1e326d7e4
This commit is contained in:
Gijs Kruitbosch 2012-08-06 22:15:28 +02:00
parent 5f0496dcbf
commit 3ec06da029

View File

@ -31,9 +31,10 @@ function eventHandler(evt) {
function test(trusted, type, removeAddedListener, removeSetListener, allowUntrusted) {
if (trusted) {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var x1 = SpecialPowers.wrap(new XMLHttpRequest());
} else {
x1 = new XMLHttpRequest();
}
var x1 = new XMLHttpRequest();
var handlerCount = 0;
if (trusted || allowUntrusted || allowUntrusted == undefined) {