I'm seeing a discrepancy that only happens in the Firefox browser
(tested on 3.6.3). I'd appreciate any suggestions on whether this is a
bug in Firefox or a bug in Prototype (1.6.1).

If parent.html contains

<head><script src="prototype.js"></script></head>
<body><iframe src="child.html"></iframe></body>

and child.html contains


In all browsers but Firefox, loading parent.html will show the correct


while Firefox instead converts the array into a hash:

  {"0": 1, "1": 2, "2": 3}

One fix I've found is to also include Prototype in the child

  <head><script src="prototype.js"></script></head>

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to