Bug 59852

Summary: WebKit2: WebPluginTypeEnabled key is ignored when enumerating plug-ins
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Plug-insAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, eric.carlson, mitz, simon.fraser
Priority: P1 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   
Attachments:
Description Flags
proposed fix simon.fraser: review+

Alexey Proskuryakov
Reported 2011-04-29 17:53:15 PDT
On some machines, this makes WebKit think that QuickTime supports Flash - it's present in the QT plug-ins plist, but is disabled. <rdar://problem/9314011>
Attachments
proposed fix (2.16 KB, patch)
2011-04-29 17:58 PDT, Alexey Proskuryakov
simon.fraser: review+
Alexey Proskuryakov
Comment 1 2011-04-29 17:58:03 PDT
Created attachment 91778 [details] proposed fix
mitz
Comment 2 2011-04-29 18:02:24 PDT
Comment on attachment 91778 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=91778&action=review > Source/WebKit2/Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:150 > + const void *isEnabled = CFDictionaryGetValue(mimeTypeInfo, CFSTR("WebPluginTypeEnabled")); Star goes next to void, but this should be CFTypeRef, not void*.
Alexey Proskuryakov
Comment 3 2011-04-29 18:09:13 PDT
> Star goes next to void, but this should be CFTypeRef, not void*. Why does CFDictionaryGetValue return const void *, and not CFTypeRef?
Alexey Proskuryakov
Comment 4 2011-04-29 18:11:42 PDT
On a second thought, I agree.
Alexey Proskuryakov
Comment 5 2011-04-29 20:52:37 PDT
Note You need to log in before you can comment on or make changes to this bug.