You need to sign in to do that
Don't have an account?
falkson
Permission denied to call method XMLHttpRequest.open
Hi,
I keep getting this error in Firefox.
uncaught exception: Permission denied to call method XMLHttpRequest.open
anonymoussforceclient.js (line 833)
anonymoussforceclient.js (line 895)
anonymoussforceclient.js (line 1208)
anonymoussforceclient.js (line 739)
I also get "Permision denied" in IE7.
I have read that this is possisbly a Firefox issue but after adding the following line I still get the error.
function init() {
if (window.XMLHttpRequest) sforceClient.appType = Sforce.Application.Type.FireFox;
}
This function is called from the Body oload.
I beliveve this functionality worked in IE6 but I cannot vouch for it.
Any assistance would be appreciated.
MF
Message Edited by falkson on 10-20-2006 11:14 AM
Message Edited by falkson on 10-20-2006 11:15 AM
This works in IE 6 and the previous version of Firefox.
Is it a problem with the new firefox?
Peter
To get around this you need to disable cross site scripting protection within hidden preferences in Firefox or other Mozilla based browsers and add a line of code to your javascript library:
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
I've posted details on how to fix Permission denied to call method XMLHttpRequest.open with respect to the Ajax Toolkit on my blog. The solution should be workable for your situation as well.