[Webkit-unassigned] [Bug 193277] New: Storage Access API doesn't appear to work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 9 03:17:25 PST 2019


            Bug ID: 193277
           Summary: Storage Access API doesn't appear to work
           Product: WebKit
           Version: Safari 12
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Blocker
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: walking_fishy at hotmail.com

Created attachment 358689

  --> https://bugs.webkit.org/attachment.cgi?id=358689&action=review

Example code

According to https://webkit.org/blog/8124/introducing-storage-access-api/ and https://developer.mozilla.org/en-US/docs/Web/API/Document/requestStorageAccess

there should be two functions:
* document.hasStorageAccess();
* document.requestStorageAccess();

despite hasStorageAccess() returning true, and the promise requestStorageAccess() resolving.
An iframe (siteB) is still unable to set and get cookies.

The iframe is sandboxed with the following attributes:
<iframe src = "http://siteB.com" sandbox="allow-storage-access-by-user-activation allow-scripts allow-same-origin"></iframe>

I have attached my example code as a zip.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190109/1001bf4a/attachment.html>

More information about the webkit-unassigned mailing list