Summary: | Allow session storage for third-party origins even if third-party data access is blocked. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andy Estes <aestes> | ||||
Component: | DOM | Assignee: | Andy Estes <aestes> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ddkilzer, jeffrey+webkit, kobi.co, mjs, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Andy Estes
2013-05-21 05:48:04 PDT
Created attachment 202420 [details]
Patch
Comment on attachment 202420 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=202420&action=review > Source/WebCore/page/SecurityOrigin.cpp:401 > + return (m_storageBlockingPolicy == AllowAllStorage && topOrigin->m_storageBlockingPolicy == AllowAllStorage) > + || shouldAllowFromThirdParty == AlwaysAllowFromThirdParty > + || !topOrigin->isThirdParty(this); I think this would be easier to understand as multiple early returns. Committed r150490: <http://trac.webkit.org/changeset/150490> Oops, I forgot to 'git add' the new layout test and its expected result. Fixed in <http://trac.webkit.org/changeset/150492>. |