You need to sign in to do that
Don't have an account?

"uncaught exception: Permission denied to call method XMLHttpRequest.open" Firefox only error.
Hi, just wondering if there have been any recent changes to beta 3.3... Last week, my standalone reports (non S-Control) were working fine in both Firefox and IE, but now none of the Firefox reports will work and "uncaught exception: Permission denied to call method XMLHttpRequest.open" is the error I'm getting through the javascript console.
Any ideas?
Thanks,
-Zach
Any ideas?
Thanks,
-Zach
Thanks,
-Zach
Code:
Right, there was a regression. I have fixed the bug and have queued the fix for publication, but have not recieved a publication commitment yet.
The workaround is to add this line of code to the function that runs for the body onload event.
if (window.XMLHttpRequest) sforceClient.appType = Sforce.Application.Type.FireFox;
This should be the first line of code in your body onload event handler.
P.S. Is the browsersupport.js file going to be considered "part of" the Ajax client, version controlled, etc. whenever this eventually goes Production?
in addition to DevAngel's
if (window.XMLHttpRequest) sforceClient.appType = Sforce.Application.Type.FireFox;
so I can get on with development.
Richard C
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.