Title: [244451] trunk/Source/WebKit
- Revision
- 244451
- Author
- [email protected]
- Date
- 2019-04-19 08:41:08 -0700 (Fri, 19 Apr 2019)
Log Message
Unreviewed, rolling out r244447.
https://bugs.webkit.org/show_bug.cgi?id=197103
Caused build failures with Internal and Opensource builders
(Requested by ShawnRoberts on #webkit).
Reverted changeset:
"Deprecate WebKit2 plug-in support."
https://bugs.webkit.org/show_bug.cgi?id=197080
https://trac.webkit.org/changeset/244447
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (244450 => 244451)
--- trunk/Source/WebKit/ChangeLog 2019-04-19 04:26:49 UTC (rev 244450)
+++ trunk/Source/WebKit/ChangeLog 2019-04-19 15:41:08 UTC (rev 244451)
@@ -1,3 +1,17 @@
+2019-04-19 Commit Queue <[email protected]>
+
+ Unreviewed, rolling out r244447.
+ https://bugs.webkit.org/show_bug.cgi?id=197103
+
+ Caused build failures with Internal and Opensource builders
+ (Requested by ShawnRoberts on #webkit).
+
+ Reverted changeset:
+
+ "Deprecate WebKit2 plug-in support."
+ https://bugs.webkit.org/show_bug.cgi?id=197080
+ https://trac.webkit.org/changeset/244447
+
2019-04-18 Brady Eidson <[email protected]>
Deprecate WebKit2 plug-in support.
Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.h (244450 => 244451)
--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.h 2019-04-19 04:26:49 UTC (rev 244450)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.h 2019-04-19 15:41:08 UTC (rev 244451)
@@ -52,6 +52,16 @@
@property (nonatomic) BOOL _javascript_CanOpenWindowsAutomatically;
#if !TARGET_OS_IPHONE
+/*! @abstract A Boolean value indicating whether Java is enabled.
+ @discussion The default value is NO.
+ */
+@property (nonatomic) BOOL javaEnabled;
+
+/*! @abstract A Boolean value indicating whether plug-ins are enabled.
+ @discussion The default value is NO.
+ */
+@property (nonatomic) BOOL plugInsEnabled;
+
/*!
@property tabFocusesLinks
@abstract If tabFocusesLinks is YES, the tab key will focus links and form controls.
@@ -61,14 +71,3 @@
#endif
@end
-
-#if !TARGET_OS_IPHONE
-
-@interface WKPreferences (WKDeprecated)
-
-@property (nonatomic) BOOL javaEnabled WK_API_DEPRECATED("Java is no longer supported", macos(macos(10.10), WK_MAC_TBA));
-@property (nonatomic) BOOL plugInsEnabled WK_API_DEPRECATED("Plug-ins are no longer supported", macos(macos(10.10), WK_MAC_TBA));
-
-@end
-
-#endif
Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm (244450 => 244451)
--- trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm 2019-04-19 04:26:49 UTC (rev 244450)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm 2019-04-19 15:41:08 UTC (rev 244451)
@@ -69,10 +69,8 @@
[coder encodeBool:self._javascript_CanOpenWindowsAutomatically forKey:@"_javascript_CanOpenWindowsAutomatically"];
#if PLATFORM(MAC)
-ALLOW_DEPRECATED_DECLARATIONS_BEGIN
[coder encodeBool:self.javaEnabled forKey:@"javaEnabled"];
[coder encodeBool:self.plugInsEnabled forKey:@"plugInsEnabled"];
-ALLOW_DEPRECATED_DECLARATIONS_END
[coder encodeBool:self.tabFocusesLinks forKey:@"tabFocusesLinks"];
#endif
}
@@ -87,10 +85,8 @@
self._javascript_CanOpenWindowsAutomatically = [coder decodeBoolForKey:@"_javascript_CanOpenWindowsAutomatically"];
#if PLATFORM(MAC)
-ALLOW_DEPRECATED_DECLARATIONS_BEGIN
self.javaEnabled = [coder decodeBoolForKey:@"javaEnabled"];
self.plugInsEnabled = [coder decodeBoolForKey:@"plugInsEnabled"];
-ALLOW_DEPRECATED_DECLARATIONS_END
self.tabFocusesLinks = [coder decodeBoolForKey:@"tabFocusesLinks"];
#endif
@@ -136,6 +132,26 @@
#if PLATFORM(MAC)
+- (BOOL)javaEnabled
+{
+ return _preferences->javaEnabled();
+}
+
+- (void)setJavaEnabled:(BOOL)javaEnabled
+{
+ _preferences->setJavaEnabled(javaEnabled);
+}
+
+- (BOOL)plugInsEnabled
+{
+ return _preferences->pluginsEnabled();
+}
+
+- (void)setPlugInsEnabled:(BOOL)plugInsEnabled
+{
+ _preferences->setPluginsEnabled(plugInsEnabled);
+}
+
- (BOOL)tabFocusesLinks
{
return _preferences->tabsToLinks();
@@ -1345,31 +1361,3 @@
}
@end
-
-#if !TARGET_OS_IPHONE
-
-@implementation WKPreferences (WKDeprecated)
-
-- (BOOL)javaEnabled
-{
- return _preferences->javaEnabled();
-}
-
-- (void)setJavaEnabled:(BOOL)javaEnabled
-{
- _preferences->setJavaEnabled(javaEnabled);
-}
-
-- (BOOL)plugInsEnabled
-{
- return _preferences->pluginsEnabled();
-}
-
-- (void)setPlugInsEnabled:(BOOL)plugInsEnabled
-{
- _preferences->setPluginsEnabled(plugInsEnabled);
-}
-
-@end
-
-#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes