Bug 22993

Summary: Application cache shouldn't be inherited by subframes
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore Misc.Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
proposed fix darin: review+

Alexey Proskuryakov
Reported 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.
Attachments
proposed fix (11.74 KB, patch)
2008-12-25 02:48 PST, Alexey Proskuryakov
darin: review+
Alexey Proskuryakov
Comment 1 2008-12-25 02:48:16 PST
Created attachment 26247 [details] proposed fix
Alexey Proskuryakov
Comment 2 2008-12-25 02:52:32 PST
s/main thread's/top frame's/ :)
Darin Adler
Comment 3 2008-12-25 10:11:32 PST
Comment on attachment 26247 [details] proposed fix r=me
Alexey Proskuryakov
Comment 4 2008-12-25 13:17:17 PST
Note You need to log in before you can comment on or make changes to this bug.