Follow-up to r227939.
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Feb 2018 00:03:05 +0000 (00:03 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Feb 2018 00:03:05 +0000 (00:03 +0000)
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):

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

Source/WebKit/ChangeLog
Source/WebKit/StorageProcess/ios/StorageProcessIOS.mm

index 8e21173..feae2dd 100644 (file)
@@ -1,5 +1,16 @@
 2018-01-31  Brent Fulgham  <bfulgham@apple.com>
 
+        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  <bfulgham@apple.com>
+
         REGRESSION(r220094): com.apple.WebKit.Storage lost its sandbox
         https://bugs.webkit.org/show_bug.cgi?id=182354
         <rdar://problem/37046844>
index f7ee995..7611f64 100644 (file)
@@ -53,7 +53,7 @@ void StorageProcess::initializeSandbox(const ChildProcessInitializationParameter
 #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
 }