<?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>284635</bug_id>
          
          <creation_ts>2024-12-13 09:04:34 -0800</creation_ts>
          <short_desc>REGRESSION(287711@main) Broke 60+ api-tests</short_desc>
          <delta_ts>2024-12-13 09:49:23 -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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>284638</dup_id>
          
          <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="Dawn Morningstar">Morningstar</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>rniwa</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2081522</commentid>
    <comment_count>0</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2024-12-13 09:04:34 -0800</bug_when>
    <thetext>287711@main https://commits.webkit.org/287711@main broke 60+ api-tests 
https://results.webkit.org/suites

        ASSERTION FAILED: canSafelyBeUsed()
        /Volumes/Data/worker/Apple-Ventura-Debug-Build/build/WebKitBuild/Debug/usr/local/include/wtf/WeakRef.h(111) : T *WTF::WeakRef&lt;WebKit::NetworkProcess&gt;::operator-&gt;() const [T = WebKit::NetworkProcess, WeakPtrImpl = WTF::DefaultWeakPtrImpl]
        1   0x147aab560 WTF::WeakRef&lt;WebKit::NetworkProcess, WTF::DefaultWeakPtrImpl&gt;::operator-&gt;() const
        2   0x147d2ecec WebKit::LegacyCustomProtocolManager::ref() const
        3   0x147335c28 WTF::DefaultRefDerefTraits&lt;WebKit::LegacyCustomProtocolManager&gt;::refIfNotNull(WebKit::LegacyCustomProtocolManager*)
        4   0x147335be4 WTF::RefPtr&lt;WebKit::LegacyCustomProtocolManager, WTF::RawPtrTraits&lt;WebKit::LegacyCustomProtocolManager&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::LegacyCustomProtocolManager&gt;&gt;::RefPtr(WebKit::LegacyCustomProtocolManager*)
        5   0x14732bc94 WTF::RefPtr&lt;WebKit::LegacyCustomProtocolManager, WTF::RawPtrTraits&lt;WebKit::LegacyCustomProtocolManager&gt;, WTF::DefaultRefDerefTraits&lt;WebKit::LegacyCustomProtocolManager&gt;&gt;::RefPtr(WebKit::LegacyCustomProtocolManager*)
        6   0x14732c060 -[WKCustomProtocol initWithRequest:cachedResponse:client:]
        7   0x1acbb7bc4 CFURLRequestGetTimeoutInterval
        8   0x1a8120400 _dispatch_client_callout
        9   0x1a8123e70 _dispatch_block_invoke_direct
        10  0x1acb7ce34 CFHTTPMessageGetTypeID
        11  0x1a8371a6c CFArrayApplyFunction
        12  0x1acb7cd24 CFHTTPMessageGetTypeID
        13  0x1acb7cbcc CFHTTPMessageGetTypeID
        14  0x1a83ae56c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__

- (id)initWithRequest:(NSURLRequest *)request cachedResponse:(NSCachedURLResponse *)cachedResponse client:(id&lt;NSURLProtocolClient&gt;)client
{
    self = [super initWithRequest:request cachedResponse:cachedResponse client:client];
    if (!self)
        return nil;

    if (RefPtr customProtocolManager = protectedFirstNetworkProcess()-&gt;supplement&lt;LegacyCustomProtocolManager&gt;())
        _customProtocolID = customProtocolManager-&gt;addCustomProtocol(self);
    _initializationRunLoop = CFRunLoopGetCurrent();

    return self;
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2081523</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-12-13 09:05:02 -0800</bug_when>
    <thetext>&lt;rdar://problem/141441315&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2081538</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2024-12-13 09:49:23 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 284638 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>