The changes in <https://trac.webkit.org/changeset/212883> add a new call to 'shared-preferences-read'. Unfortunately, 'shared-preferences-read' is a custom function defined in com.apple.WebKit.WebContent.sb.in, but not the iOS-specific com.apple.WebKit.WebContent.sb file. This causes the sandbox to fail to parse.
<rdar://problem/30825728>
Created attachment 303341 [details] Patch
Comment on attachment 303341 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=303341&action=review > Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:116 > + (literal (string-append "/Library/Preferences/" domain ".plist")) Is this where preferences live on iOS? Perhaps we don't need this fallback path at all, and just rely on user-preference-read. It may be best to just use user-preference-read instead of defining a function. > Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:117 > + (home-library-preferences-literal (string-append "/" domain ".plist")) Wouldn't we need to define this function too?
Created attachment 303352 [details] Patch
Created attachment 303353 [details] Patch
Committed r213394: <http://trac.webkit.org/changeset/213394>