Bug 212114

Summary: Storage Access API: Allow configurable storage access scope
Product: WebKit Reporter: John Wilander <wilander>
Component: WebKit Misc.Assignee: John Wilander <wilander>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, bfulgham, cdumez, esprehn+autocc, ews-watchlist, kangil.han, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=212682
Attachments:
Description Flags
Patch none

Description John Wilander 2020-05-19 17:27:35 PDT
The scope of storage access as per-frame or per-page was discussed in the standards process here: https://github.com/privacycg/storage-access/issues/3

The decision was to have per-page storage access by default. Recent feedback from Google and conversation with Mozilla suggest that we might want to support the caller choosing the scope.

This bug tracks supporting different scope configurations while keeping the existing default as per-frame. A later patch will switch the default and add test cases for per-page scope (unless my code reviewers ask me to do it all in one patch).
Comment 1 Radar WebKit Bug Importer 2020-05-19 17:28:01 PDT
<rdar://problem/63423063>
Comment 2 John Wilander 2020-05-19 18:00:17 PDT
Created attachment 399794 [details]
Patch
Comment 3 John Wilander 2020-05-21 13:14:06 PDT
Thank you, Alex!
Comment 4 EWS 2020-05-21 13:22:43 PDT
Committed r262024: <https://trac.webkit.org/changeset/262024>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 399794 [details].
Comment 5 John Wilander 2020-06-02 19:43:48 PDT
The follow-up patch mentioned above is tracked here: https://bugs.webkit.org/show_bug.cgi?id=212114