:: Forum >>
Trouble with new 2.0 beta and Firefox
Hi Guys,
I am pointing to a http source that dumps CSV. works in IE but does not work in Firefox 1.0.6
Generates the following Error:
Error: uncaught exception: Permission denied to call method XMLHttpRequest.open
any ideas?
Ramesh
Wednesday, September 21, 2005
Wait until FireFox is a release 2 candidate.
Mobasoft
Thursday, September 22, 2005
Same error in the latest version FireFox and AW Beta3.
That's a pretty serious problem.
:-/
Karl Thoroddsen
Tuesday, December 6, 2005
Just to add that it didn't work with 1.0.7 of Firefox either.
Karl Thoroddsen
Tuesday, December 6, 2005
Do what I did and use the native HTTPRequest built into FireFox and not the AW version. I have a function I use for all browsers to do "AJAX" that has worked well for me:
function myHTTPRequest(url) {
req = false;
if(window.XMLHttpRequest) {
try {
req = new XMLHttpRequest();
}
catch(e) {
req = false;
}
}
else
if(window.ActiveXObject) {
try {
req = new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e) {
try {
req = new ActiveXObject("Microsoft.XMLHTTP");
}
catch(e)
{
req = false;
}
}
}
if(req)
{
req.open("GET", url, false);
req.send("");
return req.responseText;
}
}
Jim Hunter
Wednesday, December 7, 2005
Thanks Jim.
As I am using HTTPRequest through the AW.XML.Table.setURL that would mean patching that method?
Friday, December 9, 2005
Karl,
are you trying to send request to a different domain/subdomain/port? Firefox and IE have very different rules for cross-domain security and what works in IE not necessarily works in FF and vice versa.
Alex (ActiveWidgets)
Friday, December 9, 2005
This topic is archived.
Back to support forum
Forum search