Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 682d2e4ee552fc4dcd2038b17fc99ba7f7d17561
      
https://github.com/WebKit/WebKit/commit/682d2e4ee552fc4dcd2038b17fc99ba7f7d17561
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-01-08 (Thu, 08 Jan 2026)

  Changed paths:
    M Source/WebKitLegacy/Storage/StorageAreaSync.cpp
    M Source/WebKitLegacy/Storage/StorageAreaSync.h

  Log Message:
  -----------
  REGRESSION(302499@main): Hitting asserts in 
http/tests/security/contentSecurityPolicy* on WebKitLegacy
https://bugs.webkit.org/show_bug.cgi?id=305150
rdar://167797804

Reviewed by Geoffrey Garen.

Always heap allocate SQLiteDatabase on its own in StorageAreaSync.

No new tests since existing tests caught this issue.

* Source/WebKitLegacy/Storage/StorageAreaSync.cpp:
(WebKit::StorageAreaSync::StorageAreaSync):
(WebKit::StorageAreaSync::scheduleCloseDatabase):
(WebKit::StorageAreaSync::openDatabase):
(WebKit::StorageAreaSync::migrateItemTableIfNeeded):
(WebKit::StorageAreaSync::performImport):
(WebKit::StorageAreaSync::sync):
(WebKit::StorageAreaSync::deleteEmptyDatabase):
* Source/WebKitLegacy/Storage/StorageAreaSync.h:

Canonical link: https://commits.webkit.org/305322@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to