Bug 22993 - Application cache shouldn't be inherited by subframes
Summary: Application cache shouldn't be inherited by subframes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-25 02:30 PST by Alexey Proskuryakov
Modified: 2008-12-25 13:17 PST (History)
0 users

See Also:


Attachments
proposed fix (11.74 KB, patch)
2008-12-25 02:48 PST, Alexey Proskuryakov
darin: 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 2008-12-25 02:30:16 PST
HTML5 no longer says that top-level frame application cache should be used for child frames. I'm not sure if I know all the reasons for this, but security is certainly one - otherwise, a different origin subframe could add dynamic entries to the main thread's cache.
Comment 1 Alexey Proskuryakov 2008-12-25 02:48:16 PST
Created attachment 26247 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2008-12-25 02:52:32 PST
s/main thread's/top frame's/ :)
Comment 3 Darin Adler 2008-12-25 10:11:32 PST
Comment on attachment 26247 [details]
proposed fix

r=me
Comment 4 Alexey Proskuryakov 2008-12-25 13:17:17 PST
Committed <http://trac.webkit.org/changeset/39474>.