WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andy Estes
Comment 1
2013-05-21 05:50:03 PDT
<
rdar://problem/13921879
>
Andy Estes
Comment 2
2013-05-21 06:05:22 PDT
Created
attachment 202420
[details]
Patch
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
Committed
r150490
: <
http://trac.webkit.org/changeset/150490
>
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.
Top of Page
Format For Printing
XML
Clone This Bug