Attempt to fix the WebKit2 test bots following <https://trac.webkit.org/changeset...
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Mar 2017 01:08:25 +0000 (01:08 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Mar 2017 01:08:25 +0000 (01:08 +0000)
(https://bugs.webkit.org/show_bug.cgi?id=169364)

Create new WebView with Credential Management enabled when the enableCredentialManagement
WebKitTestRunner option is specified.

* WebKitTestRunner/ios/PlatformWebViewIOS.mm:
(WTR::PlatformWebView::viewSupportsOptions):
* WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::viewSupportsOptions):

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

Tools/ChangeLog
Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm
Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm

index 596b18b..75c59f0 100644 (file)
@@ -1,3 +1,16 @@
+2017-03-09  Daniel Bates  <dabates@apple.com>
+
+        Attempt to fix the WebKit2 test bots following <https://trac.webkit.org/changeset/213676>
+        (https://bugs.webkit.org/show_bug.cgi?id=169364)
+
+        Create new WebView with Credential Management enabled when the enableCredentialManagement
+        WebKitTestRunner option is specified.
+
+        * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
+        (WTR::PlatformWebView::viewSupportsOptions):
+        * WebKitTestRunner/mac/PlatformWebViewMac.mm:
+        (WTR::PlatformWebView::viewSupportsOptions):
+
 2017-03-09  John Wilander  <wilander@apple.com>
 
         Resource Load Statistics: Remove statistics data as part of full website data removal
index bda91e0..f22065f 100644 (file)
@@ -298,7 +298,8 @@ bool PlatformWebView::viewSupportsOptions(const TestOptions& options) const
         || m_options.useCharacterSelectionGranularity != options.useCharacterSelectionGranularity
         || m_options.enableIntersectionObserver != options.enableIntersectionObserver
         || m_options.enableModernMediaControls != options.enableModernMediaControls
-        || m_options.enablePointerLock != options.enablePointerLock)
+        || m_options.enablePointerLock != options.enablePointerLock
+        || m_options.enableCredentialManagement != options.enableCredentialManagement)
         return false;
 
     return true;
index 380d2de..1cba125 100644 (file)
@@ -293,7 +293,8 @@ bool PlatformWebView::viewSupportsOptions(const TestOptions& options) const
         || m_options.needsSiteSpecificQuirks != options.needsSiteSpecificQuirks
         || m_options.enableIntersectionObserver != options.enableIntersectionObserver
         || m_options.enableModernMediaControls != options.enableModernMediaControls
-        || m_options.enablePointerLock != options.enablePointerLock)
+        || m_options.enablePointerLock != options.enablePointerLock
+        || m_options.enableCredentialManagement != options.enableCredentialManagement)
         return false;
 
     return true;