Title: [227941] trunk/Source/WebKit
Revision
227941
Author
[email protected]
Date
2018-01-31 16:03:05 -0800 (Wed, 31 Jan 2018)

Log Message

Follow-up to r227939.
https://bugs.webkit.org/show_bug.cgi?id=182354
<rdar://problem/37046844>

Make sure the correct sandbox is used on iOS as well.

* StorageProcess/ios/StorageProcessIOS.mm:
(WebKit::StorageProcess::initializeSandbox):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (227940 => 227941)


--- trunk/Source/WebKit/ChangeLog	2018-02-01 00:00:45 UTC (rev 227940)
+++ trunk/Source/WebKit/ChangeLog	2018-02-01 00:03:05 UTC (rev 227941)
@@ -1,5 +1,16 @@
 2018-01-31  Brent Fulgham  <[email protected]>
 
+        Follow-up to r227939.
+        https://bugs.webkit.org/show_bug.cgi?id=182354
+        <rdar://problem/37046844>
+
+        Make sure the correct sandbox is used on iOS as well.
+
+        * StorageProcess/ios/StorageProcessIOS.mm:
+        (WebKit::StorageProcess::initializeSandbox):
+
+2018-01-31  Brent Fulgham  <[email protected]>
+
         REGRESSION(r220094): com.apple.WebKit.Storage lost its sandbox
         https://bugs.webkit.org/show_bug.cgi?id=182354
         <rdar://problem/37046844>

Modified: trunk/Source/WebKit/StorageProcess/ios/StorageProcessIOS.mm (227940 => 227941)


--- trunk/Source/WebKit/StorageProcess/ios/StorageProcessIOS.mm	2018-02-01 00:00:45 UTC (rev 227940)
+++ trunk/Source/WebKit/StorageProcess/ios/StorageProcessIOS.mm	2018-02-01 00:03:05 UTC (rev 227941)
@@ -53,7 +53,7 @@
 #if ENABLE_MANUAL_DATABASE_SANDBOXING
     // Need to override the default, because service has a different bundle ID.
     NSBundle *webkit2Bundle = [NSBundle bundleForClass:NSClassFromString(@"WKWebView")];
-    sandboxParameters.setOverrideSandboxProfilePath([webkit2Bundle pathForResource:@"com.apple.WebKit.Databases" ofType:@"sb"]);
+    sandboxParameters.setOverrideSandboxProfilePath([webkit2Bundle pathForResource:@"com.apple.WebKit.Storage" ofType:@"sb"]);
     ChildProcess::initializeSandbox(parameters, sandboxParameters);
 #endif
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to