Summary: | `navigator.storage.getDirectory()` fails in nested workers with an `InvalidStateError` | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Thomas Steiner <tomac> | ||||||
Component: | New Bugs | Assignee: | Sihui Liu <sihui_liu> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | cdumez, karlcow, sihui_liu, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 22723 | ||||||||
Attachments: |
|
Description
Thomas Steiner
2023-04-14 08:57:07 PDT
Created attachment 465915 [details]
Chrome
For comparison, the Console output in Chrome.
(Note that due to https://bugs.webkit.org/show_bug.cgi?id=255402 I had to `postMessage()` any logs from subworker.js to worker.js to see anything.) I wonder if it's related to https://searchfox.org/wubkat/rev/54dda9907c94c02afdb0d800bf6881f8ad591851/Source/WebCore/Modules/filesystemaccess/WorkerFileSystemStorageConnection.cpp#142-160 Pull request: https://github.com/WebKit/WebKit/pull/12833 Committed 263075@main (808b1c7f159a): <https://commits.webkit.org/263075@main> Reviewed commits have been landed. Closing PR #12833 and removing active labels. |