Bug 247286
| Summary: | Restrict Storage Access API usage to within secure contexts | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | chris.p.fredrickson |
| Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | bfulgham, ntim, pascoe, sihui_liu, webkit-bug-importer, wilander |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
chris.p.fredrickson
WebKit should expose the document.hasStorageAccess and document.requestStorageAccess APIs in all contexts, but require a secure context as one of the preconditions for a "successful" call (i.e. before yielding true from hasStorageAccess, and before resolving from requestStorageAccess).
This is to get in alignment with https://github.com/privacycg/storage-access/pull/132.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/102055522>
Tim Nguyen (:ntim)
*** This bug has been marked as a duplicate of bug 296835 ***