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
September 21,
Wait until FireFox is a release 2 candidate.
Mobasoft
September 22,
Same error in the latest version FireFox and AW Beta3.
That's a pretty serious problem.
:-/
Karl Thoroddsen
December 6,
Just to add that it didn't work with 1.0.7 of Firefox either.
Karl Thoroddsen
December 6,
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
December 7,
Thanks Jim.
As I am using HTTPRequest through the AW.XML.Table.setURL that would mean patching that method?
December 9,
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)
December 9,