[Webkit-unassigned] [Bug 185715] New: Conversion between SecurityOriginData and DatabaseIdentifier is asymmetric when port is null
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 17 01:21:09 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=185715
Bug ID: 185715
Summary: Conversion between SecurityOriginData and
DatabaseIdentifier is asymmetric when port is null
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sihui_liu at apple.com
Here is current case:
SecurityOriginData(port = null) -> DatabaseIdentifier(port = 0) -> SecurityOriginData(port = 0)
which should be:
SecurityOriginData(port = null) -> DatabaseIdentifier -> SecurityOriginData(port = null)
Currently LocalStorageDatabase sometimes unlinks database files when they are still in use. We have code to close the database before deletion, but due to the conversion issue about identifier, we failed to delete the correct database.
--
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/20180517/e0ed4345/attachment.html>
More information about the webkit-unassigned
mailing list