Branch: refs/heads/webkitglib/2.50
  Home:   https://github.com/WebKit/WebKit
  Commit: ca13211df5e52720f626fb30157cd5563e45ebb0
      
https://github.com/WebKit/WebKit/commit/ca13211df5e52720f626fb30157cd5563e45ebb0
  Author: Wenson Hsieh <[email protected]>
  Date:   2026-02-03 (Tue, 03 Feb 2026)

  Changed paths:
    A LayoutTests/inspector/indexeddb/attachWithIndexedDBDisabled-expected.txt
    A LayoutTests/inspector/indexeddb/attachWithIndexedDBDisabled.html
    M Source/WebCore/inspector/agents/InspectorIndexedDBAgent.cpp

  Log Message:
  -----------
  Cherry-pick 303729@main (01812449af38). 
https://bugs.webkit.org/show_bug.cgi?id=303338

    REGRESSION (Disabling Rich JavaScript APIs): Mail web content process 
crashes when attaching Web Inspector
    https://bugs.webkit.org/show_bug.cgi?id=303338
    rdar://165641768

    Reviewed by Devin Rousso and Aditya Keerthi.

    When attaching Web Inspector to a web view configured with 
`-_disableRichJavaScriptFeatures`, we
    immediately hit a `MESSAGE_CHECK` and terminate the inspected page's web 
content process, due to the
    fact that Web Inspector will immediately try to read all IndexedDB database 
names.

    To fix this, we avoid getting IDB database names in the case where the 
IndexedDB feature is
    disabled to begin with.

    Test: inspector/indexeddb/attachWithIndexedDBDisabled.html

    * LayoutTests/inspector/indexeddb/attachWithIndexedDBDisabled-expected.txt: 
Added.
    * LayoutTests/inspector/indexeddb/attachWithIndexedDBDisabled.html: Added.
    * Source/WebCore/inspector/agents/InspectorIndexedDBAgent.cpp:
    (WebCore::getDocumentAndIDBFactoryFromFrameOrSendFailure):

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

Canonical link: https://commits.webkit.org/298234.419@webkitglib/2.50



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

Reply via email to