[Webkit-unassigned] [Bug 231879] New: IndexedDB in iframe (port: 3000) creates database for host document (port: 1337)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 17 09:35:53 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=231879

            Bug ID: 231879
           Summary: IndexedDB in iframe (port: 3000) creates database for
                    host document (port: 1337)
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mail at getflourish.com

I've encountered a strange bug with IndexedDB that seems to be related to iframes.

I have a website running on http://localhost:1337.
That website embeds an iframe that points to http://localhost:3000

The iframe is saving to IndexedDB. The embedding page is not accessing IndexedDB at all.

The problem:
Safari shows (3!) databases: one for :3000 and two for :1337
When I restart Safari, only the one database for :3000 remains. All data is lost.

Expected:
One database for :3000 with persisted content.

-- 
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/20211017/92e9c1cb/attachment-0001.htm>


More information about the webkit-unassigned mailing list