[Webkit-unassigned] [Bug 36297] getSVGDocument method of an Object element returns undefined in unload

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 5 01:45:02 PST 2011


--- Comment #7 from Rob Crowther <robertc at boogdesign.com>  2011-12-05 01:45:02 PST ---
I'm already in window.onload in the testcase, why is there no document loaded yet?  If you attach to the load event on the embed (or object) element itself, you get the same result.  Is it really necessary to resort to setTimeout hacks?  Why are these events firing if the content isn't yet loaded?

If you try the testcase in Firefox or Opera there will be a document loaded when getSVGDocument is called.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list