<?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>309029</bug_id>
          
          <creation_ts>2026-03-02 18:04:30 -0800</creation_ts>
          <short_desc>[Site Isolation] window.open when opener is an empty site crashes</short_desc>
          <delta_ts>2026-03-23 09:06:45 -0700</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="Anthony Tarbinian">a.tarbinian</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2186348</commentid>
    <comment_count>0</comment_count>
    <who name="Anthony Tarbinian">a.tarbinian</who>
    <bug_when>2026-03-02 18:04:30 -0800</bug_when>
    <thetext>When calling window.open() from an empty site (i.e. about:blank) we hit this crash which gets triggered from WebPageProxy::initializeWebPage

Steps to reproduce:
1. Open Minibrowser and navigate to about:blank
2. Open web inspector console
3. Run window.open()


Full crash:
Source/WebKit/Platform/IPC/MessageReceiverMap.cpp(53) : void IPC::MessageReceiverMap::addMessageReceiver(ReceiverName, uint64_t, MessageReceiver &amp;)
1   0x11c16d514 IPC::MessageReceiverMap::addMessageReceiver(IPC::ReceiverName, unsigned long long, IPC::MessageReceiver&amp;)
2   0x11a98f69c WebKit::AuxiliaryProcessProxy::addMessageReceiver(IPC::ReceiverName, unsigned long long, IPC::MessageReceiver&amp;)
3   0x119d329a8 void WebKit::AuxiliaryProcessProxy::addMessageReceiver&lt;unsigned long long&gt;(IPC::ReceiverName, WTF::ObjectIdentifierGenericBase&lt;unsigned long long&gt; const&amp;, IPC::MessageReceiver&amp;)
4   0x11aa2bdec WebKit::RemotePageDrawingAreaProxy::RemotePageDrawingAreaProxy(WebKit::DrawingAreaProxy&amp;, WebKit::WebProcessProxy&amp;)
5   0x11aa2bcb8 WebKit::RemotePageDrawingAreaProxy::RemotePageDrawingAreaProxy(WebKit::DrawingAreaProxy&amp;, WebKit::WebProcessProxy&amp;)
6   0x11aa2bb54 WebKit::RemotePageDrawingAreaProxy::create(WebKit::DrawingAreaProxy&amp;, WebKit::WebProcessProxy&amp;)
7   0x11aa2d4d4 WebKit::RemotePageProxy::injectPageIntoNewProcess()
8   0x11a994164 WebKit::BrowsingContextGroup::addFrameProcessAndInjectPageContextIf(WebKit::FrameProcess&amp;, WTF::Function&lt;bool (WebKit::WebPageProxy&amp;)&gt;)::$_0::operator()(WebKit::WebPageProxy&amp;, WebCore::Site const&amp;) const
9   0x11a993d90 WebKit::BrowsingContextGroup::addFrameProcessAndInjectPageContextIf(WebKit::FrameProcess&amp;, WTF::Function&lt;bool (WebKit::WebPageProxy&amp;)&gt;)
10  0x11a993a1c WebKit::BrowsingContextGroup::addFrameProcess(WebKit::FrameProcess&amp;)
11  0x11a9e485c WebKit::FrameProcess::FrameProcess(WebKit::WebProcessProxy&amp;, WebKit::BrowsingContextGroup&amp;, std::__1::optional&lt;WebCore::Site&gt; const&amp;, WebCore::Site const&amp;, WebKit::WebPreferences const&amp;, WebKit::LoadedWebArchive, WebKit::BrowsingContextGroupUpdate)
12  0x11a9e4abc WebKit::FrameProcess::FrameProcess(WebKit::WebProcessProxy&amp;, WebKit::BrowsingContextGroup&amp;, std::__1::optional&lt;WebCore::Site&gt; const&amp;, WebCore::Site const&amp;, WebKit::WebPreferences const&amp;, WebKit::LoadedWebArchive, WebKit::BrowsingContextGroupUpdate)
13  0x11a99373c WebKit::FrameProcess::create(WebKit::WebProcessProxy&amp;, WebKit::BrowsingContextGroup&amp;, std::__1::optional&lt;WebCore::Site&gt; const&amp;, WebCore::Site const&amp;, WebKit::WebPreferences const&amp;, WebKit::LoadedWebArchive, WebKit::BrowsingContextGroupUpdate)
14  0x11a993128 WebKit::BrowsingContextGroup::ensureProcessForSite(WebCore::Site const&amp;, WebCore::Site const&amp;, WebKit::WebProcessProxy&amp;, WebKit::WebPreferences const&amp;, WebKit::LoadedWebArchive, WebKit::BrowsingContextGroupUpdate)
15  0x11ab23458 WebKit::WebPageProxy::initializeWebPage(WebCore::Site const&amp;, WTF::OptionSet&lt;WebCore::SandboxFlag, (WTF::ConcurrencyTag)0&gt;, WebCore::ReferrerPolicy)
16  0x11a60d598 WebKit::WebViewImpl::WebViewImpl(WKWebView*, WebKit::WebProcessPool&amp;, WTF::Ref&lt;API::PageConfiguration, WTF::RawPtrTraits&lt;API::PageConfiguration&gt;, WTF::DefaultRefDerefTraits&lt;API::PageConfiguration&gt;&gt;&amp;&amp;)
17  0x11a60f9c0 WebKit::WebViewImpl::WebViewImpl(WKWebView*, WebKit::WebProcessPool&amp;, WTF::Ref&lt;API::PageConfiguration, WTF::RawPtrTraits&lt;API::PageConfiguration&gt;, WTF::DefaultRefDerefTraits&lt;API::PageConfiguration&gt;&gt;&amp;&amp;)
18  0x1198259d8 std::__1::unique_ptr&lt;WebKit::WebViewImpl, std::__1::default_delete&lt;WebKit::WebViewImpl&gt;&gt; std::__1::make_unique[abi:sqn210106]&lt;WebKit::WebViewImpl, WKWebView*&amp;, WebKit::WebProcessPool&amp;, WTF::Ref&lt;API::PageConfiguration, WTF::RawPtrTraits&lt;API::PageConfiguration&gt;, WTF::DefaultRefDerefTraits&lt;API::PageConfiguration&gt;&gt;, 0&gt;(WKWebView*&amp;, WebKit::WebProcessPool&amp;, WTF::Ref&lt;API::PageConfiguration, WTF::RawPtrTraits&lt;API::PageConfiguration&gt;, WTF::DefaultRefDerefTraits&lt;API::PageConfiguration&gt;&gt;&amp;&amp;)
19  0x1197d74a4 decltype(auto) WTF::makeUnique&lt;WebKit::WebViewImpl, WKWebView*&amp;, WebKit::WebProcessPool&amp;, WTF::Ref&lt;API::PageConfiguration, WTF::RawPtrTraits&lt;API::PageConfiguration&gt;, WTF::DefaultRefDerefTraits&lt;API::PageConfiguration&gt;&gt;&gt;(WKWebView*&amp;, WebKit::WebProcessPool&amp;, WTF::Ref&lt;API::PageConfiguration, WTF::RawPtrTraits&lt;API::PageConfiguration&gt;, WTF::DefaultRefDerefTraits&lt;API::PageConfiguration&gt;&gt;&amp;&amp;)
20  0x11709cd5c -[WKWebView _initializeWithConfiguration:]
21  0x11709c6d8 -[WKWebView initWithFrame:configuration:]
22  0x1001bb32c -[WK2BrowserWindowController awakeFromNib]
23  0x18556a314 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:]
24  0x18555f994 loadNib
25  0x18555efb8 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:]
26  0x1856e589c -[NSWindowController loadWindow]
27  0x1856e5654 -[NSWindowController window]
28  0x1001bfc0c -[WK2BrowserWindowController webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]
29  0x119e16700 WebKit::UIDelegate::UIClient::createNewPage(WebKit::WebPageProxy&amp;, WTF::Ref&lt;API::PageConfiguration, WTF::RawPtrTraits&lt;API::PageConfiguration&gt;, WTF::DefaultRefDerefTraits&lt;API::PageConfiguration&gt;&gt;&amp;&amp;, WTF::Ref&lt;API::NavigationAction, WTF::RawPtrTraits&lt;API::NavigationAction&gt;, WTF::DefaultRefDerefTraits&lt;API::NavigationAction&gt;&gt;&amp;&amp;, WTF::CompletionHandler&lt;void (WTF::RefPtr&lt;WebKit::WebPageProxy, WTF::RawPtrTraits&lt;WebKit::WebPageProxy&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPageProxy&gt;&gt;&amp;&amp;)&gt;&amp;&amp;)
30  0x11ac733c8 WebKit::WebPageProxy::createNewPage(IPC::Connection&amp;, WebCore::WindowFeatures&amp;&amp;, WebKit::NavigationActionData&amp;&amp;, WTF::CompletionHandler&lt;void (std::__1::optional&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::PageIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;&gt;, std::__1::optional&lt;WebKit::WebPageCreationParameters&gt;)&gt;&amp;&amp;)::$_1::operator()(WTF::Ref&lt;API::NavigationAction, WTF::RawPtrTraits&lt;API::NavigationAction&gt;, WTF::DefaultRefDerefTraits&lt;API::NavigationAction&gt;&gt;&amp;&amp;, WTF::CompletionHandler&lt;void (WTF::RefPtr&lt;WebKit::WebPageProxy, WTF::RawPtrTraits&lt;WebKit::WebPageProxy&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPageProxy&gt;&gt;&amp;&amp;)&gt;&amp;&amp;)
31  0x11ac73218 WTF::Detail::CallableWrapper&lt;WebKit::WebPageProxy::createNewPage(IPC::Connection&amp;, WebCore::WindowFeatures&amp;&amp;, WebKit::NavigationActionData&amp;&amp;, WTF::CompletionHandler&lt;void (std::__1::optional&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::PageIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long long&gt;, unsigned long long&gt;&gt;, std::__1::optional&lt;WebKit::WebPageCreationParameters&gt;)&gt;&amp;&amp;)::$_1, void, WTF::Ref&lt;API::NavigationAction, WTF::RawPtrTraits&lt;API::NavigationAction&gt;, WTF::DefaultRefDerefTraits&lt;API::NavigationAction&gt;&gt;&amp;&amp;, WTF::CompletionHandler&lt;void (WTF::RefPtr&lt;WebKit::WebPageProxy, WTF::RawPtrTraits&lt;WebKit::WebPageProxy&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPageProxy&gt;&gt;&amp;&amp;)&gt;&amp;&amp;&gt;::call(WTF::Ref&lt;API::NavigationAction, WTF::RawPtrTraits&lt;API::NavigationAction&gt;, WTF::DefaultRefDerefTraits&lt;API::NavigationAction&gt;&gt;&amp;&amp;, WTF::CompletionHandler&lt;void (WTF::RefPtr&lt;WebKit::WebPageProxy, WTF::RawPtrTraits&lt;WebKit::WebPageProxy&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::WebPageProxy&gt;&gt;&amp;&amp;)&gt;&amp;&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2186349</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-03-02 18:04:36 -0800</bug_when>
    <thetext>&lt;rdar://problem/171576184&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2186351</commentid>
    <comment_count>2</comment_count>
    <who name="Anthony Tarbinian">a.tarbinian</who>
    <bug_when>2026-03-02 18:05:49 -0800</bug_when>
    <thetext>Reproduces on 308471@main with site isolation on</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2186363</commentid>
    <comment_count>3</comment_count>
    <who name="Anthony Tarbinian">a.tarbinian</who>
    <bug_when>2026-03-02 18:31:47 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/59765</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2192776</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-03-23 09:06:43 -0700</bug_when>
    <thetext>Committed 309761@main (5c3dd122be67): &lt;https://commits.webkit.org/309761@main&gt;

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

    </bug>

</bugzilla>