Title: [212322] trunk/Source/WebKit2
Revision
212322
Author
[email protected]
Date
2017-02-14 13:15:07 -0800 (Tue, 14 Feb 2017)

Log Message

Unreviewed, rolling out r211879.
https://bugs.webkit.org/show_bug.cgi?id=168330

Not ready for the menu yet (Requested by eric_car_ on
#webkit).

Reverted changeset:

"Add WebRTC as an off-by-default experimental feature menu
item."
https://bugs.webkit.org/show_bug.cgi?id=167972
http://trac.webkit.org/changeset/211879

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (212321 => 212322)


--- trunk/Source/WebKit2/ChangeLog	2017-02-14 21:11:54 UTC (rev 212321)
+++ trunk/Source/WebKit2/ChangeLog	2017-02-14 21:15:07 UTC (rev 212322)
@@ -1,3 +1,18 @@
+2017-02-14  Commit Queue  <[email protected]>
+
+        Unreviewed, rolling out r211879.
+        https://bugs.webkit.org/show_bug.cgi?id=168330
+
+        Not ready for the menu yet (Requested by eric_car_ on
+        #webkit).
+
+        Reverted changeset:
+
+        "Add WebRTC as an off-by-default experimental feature menu
+        item."
+        https://bugs.webkit.org/show_bug.cgi?id=167972
+        http://trac.webkit.org/changeset/211879
+
 2017-02-14  Simon Fraser  <[email protected]>
 
         Add logging and defensive fixes to try to detect problems causing blank tabs

Modified: trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h (212321 => 212322)


--- trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2017-02-14 21:11:54 UTC (rev 212321)
+++ trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h	2017-02-14 21:15:07 UTC (rev 212322)
@@ -212,6 +212,7 @@
     macro(SubpixelCSSOMElementMetricsEnabled, subpixelCSSOMElementMetricsEnabled, Bool, bool, false, "", "") \
     macro(UseGiantTiles, useGiantTiles, Bool, bool, false, "", "") \
     macro(MediaStreamEnabled, mediaStreamEnabled, Bool, bool, false, "", "") \
+    macro(PeerConnectionEnabled, peerConnectionEnabled, Bool, bool, false, "", "") \
     macro(UseLegacyTextAlignPositionedElementBehavior, useLegacyTextAlignPositionedElementBehavior, Bool, bool, false, "", "") \
     macro(SpatialNavigationEnabled, spatialNavigationEnabled, Bool, bool, false, "", "") \
     macro(MediaSourceEnabled, mediaSourceEnabled, Bool, bool, true, "", "") \
@@ -317,7 +318,6 @@
     macro(LinkPreloadEnabled, linkPreloadEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Link Preload", "Link preload support") \
     macro(ModernMediaControlsEnabled, modernMediaControlsEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Modern Media Controls", "Use modern media controls look") \
     macro(InputEventsEnabled, inputEventsEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Input Events", "Enable InputEvents support") \
-    macro(PeerConnectionEnabled, peerConnectionEnabled, Bool, bool, false, "WebRTC", "Enable WebRTC API") \
     macro(SubtleCryptoEnabled, subtleCryptoEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "SubtleCrypto", "Enable SubtleCrypto support") \
     macro(UserTimingEnabled, userTimingEnabled, Bool, bool, false, "User Timing", "Enable UserTiming API") \
     macro(WebAnimationsEnabled, webAnimationsEnabled, Bool, bool, false, "Web Animations", "Web Animations prototype") \

Modified: trunk/Source/WebKit2/UIProcess/WebPreferences.cpp (212321 => 212322)


--- trunk/Source/WebKit2/UIProcess/WebPreferences.cpp	2017-02-14 21:11:54 UTC (rev 212321)
+++ trunk/Source/WebKit2/UIProcess/WebPreferences.cpp	2017-02-14 21:15:07 UTC (rev 212322)
@@ -259,12 +259,6 @@
     return false;
 }
 
-void WebPreferences::setPeerConnectionAndMediaStreamEnabled(bool value)
-{
-    setPeerConnectionEnabled(value);
-    setMediaStreamEnabled(value);
-}
-
 void WebPreferences::setEnabledForFeature(bool value, const API::ExperimentalFeature& feature)
 {
     struct FeatureSetterMapping {
@@ -285,10 +279,7 @@
     
     for (auto& setter : setters) {
         if (key == setter.name) {
-            if (key == WebPreferencesKey::peerConnectionEnabledKey())
-                setPeerConnectionAndMediaStreamEnabled(value);
-            else
-                (this->*setter.function)(value);
+            (this->*setter.function)(value);
             return;
         }
     }

Modified: trunk/Source/WebKit2/UIProcess/WebPreferences.h (212321 => 212322)


--- trunk/Source/WebKit2/UIProcess/WebPreferences.h	2017-02-14 21:11:54 UTC (rev 212321)
+++ trunk/Source/WebKit2/UIProcess/WebPreferences.h	2017-02-14 21:15:07 UTC (rev 212322)
@@ -93,8 +93,6 @@
 
     void updatePrivateBrowsingValue(bool value);
 
-    void setPeerConnectionAndMediaStreamEnabled(bool value);
-
     void registerDefaultBoolValueForKey(const String&, bool);
     void registerDefaultUInt32ValueForKey(const String&, uint32_t);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to