mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 778420 - Fix test_bug372964. r=bholley
--HG-- extra : rebase_source : 7d87cacdf187e743f40b6d56741e7d71101b58ec
This commit is contained in:
parent
8db3ac2304
commit
24690a0849
@ -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