Bug 146314 - NSURLCache fallback does not work on iOS due to sandboxing
Summary: NSURLCache fallback does not work on iOS due to sandboxing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-06-25 06:06 PDT by Antti Koivisto
Modified: 2015-07-20 16:33 PDT (History)
2 users (show)

See Also:


Attachments
patch (2.01 KB, patch)
2015-06-25 06:40 PDT, Antti Koivisto
koivisto: review-
Details | Formatted Diff | Diff
patch (2.33 KB, patch)
2015-07-13 07:58 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.