<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>301910</bug_id>
          
          <creation_ts>2025-11-03 22:24:37 -0800</creation_ts>
          <short_desc>REGRESSION(302499@main): Broke TestWebKitAPI.DatabaseTracker tests</short_desc>
          <delta_ts>2025-11-04 18:30:16 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2156181</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2025-11-03 22:24:37 -0800</bug_when>
    <thetext>302499@main broke a number of TestWebKitAPI.DatabaseTracker tests.

Example:
TestWebKitAPI.DatabaseTracker.DeleteDatabase
2025-11-03 19:35:55.784 TestWebKitAPI[7245:3781197] NSEventConcurrentProcessingEnabled=NO
ASSERTION FAILED: m_didBeginDeletion || deleteException == CheckedPtrDeleteCheckException::Yes
/Volumes/Data/worker/Apple-Tahoe-Debug-Build/build/WebKitBuild/Debug/usr/local/include/wtf/CheckedRef.h(292) : WTF::CanMakeCheckedPtrBase&lt;std::atomic&lt;unsigned int&gt;, unsigned int, std::atomic&lt;bool&gt;, WTF::CheckedPtrDeleteCheckException::No&gt;::~CanMakeCheckedPtrBase() [StorageType = std::atomic&lt;unsigned int&gt;, PtrCounterType = unsigned int, DeletionFlagType = std::atomic&lt;bool&gt;, deleteException = WTF::CheckedPtrDeleteCheckException::No]
1   0x171f93737 WTF::CanMakeCheckedPtrBase&lt;std::__1::atomic&lt;unsigned int&gt;, unsigned int, std::__1::atomic&lt;bool&gt;, (WTF::CheckedPtrDeleteCheckException)0&gt;::~CanMakeCheckedPtrBase()
2   0x176a454f5 WTF::CanMakeThreadSafeCheckedPtr&lt;WebCore::SQLiteDatabase, (WTF::DefaultedOperatorEqual)0, (WTF::CheckedPtrDeleteCheckException)0&gt;::~CanMakeThreadSafeCheckedPtr()
3   0x176a452f9 WebCore::SQLiteDatabase::~SQLiteDatabase()
4   0x176a45515 WebCore::SQLiteDatabase::~SQLiteDatabase()
5   0x10e86633a TestWebKitAPI::addToDatabasesTable(WTF::String const&amp;, WebCore::SecurityOriginData const&amp;, WTF::String const&amp;, WTF::String const&amp;)
6   0x10e86b6e4 TestWebKitAPI::DatabaseTracker_DeleteDatabase_Test::TestBody()
7   0x10fc9d9d4 void testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
8   0x10fc5da46 void testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
9   0x10fc5d997 testing::Test::Run()
10  0x10fc5e87e testing::TestInfo::Run()
11  0x10fc5f85d testing::TestSuite::Run()
12  0x10fc6de60 testing::internal::UnitTestImpl::RunAllTests()
13  0x10fca25f4 bool testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
14  0x10fc6d886 bool testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
15  0x10fc6d775 testing::UnitTest::Run()
16  0x10eccec01 RUN_ALL_TESTS()
17  0x10ecceb92 TestWebKitAPI::TestsController::run(int, char**)
18  0x10fc4615a main
19  0x7ff8119c5781 start

Build:
https://build.webkit.org/#/builders/1694/builds/93

History:
https://results.webkit.org/?suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;test=TestWebKitAPI.DatabaseTracker.DeleteOriginWhenDeletingADatabaseFails&amp;test=TestWebKitAPI.DatabaseTracker.DeleteOriginWhenDatabaseDoesNotExist&amp;test=TestWebKitAPI.DatabaseTracker.DeleteOrigin&amp;test=TestWebKitAPI.DatabaseTracker.DeleteDatabaseWhenDatabaseDoesNotExist&amp;test=TestWebKitAPI.DatabaseTracker.DeleteDatabaseFileIfEmpty&amp;test=TestWebKitAPI.DatabaseTracker.DeleteDatabase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156182</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-11-03 22:24:48 -0800</bug_when>
    <thetext>&lt;rdar://problem/163988071&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156184</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2025-11-03 22:45:06 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/53377</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156195</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-11-03 23:50:33 -0800</bug_when>
    <thetext>Committed 302521@main (0036bf7c6bac): &lt;https://commits.webkit.org/302521@main&gt;

Reviewed commits have been landed. Closing PR #53377 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156354</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2025-11-04 11:26:01 -0800</bug_when>
    <thetext>iOS version of these tests are still broken:
https://build.webkit.org/#/builders/1713/builds/79</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156355</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2025-11-04 11:26:27 -0800</bug_when>
    <thetext>Still broken on iOS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156458</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2025-11-04 17:11:39 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/53430</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156469</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-11-04 18:30:13 -0800</bug_when>
    <thetext>Committed 302569@main (d7477d168fbe): &lt;https://commits.webkit.org/302569@main&gt;

Reviewed commits have been landed. Closing PR #53430 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>