[Webkit-unassigned] [Bug 44575] beforeload event fired twice on <object>s

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 16 14:25:24 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=44575


Marc Hoyois <marc.hoyois at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc.hoyois at gmail.com




--- Comment #6 from Marc Hoyois <marc.hoyois at gmail.com>  2010-09-16 14:25:24 PST ---
I'm developing the ClickToFlash extension for Safari and the fact that some <object>s fire two beforeload events in very quick succession is something I noticed early on. It's relatively common, in fact. It's not random in that a given object seems to always fire it once or always twice, but I have no idea what characteristic of the object is determinant. Here's a real-life example of an embedded Windows Media video that always fires it twice:

http://www.mediacollege.com/video/format/windows-media/streaming/embed.html

Also, I noticed that in the attached example, as soon as you add some attributes to the object (eg. add type="blah"), resizing does not make it fire more events anymore. Doing that increases the count by 2 instead of 1. However, if you add something that actually launches a plugin, like type="application/x-shockwave-flash", the count only increases by 1.

-- 
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