Title: [171023] trunk/Source/WebKit2
Revision
171023
Author
[email protected]
Date
2014-07-12 11:32:13 -0700 (Sat, 12 Jul 2014)

Log Message

Temporary work around for <rdar://<rdar://problem/17513375>
https://bugs.webkit.org/show_bug.cgi?id=134848

Reviewed by Sam Weinig.

Temporarily work around <rdar://<rdar://problem/17513375> by
dropping the explicit cookie storage if it points out of the
container.

* UIProcess/mac/WebContextMac.mm:
(WebKit::WebContext::platformDefaultCookieStorageDirectory):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (171022 => 171023)


--- trunk/Source/WebKit2/ChangeLog	2014-07-12 18:13:57 UTC (rev 171022)
+++ trunk/Source/WebKit2/ChangeLog	2014-07-12 18:32:13 UTC (rev 171023)
@@ -1,3 +1,17 @@
+2014-07-12  Oliver Hunt  <[email protected]>
+
+        Temporary work around for <rdar://<rdar://problem/17513375>
+        https://bugs.webkit.org/show_bug.cgi?id=134848
+
+        Reviewed by Sam Weinig.
+
+        Temporarily work around <rdar://<rdar://problem/17513375> by
+        dropping the explicit cookie storage if it points out of the
+        container.
+
+        * UIProcess/mac/WebContextMac.mm:
+        (WebKit::WebContext::platformDefaultCookieStorageDirectory):
+
 2014-07-11  Enrica Casucci  <[email protected]>
 
         Implement textStylingAtPosition in WK2.

Modified: trunk/Source/WebKit2/UIProcess/mac/WebContextMac.mm (171022 => 171023)


--- trunk/Source/WebKit2/UIProcess/mac/WebContextMac.mm	2014-07-12 18:13:57 UTC (rev 171022)
+++ trunk/Source/WebKit2/UIProcess/mac/WebContextMac.mm	2014-07-12 18:32:13 UTC (rev 171023)
@@ -276,7 +276,12 @@
         path = NSHomeDirectory();
 
     path = path + "/Library/Cookies";
-    return stringByResolvingSymlinksInPath(path);
+    path = stringByResolvingSymlinksInPath(path);
+    // Temporary work around for <rdar://<rdar://problem/17513375>
+    if (path == "/var/mobile/Library/Cookies")
+        return String();
+
+    return path;
 #else
     notImplemented();
     return [@"" stringByStandardizingPath];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to