| Summary: | Storage Access API: Allow requests for storage access from nested iframes | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | John Wilander <wilander> | ||||||
| Component: | WebCore Misc. | Assignee: | John Wilander <wilander> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | achristensen, bfulgham, brad.girardeau, cdumez, esprehn+autocc, ews-watchlist, kangil.han, katherine_cheney, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
John Wilander
2020-08-31 17:45:21 PDT
Created attachment 407641 [details]
Patch
The mac-debug-wk1 bot seems to be in bad shape, exiting testing early. 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); (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! Created attachment 407708 [details]
Patch
Comment on attachment 407708 [details]
Patch
Thanks, Alex!
Committed r266479: <https://trac.webkit.org/changeset/266479> All reviewed patches have been landed. Closing bug and clearing flags on attachment 407708 [details]. *** Bug 205370 has been marked as a duplicate of this bug. *** |