Bug 146314

Summary: NSURLCache fallback does not work on iOS due to sandboxing
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch
koivisto: review-
patch none

Description Antti Koivisto 2015-06-25 06:06:39 PDT
If Network Cache is disabled we try to use NSURLCache. This doesn't currently work on iOS due to sandboxing.
Comment 1 Antti Koivisto 2015-06-25 06:11:30 PDT
<rdar://problem/21433691>
Comment 2 Antti Koivisto 2015-06-25 06:40:26 PDT
Created attachment 255552 [details]
patch
Comment 3 Antti Koivisto 2015-06-25 08:25:47 PDT
Hmm look like this is not correct. We end up with exciting

/private/var/mobile/Containers/Data/Application/38D69C4C-B96F-41D6-8186-8A78798D7EDE/Library/Caches/com.apple.WebKit.Networking/var/mobile/Containers/Data/Application/38D69C4C-B96F-41D6-8186-8A78798D7EDE/Library/Caches/WebKit/NetworkCache/Cache.db

with Network Cache disabled.
Comment 4 Antti Koivisto 2015-07-13 07:58:39 PDT
Created attachment 256698 [details]
patch
Comment 5 WebKit Commit Bot 2015-07-20 16:33:14 PDT
Comment on attachment 256698 [details]
patch

Clearing flags on attachment: 256698

Committed r187045: <http://trac.webkit.org/changeset/187045>
Comment 6 WebKit Commit Bot 2015-07-20 16:33:16 PDT
All reviewed patches have been landed.  Closing bug.