Closed GoogleCodeExporter closed 8 years ago
Fixed in r1146:
Fix problem with addEventListener for load events on flash handler object
_SVGWindow
fake object.
Also, fix this for native handler. Firefox does not appear to populate
SVGDocument.readyState, so we call the listener immediately.
This may not be technically correct. However, if addEventListener is being
called on
the patched window, then the svg script code is already running and so the svg
document is probably ready enough to fire the load event. In practice, this
appears
to be the case. Moreover, calling the listener even if the document is not fully
ready is better than the current behavior of never firing the event at all.
Original comment by grick23@gmail.com
on 30 May 2010 at 1:51
Original issue reported on code.google.com by
grick23@gmail.com
on 30 May 2010 at 1:29