Bug 48885

Summary: Plugins specified via an OBJECT tag with a valid CLSID and a valid mime type don't load
Product: WebKit Reporter: Ananta Iyengar <ananta>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: abarth, aestes, dpranke, fishd
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
Test case none

Ananta Iyengar
Reported 2010-11-02 16:30:08 PDT
This bug was logged against Chromium originally http://code.google.com/p/chromium/issues/detail?id=61603 Please load the attached testcase in a nightly build of Safari or Chromium and you will see the problem. This appears to have regressed in webkit revision 70748 2010-10-27 Andy Estes <aestes@apple.com> Reviewed by Adam Barth. r66156 broke AtlasCT library, formerly affected http://map.d.co.il/ https://bugs.webkit.org/show_bug.cgi?id=45679 This patch removes WebKit's map of classid values to MIME types. It also changes the behavior of object elements to render fallback content when a non-empty classid attribute is specified, which is the behavior HTML5 specifies when a UA encounters a classid it doesn't understand. Test: fast/replaced/object-with-non-empty-classid-triggers-fallback.html * html/HTMLObjectElement.cpp: Remove serviceTypeForClassId(), createClassIdToTypeMap(), and the ClassIdToTypeMap typedef. (WebCore::HTMLObjectElement::updateWidget): Do not call serviceTypeForClassId() when there is no type attribute, and render fallback content if the classid attribute is non-empty.
Attachments
Test case (432 bytes, text/html)
2010-11-02 16:30 PDT, Ananta Iyengar
no flags
Ananta Iyengar
Comment 1 2010-11-02 16:30:39 PDT
Created attachment 72765 [details] Test case
Andy Estes
Comment 2 2010-11-02 16:36:04 PDT
*** This bug has been marked as a duplicate of bug 48757 ***
Note You need to log in before you can comment on or make changes to this bug.