[SOUP] Handle OAuth authentication after r234912
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Aug 2018 13:19:19 +0000 (13:19 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Aug 2018 13:19:19 +0000 (13:19 +0000)
https://bugs.webkit.org/show_bug.cgi?id=188651

Reviewed by Carlos Garcia Campos.

Update this switch to consider the new OAuth enum value added in r234912. I suppose OAuth is
used for HTTP Auth now. It will be a one-time compatibility break as passwords previously
stored with type "Unknown" will no longer be accessible.

* platform/network/soup/NetworkStorageSessionSoup.cpp:
(WebCore::authTypeFromProtectionSpaceAuthenticationScheme):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/network/soup/NetworkStorageSessionSoup.cpp

index d310ab2..076fc1e 100644 (file)
@@ -1,3 +1,17 @@
+2018-08-17  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        [SOUP] Handle OAuth authentication after r234912
+        https://bugs.webkit.org/show_bug.cgi?id=188651
+
+        Reviewed by Carlos Garcia Campos.
+
+        Update this switch to consider the new OAuth enum value added in r234912. I suppose OAuth is
+        used for HTTP Auth now. It will be a one-time compatibility break as passwords previously
+        stored with type "Unknown" will no longer be accessible.
+
+        * platform/network/soup/NetworkStorageSessionSoup.cpp:
+        (WebCore::authTypeFromProtectionSpaceAuthenticationScheme):
+
 2018-08-17  Ms2ger  <Ms2ger@igalia.com>
 
         [GTK] Never return an uninitialized ImageGStreamer object.
index b3d71a4..e483aa6 100644 (file)
@@ -177,6 +177,8 @@ static const char* authTypeFromProtectionSpaceAuthenticationScheme(ProtectionSpa
     case ProtectionSpaceAuthenticationSchemeServerTrustEvaluationRequested:
         ASSERT_NOT_REACHED();
         break;
+    case ProtectionSpaceAuthenticationSchemeOAuth:
+        return "OAuth";
     case ProtectionSpaceAuthenticationSchemeUnknown:
         return "unknown";
     }