<?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>222081</bug_id>
          
          <creation_ts>2021-02-17 17:01:33 -0800</creation_ts>
          <short_desc>REGRESSION (r273048): ASSERTION FAILED: response.certificateInfo() under WebCore::DocumentLoader::responseReceived</short_desc>
          <delta_ts>2021-02-17 17:06:35 -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>INVALID</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=221641</see_also>
          <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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</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>1730652</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-02-17 17:01:33 -0800</bug_when>
    <thetext>These three tests are consistently asserting on macOS debug bots:
TestWebKitAPI.WKWebView.LoadSimulatedRequestUpdatesBackForwardList
TestWebKitAPI.WKWebView.LoadSimulatedRequestUsingResponseData
TestWebKitAPI.WKWebView.LoadSimulatedRequestUsingResponseHTMLString

        ASSERTION FAILED: response.certificateInfo()
        ./loader/DocumentLoader.cpp(836) : void WebCore::DocumentLoader::responseReceived(const WebCore::ResourceResponse &amp;, CompletionHandler&lt;void ()&gt; &amp;&amp;)
        1   0x14622c169 WTFCrash
        2   0x12856d25b WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x12c28f3c4 WebCore::DocumentLoader::responseReceived(WebCore::ResourceResponse const&amp;, WTF::CompletionHandler&lt;void ()&gt;&amp;&amp;)
        4   0x12c28f259 WebCore::DocumentLoader::handleSubstituteDataLoadNow()
        5   0x12c2be3f2 WebCore::DocumentLoader::tryLoadingSubstituteData()::$_5::operator()() const
        6   0x12c2be29e WTF::Detail::CallableWrapper&lt;WebCore::DocumentLoader::tryLoadingSubstituteData()::$_5, void&gt;::call()
        7   0x146257a52 WTF::Function&lt;void ()&gt;::operator()() const
        8   0x1462df2df WTF::RunLoop::dispatch(WTF::HashSet&lt;WTF::RefPtr&lt;WTF::SchedulePair, WTF::RawPtrTraits&lt;WTF::SchedulePair&gt;, WTF::DefaultRefDerefTraits&lt;WTF::SchedulePair&gt; &gt;, WTF::SchedulePairHash, WTF::HashTraits&lt;WTF::RefPtr&lt;WTF::SchedulePair, WTF::RawPtrTraits&lt;WTF::SchedulePair&gt;, WTF::DefaultRefDerefTraits&lt;WTF::SchedulePair&gt; &gt; &gt; &gt; const&amp;, WTF::Function&lt;void ()&gt;&amp;&amp;)::$_0::operator()(__CFRunLoopTimer*, void*) const
        9   0x1462df28d WTF::RunLoop::dispatch(WTF::HashSet&lt;WTF::RefPtr&lt;WTF::SchedulePair, WTF::RawPtrTraits&lt;WTF::SchedulePair&gt;, WTF::DefaultRefDerefTraits&lt;WTF::SchedulePair&gt; &gt;, WTF::SchedulePairHash, WTF::HashTraits&lt;WTF::RefPtr&lt;WTF::SchedulePair, WTF::RawPtrTraits&lt;WTF::SchedulePair&gt;, WTF::DefaultRefDerefTraits&lt;WTF::SchedulePair&gt; &gt; &gt; &gt; const&amp;, WTF::Function&lt;void ()&gt;&amp;&amp;)::$_0::__invoke(__CFRunLoopTimer*, void*)
        10  0x7fff2046390d __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
        11  0x7fff204633e8 __CFRunLoopDoTimer
        12  0x7fff20462f42 __CFRunLoopDoTimers
        13  0x7fff2044957f __CFRunLoopRun
        14  0x7fff204486ce CFRunLoopRunSpecific
        15  0x7fff211d5fa1 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
        16  0x7fff21264384 -[NSRunLoop(NSRunLoop) run]
        17  0x7fff2009f3dd _xpc_objc_main
        18  0x7fff2009ee65 _xpc_copy_xpcservice_dictionary
        19  0x119da781c WebKit::XPCServiceMain(int, char const**)
        20  0x11b3cb23b WKXPCServiceMain
        21  0x10e8daea2 main
        22  0x7fff2036d621 start
        23  0x1


https://results.webkit.org/?suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;test=TestWebKitAPI.WKWebView.LoadSimulatedRequestUpdatesBackForwardList&amp;test=TestWebKitAPI.WKWebView.LoadSimulatedRequestUsingResponseHTMLString&amp;test=TestWebKitAPI.WKWebView.LoadSimulatedRequestUsingResponseData</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1730653</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-02-17 17:02:02 -0800</bug_when>
    <thetext>It looks like this started with https://trac.webkit.org/changeset/273048/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1730655</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-02-17 17:02:28 -0800</bug_when>
    <thetext>&lt;rdar://problem/74456462&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1730658</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-02-17 17:06:35 -0800</bug_when>
    <thetext>(In reply to Ryan Haddad from comment #1)
&gt; It looks like this started with
&gt; https://trac.webkit.org/changeset/273048/webkit
I got my commits mixed up, this is actually the fix for the problem that was introduced by https://trac.webkit.org/changeset/273023/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>