Title: [222715] trunk/Source/WebKit
- Revision
- 222715
- Author
- [email protected]
- Date
- 2017-10-02 10:13:22 -0700 (Mon, 02 Oct 2017)
Log Message
Expose more WKPreferences SPI to match C SPI
https://bugs.webkit.org/show_bug.cgi?id=177697
* UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences _javaEnabledForLocalFiles]):
(-[WKPreferences _setPlugInsEnabled:]): Deleted.
(-[WKPreferences _plugInsEnabled]): Deleted.
* UIProcess/API/Cocoa/WKPreferencesPrivate.h:
_javaEnabledForLocalFiles should return the correct value.
_plugInsEnabled has public API. This SPI is not needed.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (222714 => 222715)
--- trunk/Source/WebKit/ChangeLog 2017-10-02 17:09:30 UTC (rev 222714)
+++ trunk/Source/WebKit/ChangeLog 2017-10-02 17:13:22 UTC (rev 222715)
@@ -1,5 +1,18 @@
2017-10-02 Alex Christensen <[email protected]>
+ Expose more WKPreferences SPI to match C SPI
+ https://bugs.webkit.org/show_bug.cgi?id=177697
+
+ * UIProcess/API/Cocoa/WKPreferences.mm:
+ (-[WKPreferences _javaEnabledForLocalFiles]):
+ (-[WKPreferences _setPlugInsEnabled:]): Deleted.
+ (-[WKPreferences _plugInsEnabled]): Deleted.
+ * UIProcess/API/Cocoa/WKPreferencesPrivate.h:
+ _javaEnabledForLocalFiles should return the correct value.
+ _plugInsEnabled has public API. This SPI is not needed.
+
+2017-10-02 Alex Christensen <[email protected]>
+
REGRESSION(r214201): WebProcess hangs during policy decisions
https://bugs.webkit.org/show_bug.cgi?id=177590
<rdar://problem/33362929>
Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm (222714 => 222715)
--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm 2017-10-02 17:09:30 UTC (rev 222714)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm 2017-10-02 17:13:22 UTC (rev 222715)
@@ -648,16 +648,6 @@
}
#if PLATFORM(MAC)
-- (void)_setPlugInsEnabled:(BOOL)enabled
-{
- _preferences->setPluginsEnabled(enabled);
-}
-
-- (BOOL)_plugInsEnabled
-{
- return _preferences->pluginsEnabled();
-}
-
- (void)_setJavaEnabledForLocalFiles:(BOOL)enabled
{
_preferences->setJavaEnabledForLocalFiles(enabled);
@@ -665,7 +655,7 @@
- (BOOL)_javaEnabledForLocalFiles
{
- return _preferences->pluginsEnabled();
+ return _preferences->javaEnabledForLocalFiles();
}
- (void)_setCanvasUsesAcceleratedDrawing:(BOOL)enabled
Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h (222714 => 222715)
--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h 2017-10-02 17:09:30 UTC (rev 222714)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h 2017-10-02 17:13:22 UTC (rev 222715)
@@ -119,7 +119,6 @@
- (void)_setEnabled:(BOOL)value forFeature:(_WKExperimentalFeature *)feature WK_API_AVAILABLE(macosx(10.12), ios(10.0));
#if !TARGET_OS_IPHONE
-@property (nonatomic, setter=_setPlugInsEnabled:) BOOL _plugInsEnabled WK_API_AVAILABLE(macosx(WK_MAC_TBA));
@property (nonatomic, setter=_setWebGLEnabled:) BOOL _webGLEnabled WK_API_AVAILABLE(macosx(WK_MAC_TBA));
@property (nonatomic, setter=_setJavaEnabledForLocalFiles:) BOOL _javaEnabledForLocalFiles WK_API_AVAILABLE(macosx(WK_MAC_TBA));
@property (nonatomic, setter=_setCanvasUsesAcceleratedDrawing:) BOOL _canvasUsesAcceleratedDrawing WK_API_AVAILABLE(macosx(WK_MAC_TBA));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes