diff --git a/content/base/test/test_bug372964.html b/content/base/test/test_bug372964.html index db83fd6d79a4..cc8ac7d2dd2a 100644 --- a/content/base/test/test_bug372964.html +++ b/content/base/test/test_bug372964.html @@ -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) {