Bug 23256 - Implement application cache foreign entries
Summary: Implement application cache foreign entries
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Alexey Proskuryakov
Depends on:
Reported: 2009-01-12 11:22 PST by Alexey Proskuryakov
Modified: 2009-01-13 23:18 PST (History)
0 users

See Also:

proposed patch (14.74 KB, patch)
2009-01-12 11:47 PST, Alexey Proskuryakov
no flags Details | Formatted Diff | Diff
proposed patch (15.30 KB, patch)
2009-01-12 11:51 PST, Alexey Proskuryakov
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2009-01-12 11:22:39 PST
Foreign entries are necessary to guarantee that an HTML file with manifest attribute will be associated with an appropriate cache, not a random cache that has this resource. Whenever it is detected that an HTML file in a cache should be associated with a different cache, the entry is marked as foreign, and will no longer be used for loading a main resource.

Currently, they are basically unimplemented, although there are bits of related logic in code.
Comment 1 Alexey Proskuryakov 2009-01-12 11:47:40 PST
Created attachment 26637 [details]
proposed patch
Comment 2 Alexey Proskuryakov 2009-01-12 11:51:07 PST
Created attachment 26638 [details]
proposed patch

Forgot to save ChangeLog before making the patch.
Comment 3 Anders Carlsson 2009-01-13 12:56:09 PST
Comment on attachment 26638 [details]
proposed patch

Comment 4 Alexey Proskuryakov 2009-01-13 23:18:08 PST
Committed revision 39884.