Add necessary colon to CFNetwork selector
authorwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Apr 2018 20:02:19 +0000 (20:02 +0000)
committerwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Apr 2018 20:02:19 +0000 (20:02 +0000)
https://bugs.webkit.org/show_bug.cgi?id=184335
<rdar://problem/39213124>

Reviewed by Brent Fulgham.

* pal/spi/cf/CFNetworkSPI.h:
(setIgnoreHSTS):

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

Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h

index 726db19..458529a 100644 (file)
@@ -1,3 +1,14 @@
+2018-04-05  John Wilander  <wilander@apple.com>
+
+        Add necessary colon to CFNetwork selector
+        https://bugs.webkit.org/show_bug.cgi?id=184335
+        <rdar://problem/39213124>
+
+        Reviewed by Brent Fulgham.
+
+        * pal/spi/cf/CFNetworkSPI.h:
+        (setIgnoreHSTS):
+
 2018-04-04  Per Arne Vollan  <pvollan@apple.com>
 
         The layout test fast/canvas/canvas-blending-global-alpha.html is failing when the WebContent process does not have WindowServer access.
index 0d23499..151b83c 100644 (file)
@@ -346,8 +346,8 @@ static bool schemeWasUpgradedDueToDynamicHSTS(NSURLRequest *request)
 
 static void setIgnoreHSTS(NSMutableURLRequest *request, bool ignoreHSTS)
 {
-    if ([request respondsToSelector:@selector(_setIgnoreHSTS)])
-        [request performSelector:@selector(_setIgnoreHSTS) withObject:[NSNumber numberWithBool:ignoreHSTS]];
+    if ([request respondsToSelector:@selector(_setIgnoreHSTS:)])
+        [request performSelector:@selector(_setIgnoreHSTS:) withObject:[NSNumber numberWithBool:ignoreHSTS]];
 }
 
 static bool ignoreHSTS(NSURLRequest *request)