Bug 174652 - Disable loading of plugins from the default path
Summary: Disable loading of plugins from the default path
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-07-19 09:41 PDT by Jonathan Bedard
Modified: 2017-07-21 11:08 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Bedard 2017-07-19 09:41:12 PDT
Currently, there is no way to opt-out of loading plugins from the default plugin path.  Especially for testing, we should add API to only load plugins from the custom plugin path.

Note that this should be the actual fix for https://bugs.webkit.org/show_bug.cgi?id=172840.
Comment 1 Radar WebKit Bug Importer 2017-07-19 09:42:58 PDT
<rdar://problem/33404303>
Comment 2 Jonathan Bedard 2017-07-20 13:23:13 PDT
We should be able to cherry-pick which plugins we use, that is the point of decidePolicyForPluginLoad (from the WTR::TestController).  However, ITP isn't respecting this option.
Comment 3 Jonathan Bedard 2017-07-21 09:25:29 PDT
Plugins are not the issue here, the test suite set-up for ITP is the issue.  I am closing this bug, I will link to the fix once I've finished putting it together.
Comment 4 Jonathan Bedard 2017-07-21 11:08:22 PDT
https://bugs.webkit.org/show_bug.cgi?id=174720 tracks the fix in WebKitTestRunner.