<?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>302189</bug_id>
          
          <creation_ts>2025-11-07 16:48:51 -0800</creation_ts>
          <short_desc>RELEASE_ASSERT() under WebCore::Page::serviceWorkerGlobalObject</short_desc>
          <delta_ts>2025-11-07 18:45:03 -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>WebKit Extensions</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="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2157396</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2025-11-07 16:48:51 -0800</bug_when>
    <thetext>RELEASE_ASSERT() under WebCore::Page::serviceWorkerGlobalObject:
```
Thread 0 Crashed::  Dispatch queue: com.apple.main-thread:
0   WebCore                       	       0x1bc652a18 WTFCrashWithInfo(int, char const*, char const*, int) + 24 (/AppleInternal/Library/BuildRoots/4~CBNbugAVY4NwvDu7UBvAZ9iu0ihsUlcRUqB01_o/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.Internal.sdk/usr/local/include/wtf/Assertions.h:969) [inlined]
1   WebCore                       	       0x1bc652a18 WebCore::Page::serviceWorkerGlobalObject(WebCore::DOMWrapperWorld&amp;) + 364 (/Library/Caches/com.apple.xbs/Sources/WebCore/Source/WebCore/page/Page.cpp:5143)
2   WebKit                        	       0x1b9aef274 WebKit::WebFrame::jsContextForServiceWorkerWorld(WebCore::DOMWrapperWorld&amp;) + 68 (/Library/Caches/com.apple.xbs/Sources/WebKit/Source/WebKit/WebProcess/WebPage/WebFrame.cpp:916)
3   WebKit                        	       0x1b988cf34 _ZZN6WebKit24WebExtensionContextProxy34enumerateFramesAndNamespaceObjectsERKN3WTF8FunctionIFvRNS_8WebFrameERNS_24WebExtensionAPINamespaceEEEEONS1_3RefIN7WebCore15DOMWrapperWorldENS1_12RawPtrTraitsISD_EENS1_21DefaultRefDerefTraitsISD_EEEEENK3$_0clIS3_EEDaRT_ + 68 (/Library/Caches/com.apple.xbs/Sources/WebKit/Source/WebKit/WebProcess/Extensions/WebExtensionContextProxy.cpp:202) [inlined]
4   WebKit                        	       0x1b988cf34 WTF::Detail::CallableWrapper&lt;WebKit::WebExtensionContextProxy::enumerateFramesAndNamespaceObjects(WTF::Function&lt;void (WebKit::WebFrame&amp;, WebKit::WebExtensionAPINamespace&amp;)&gt; const&amp;, WTF::Ref&lt;WebCore::DOMWrapperWorld, WTF::RawPtrTraits&lt;WebCore::DOMWrapperWorld&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::DOMWrapperWorld&gt;&gt;&amp;&amp;)::$_0, void, WebKit::WebFrame&amp;&gt;::call(WebKit::WebFrame&amp;) + 104 (/AppleInternal/Library/BuildRoots/4~CBNmugC9bzWW7e4TdJHOAxRpE2rQ8-6KbiMOKF0/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.Internal.sdk/usr/local/include/wtf/Function.h:53)
5   WebKit                        	       0x1b9889364 WTF::Function&lt;void (WebKit::WebFrame&amp;)&gt;::operator()(WebKit::WebFrame&amp;) const + 40 (/AppleInternal/Library/BuildRoots/4~CBNmugC9bzWW7e4TdJHOAxRpE2rQ8-6KbiMOKF0/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.Internal.sdk/usr/local/include/wtf/Function.h:82) [inlined]
6   WebKit                        	       0x1b9889364 WTF::WeakHashSet&lt;WebKit::WebFrame, WTF::DefaultWeakPtrImpl, (WTF::EnableWeakPtrThreadingAssertions)1&gt;::forEach(WTF::Function&lt;void (WebKit::WebFrame&amp;)&gt; const&amp;) + 424 (/AppleInternal/Library/BuildRoots/4~CBNmugC9bzWW7e4TdJHOAxRpE2rQ8-6KbiMOKF0/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.Internal.sdk/usr/local/include/wtf/WeakHashSet.h:206)
7   WebKit                        	       0x1b988915c WebKit::WebExtensionContextProxy::enumerateFramesAndNamespaceObjects(WTF::Function&lt;void (WebKit::WebFrame&amp;, WebKit::WebExtensionAPINamespace&amp;)&gt; const&amp;, WTF::Ref&lt;WebCore::DOMWrapperWorld, WTF::RawPtrTraits&lt;WebCore::DOMWrapperWorld&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::DOMWrapperWorld&gt;&gt;&amp;&amp;) + 92 (/Library/Caches/com.apple.xbs/Sources/WebKit/Source/WebKit/WebProcess/Extensions/WebExtensionContextProxy.cpp:197)
8   WebKit                        	       0x1b9001864 WebKit::WebExtensionContextProxy::dispatchStorageChangedEvent(WTF::String const&amp;, WebKit::WebExtensionDataType, WebKit::WebExtensionContentWorldType) + 460 (/Library/Caches/com.apple.xbs/Sources/WebKit/Source/WebKit/WebProcess/Extensions/API/Cocoa/WebExtensionAPIStorageCocoa.mm:118)
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2157397</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2025-11-07 16:48:58 -0800</bug_when>
    <thetext>&lt;rdar://164059424&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2157398</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2025-11-07 16:51:39 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/53617</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2157418</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-11-07 18:45:00 -0800</bug_when>
    <thetext>Committed 302758@main (acda47626961): &lt;https://commits.webkit.org/302758@main&gt;

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

    </bug>

</bugzilla>