This error message usually refers to when you try to wrap your own function, for example, "eval"
If you do something like this -
(function() { var t = eval; eval = function() { t.apply(window, arguments); } }();
Firefox won't let you use eval anymore because the function signature no longer matches its internal breakpoint, and it considers this insidious tactic. I think this is completely stupid and violates the very idea of ββjavascript flexibility, but this is what we are now faced with.
The same applies to var x = document.createElement; calling x ('div') will make firefox whine like an emo teenager.
My assumption is that when xmlR is not passed to the second ajax request, the request fails and so your success block is never called. I know that you mention that you tried the call without a success block, and you still saw the message, but maybe you can try again with an empty success function to confirm.
I would look at what happens in displayResult and loadXMLDoc, and I believe that illegal security checks have recently been added in FireFox, so if you can try an older version like 3.0, you can confirm this difference.
Otherwise, I do not see anything vivid in the code that you provided, and sending the XML data is completely correct using ajax.
Marcus pope
source share