WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
66870
Don't create plugin document for <embed> element inside HTML.
https://bugs.webkit.org/show_bug.cgi?id=66870
Summary
Don't create plugin document for <embed> element inside HTML.
Yongjun Zhang
Reported
2011-08-24 11:23:06 PDT
In WebKit nightly, a intermedia plugin document will be created for the following HTML: <html><body> <embed src="
http://www.tumblr.com/video_file/7780794748/tumblr_lok02dYCYQ1qbygpz
"> </body></html> and the DOM is changed to: <embed> <html> <body> <video>... </body> </html> </embed> We should not create the plugin document if the embed element is already inside a body.
Attachments
Add attachment
proposed patch, testcase, etc.
Yongjun Zhang
Comment 1
2011-08-24 11:23:25 PDT
<
rdar://problem/10015932
>
Eric Seidel (no email)
Comment 2
2011-08-24 12:51:01 PDT
I'm confused. This is a performance issue?
Andy Estes
Comment 3
2011-08-24 12:55:22 PDT
There are a few problems here as I see it: 1) It is incorrect per the spec to allow <embed> resources to load as subframes. Only <object> elements should be allowed to load as a subframe. 2) We don't handle well the case where we don't know if an <embed> or <object> resource should load in a plug-in up front. Currently we handle this case by going down the subframe loading path, then creating a plug-in document once we get a MIME type from the response. It'd be better if we just created the plug-in at this point instead of doing the plugin-inside-iframe thing we currently do. So I think there are really two bugs here.
Alexey Proskuryakov
Comment 4
2022-07-01 11:36:14 PDT
Mass closing plug-in bugs, as plug-in support has been removed from WebKit. Please comment and/or reopen if this still affects WebKit in some way.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug