On Oct 14, 10:05 am, John J Barton <
johnjbar...@johnjbarton.com>
wrote:
> However none of this changes the basic problem facing Curtis: no
> change to Firebug will really allow prototype to be used in Firefox.
>
> John.
John, I must object to your line of reasoning in this thread. I'm the
first to concede that using Prototype in environments it wasn't meant
for (like a XUL context) can have odd side effects, but I think it's a
bit premature to label this an issue of Prototype's incursion into
native objects when the OP has given no steps to reproduce. If
everything you say is true — if Firebug does index-only looping and
makes "hasOwnProperty" checks — then I don't see how it could be
related to for..in loops. I wonder if something more insidious is
going on.
This doesn't mean it's your duty to investigate, of course. Curtis,
can you try to remove the non-Ajax-related stuff from the copy of
Prototype that this SOAP library depends on? Specifically, you should
be able to remove everything relating to arrays, plus everything that
occurs after the Ajax section of the file. If those parts are removed,
it'd help diagnose whether for..in on arrays is the true problem.
Cheers,
Andrew