Bug 57204 - Create a plug-in's MIME types preferences plist if it doesn't exist.
Summary: Create a plug-in's MIME types preferences plist if it doesn't exist.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords: InRadar
Depends on: 57205
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-27 22:51 PDT by Andy Estes
Modified: 2011-05-09 17:21 PDT (History)
5 users (show)

See Also:


Attachments
Patch (12.62 KB, patch)
2011-05-09 15:36 PDT, Anders Carlsson
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Estes 2011-03-27 22:51:41 PDT
If a plug-in stores its MIME type information in a plist in ~/Library/Preferences/ but the plist doesn't yet exist, WebKit2 needs to load the plug-in bundle and call createPluginMIMETypesPreferences to have the file created.
Comment 1 Andy Estes 2011-03-27 22:52:22 PDT
<rdar://problem/9195048>
Comment 2 Anders Carlsson 2011-05-09 15:36:24 PDT
Created attachment 92866 [details]
Patch
Comment 3 Sam Weinig 2011-05-09 15:38:53 PDT
Comment on attachment 92866 [details]
Patch

:( r=me
Comment 4 Anders Carlsson 2011-05-09 15:49:49 PDT
Committed r86097: <http://trac.webkit.org/changeset/86097>
Comment 5 WebKit Review Bot 2011-05-09 17:21:22 PDT
http://trac.webkit.org/changeset/86097 might have broken GTK Linux 64-bit Debug