I think I've found a bug in Prototype.js, but am not sure how/where to report it, since the Rails spinoffs mailing list seems to be in suspended animation (and I can't seem to join it), and Sam Stephenson himself isn't contactable. Frustrating.
I have some code in an iFrame which attempts to update divs in its parent window.
Running this script gives me the following error in Firefox 1.5:
(FWIW I'm using the totally vanilla unaltered 1.4 version of Prototype.js).
After a bit of sniffing around it appears that if I remove the import of the Prototype library, the error disappears. But I need the library to be imported, as I'm using Prototype elsewhere on the page.
Element.update(div2, "");This, however, makes it worse, and I get the following error:
...which appears to be something to do with a bug in XMLHTTPRequest in Mozilla (from Quirksmode).
Aargh. It's driving me up the wall. Anyone got any ideas?