mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
Bug 778420 - Fix test_bug372964. v1 r=bholley
--HG-- extra : rebase_source : 1c2e55604e0cd8dc0476463ed58346a1e326d7e4
This commit is contained in:
parent
5f0496dcbf
commit
3ec06da029
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user