Bug 38698

Summary: REGRESSION (r51617): when plugins are disabled, plugins show up as garbage characters
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, eric, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch darin: review+

Anders Carlsson
Reported 2010-05-06 15:17:40 PDT
REGRESSION (r51617): when plugins are disabled, plugins show up as garbage characters
Attachments
Patch (16.43 KB, patch)
2010-05-06 15:28 PDT, Anders Carlsson
darin: review+
Anders Carlsson
Comment 1 2010-05-06 15:28:07 PDT
Darin Adler
Comment 2 2010-05-06 15:31:55 PDT
Comment on attachment 55307 [details] Patch > + if (!allowPlugins && [knownPluginMIMETypes() containsObject:MIMEType]) > + return NO; What if a plug-in registers for some basic MIME type like text/html? r=me
Anders Carlsson
Comment 3 2010-05-06 15:54:16 PDT
(In reply to comment #2) > (From update of attachment 55307 [details]) > > + if (!allowPlugins && [knownPluginMIMETypes() containsObject:MIMEType]) > > + return NO; > > What if a plug-in registers for some basic MIME type like text/html? > It's not possible to override basic MIME types like text/html. (In theory you're supposed to be able to override image/png etc but from looking at the code that is buggy and nondeterminate.
Anders Carlsson
Comment 4 2010-05-06 16:23:43 PDT
Note You need to log in before you can comment on or make changes to this bug.