RESOLVED FIXED 116532
Allow session storage for third-party origins even if third-party data access is blocked.
https://bugs.webkit.org/show_bug.cgi?id=116532
Summary Allow session storage for third-party origins even if third-party data access...
Andy Estes
Reported 2013-05-21 05:48:04 PDT
Allow session storage for third-party origins even if tthird-party data access is blocked.
Attachments
Patch (10.75 KB, patch)
2013-05-21 06:05 PDT, Andy Estes
andersca: review+
Andy Estes
Comment 1 2013-05-21 05:50:03 PDT
Andy Estes
Comment 2 2013-05-21 06:05:22 PDT
Anders Carlsson
Comment 3 2013-05-21 15:38:25 PDT
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.
Andy Estes
Comment 4 2013-05-21 17:02:55 PDT
Andy Estes
Comment 5 2013-05-21 17:07:53 PDT
Oops, I forgot to 'git add' the new layout test and its expected result. Fixed in <http://trac.webkit.org/changeset/150492>.
Note You need to log in before you can comment on or make changes to this bug.