[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 11:48:17 PST 2011


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





--- Comment #10 from Alexey Proskuryakov <ap at webkit.org>  2011-12-05 11:48:17 PST ---
This might be worth discussing with the standards community. Let me add some more background.

Object and embed element behavior is primarily tailored for plug-ins, and you don't get much insight into what happens inside a plug-in after fetching its top resource from the network. For many plug-ins, that top resource could be just a small handle to the real data. 

Plug-ins that do media playback are different yet, the load event definitely shouldn't be delayed until after the media file loads. Such plug-ins often don't even attempt to hold the whole media file locally. It's the same as <video> and <audio> elements in HTML5, which also don't delay the load event.

So, it seems that HTML5 is not quite right when it requires that loading plug-in resource must delay the load event. That cannot and shouldn't be done for media at least.

Providing different behavior for plug-ins and for types handled internally by the engine seems inconsistent, but could be considered.

Practically, I would suggest putting the SVG document in an iframe, not in an embed.

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