WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
216019
Storage Access API: Allow requests for storage access from nested iframes
https://bugs.webkit.org/show_bug.cgi?id=216019
Summary
Storage Access API: Allow requests for storage access from nested iframes
John Wilander
Reported
2020-08-31 17:45:21 PDT
It was decided browsers should support requests for storage access from nested iframes as part of the standardization of the Storage Access API. The issue is discussed here:
https://github.com/privacycg/storage-access/issues/10
Attachments
Patch
(18.98 KB, patch)
2020-08-31 17:51 PDT
,
John Wilander
no flags
Details
Formatted Diff
Diff
Patch
(18.52 KB, patch)
2020-09-01 13:14 PDT
,
John Wilander
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-08-31 17:45:49 PDT
<
rdar://problem/68109918
>
John Wilander
Comment 2
2020-08-31 17:51:58 PDT
Created
attachment 407641
[details]
Patch
John Wilander
Comment 3
2020-09-01 08:29:53 PDT
The mac-debug-wk1 bot seems to be in bad shape, exiting testing early.
Kate Cheney
Comment 4
2020-09-01 09:12:26 PDT
Comment on
attachment 407641
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=407641&action=review
LGTM, it is one of those patches where the testing is far more complicated than the change!
> LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe-database.html:42 > + testRunner.setStatisticsShouldBlockThirdPartyCookies(false, function() {
I believe this is set to false in WKWebsiteDataStoreStatisticsResetToConsistentState(), which is called between every test, so it should not be needed here.
> LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe.html:42 > + testRunner.setStatisticsShouldBlockThirdPartyCookies(false, function() {
Ditto, this can just be setEnableFeature(false, finishJSTest);
John Wilander
Comment 5
2020-09-01 11:33:04 PDT
(In reply to katherine_cheney from
comment #4
)
> Comment on
attachment 407641
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=407641&action=review
> > LGTM, it is one of those patches where the testing is far more complicated > than the change!
So true! But satisfying to make the change and immediately getting a failed test case.
> > LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe-database.html:42 > > + testRunner.setStatisticsShouldBlockThirdPartyCookies(false, function() { > > I believe this is set to false in > WKWebsiteDataStoreStatisticsResetToConsistentState(), which is called > between every test, so it should not be needed here.
Oh, I'll confirm and fix.
> > LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe.html:42 > > + testRunner.setStatisticsShouldBlockThirdPartyCookies(false, function() { > > Ditto, this can just be setEnableFeature(false, finishJSTest);
Ditto. Thanks, Kate!
John Wilander
Comment 6
2020-09-01 13:14:01 PDT
Created
attachment 407708
[details]
Patch
John Wilander
Comment 7
2020-09-02 11:46:34 PDT
Comment on
attachment 407708
[details]
Patch Thanks, Alex!
EWS
Comment 8
2020-09-02 12:19:58 PDT
Committed
r266479
: <
https://trac.webkit.org/changeset/266479
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 407708
[details]
.
John Wilander
Comment 9
2020-09-02 13:00:08 PDT
***
Bug 205370
has been marked as a duplicate of this bug. ***
John Wilander
Comment 10
2021-02-10 11:03:24 PST
https://webkit.org/blog/11545/updates-to-the-storage-access-api/
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