Expose more WKPreferences SPI to match C SPI
Created attachment 322261 [details] Patch
http://trac.webkit.org/r222711
<rdar://problem/34768813>
Comment on attachment 322261 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=322261&action=review > Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm:669 > +- (BOOL)_javaEnabledForLocalFiles > +{ > + return _preferences->pluginsEnabled(); > +} Is this correct? Iād expect the underlying function to be something about Java for local files.
Not only are you correct, but also my SPI version of _plugInsEnabled is not needed because we have public API for that. Will fix.
http://trac.webkit.org/r222715
https://trac.webkit.org/changeset/222718/webkit