Bug 156524
| Summary: | WebKit2 should load plugins from [[NSBundle mainBundle] builtInPlugInsURL] | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jonathan Hammer <jonathan> |
| Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Enhancement | CC: | andersca, bfulgham, sam |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Mac | ||
| OS: | All | ||
Jonathan Hammer
Old-WebKit includes [[NSBundle mainBundle] builtInPlugInsPath] in the search path for plugins, but WebKit2 on Mac does not. For applications that bundle custom plug-ins, it would be really nice if WebKit2 could include [[NSBundle mainBundle] builtInPlugInsPath] when loading plugins so that WKWebView can display custom plugin content. Our application [1] uses this functionality in old-WebKit, as does Mail.app and possibly others.
Currently PluginInfoStore::pluginsDirectories() only searches:
[NSHomeDirectory() stringByAppendingPathComponent:@"Library/Internet Plug-Ins"]
"/Library/Internet Plug-Ins"
An alternate solution would be to expose API for adding additional plugin search paths.
[1]: directmailmac.com
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brent Fulgham
We removed NPAPI support a while ago.