RESOLVED WONTFIX156524
WebKit2 should load plugins from [[NSBundle mainBundle] builtInPlugInsURL]
https://bugs.webkit.org/show_bug.cgi?id=156524
Summary WebKit2 should load plugins from [[NSBundle mainBundle] builtInPlugInsURL]
Jonathan Hammer
Reported 2016-04-12 16:59:30 PDT
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
Brent Fulgham
Comment 1 2022-07-01 10:39:08 PDT
We removed NPAPI support a while ago.
Note You need to log in before you can comment on or make changes to this bug.