Web Inspector: Remove duplicate preference update for WebAuthentication value
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Jan 2018 21:58:33 +0000 (21:58 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Jan 2018 21:58:33 +0000 (21:58 +0000)
https://bugs.webkit.org/show_bug.cgi?id=182058

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2018-01-24
Reviewed by Brian Burg.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
An identical update already happens in generated code.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227564 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/WebProcess/WebPage/WebPage.cpp

index 0f4177c..26ffc6a 100644 (file)
@@ -1,3 +1,14 @@
+2018-01-24  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Web Inspector: Remove duplicate preference update for WebAuthentication value
+        https://bugs.webkit.org/show_bug.cgi?id=182058
+
+        Reviewed by Brian Burg.
+
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::updatePreferences):
+        An identical update already happens in generated code.
+
 2018-01-24  Alex Christensen  <achristensen@webkit.org>
 
         Remove WebProcess access to QTKit
index f9fd0fb..093a017 100644 (file)
@@ -3079,8 +3079,6 @@ void WebPage::updatePreferences(const WebPreferencesStore& store)
     settings.setDataDetectorTypes(static_cast<DataDetectorTypes>(store.getUInt32ValueForKey(WebPreferencesKey::dataDetectorTypesKey())));
 #endif
 
-    RuntimeEnabledFeatures::sharedFeatures().setWebAuthenticationEnabled(store.getBoolValueForKey(WebPreferencesKey::webAuthenticationEnabledKey()));
-
     DatabaseManager::singleton().setIsAvailable(store.getBoolValueForKey(WebPreferencesKey::databasesEnabledKey()));
 
     m_tabToLinks = store.getBoolValueForKey(WebPreferencesKey::tabsToLinksKey());