<?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>269172</bug_id>
          
          <creation_ts>2024-02-11 06:43:11 -0800</creation_ts>
          <short_desc>Null-deref in MixedContentChecker::shouldBlockRequestForRunnableContent</short_desc>
          <delta_ts>2024-02-11 22:05:05 -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>Page Loading</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=247197</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="Jean-Yves Avenard [:jya]">jean-yves.avenard</reporter>
          <assigned_to name="Matthew Finkel">m_finkel</assigned_to>
          <cc>beidson</cc>
    
    <cc>m_finkel</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2012602</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2024-02-11 06:43:11 -0800</bug_when>
    <thetext>https://ews-build.s3-us-west-2.amazonaws.com/macOS-Monterey-Release-WK1-Tests-EWS/9edf41cb-34858/results.html

crash with WK1 test http/tests/websocket/tests/hybi/workers/worker-reload.html

```
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0  com.apple.WebCore       	       0x10f786bfa    WebCore::MixedContentChecker::shouldBlockRequestForRunnableContent(WebCore::LocalFrame&amp;, WebCore::SecurityOrigin&amp;, WTF::URL const&amp;, WebCore::MixedContentChecker::ShouldLogWarning)
1  com.apple.WebCore       	       0x10ed1918e    WTF::Detail::CallableWrapper&lt;WebCore::WorkerThreadableWebSocketChannel::Bridge::connect(WTF::URL const&amp;, WTF::String const&amp;)::$_14, void, WebCore::ScriptExecutionContext&amp;&gt;::call(WebCore::ScriptExecutionContext&amp;)
2  com.apple.WebCore       	       0x10f1f5516    WTF::Detail::CallableWrapper&lt;WebCore::Document::postTask(WebCore::ScriptExecutionContext::Task&amp;&amp;)::$_38, void&gt;::call()
3  com.apple.JavaScriptCore	       0x113dfc77e    WTF::RunLoop::performWork()
4  com.apple.JavaScriptCore	       0x113dfd202    WTF::RunLoop::performWork(void*)
5  com.apple.CoreFoundation	       0x7ff8045c032a __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 16 /AppleInternal/Library/BuildRoots/b30bc231-ded9-11ed-87e6-9edb579d3e3f/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:1972
6  com.apple.CoreFoundation	       0x7ff8045c0292 __CFRunLoopDoSource0 + 180 /AppleInternal/Library/BuildRoots/b30bc231-ded9-11ed-87e6-9edb579d3e3f/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:2016
7  com.apple.CoreFoundation	       0x7ff8045c0010 __CFRunLoopDoSources0 + 242 /AppleInternal/Library/BuildRoots/b30bc231-ded9-11ed-87e6-9edb579d3e3f/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:2053
8  com.apple.CoreFoundation	       0x7ff8045bea20 __CFRunLoopRun + 892 /AppleInternal/Library/BuildRoots/b30bc231-ded9-11ed-87e6-9edb579d3e3f/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:2951
9  com.apple.CoreFoundation	       0x7ff8045bdfe4 CFRunLoopRunSpecific + 562 /AppleInternal/Library/BuildRoots/b30bc231-ded9-11ed-87e6-9edb579d3e3f/Library/Caches/com.apple.xbs/Sources/CoreFoundation/CoreFoundation/RunLoop.subproj/CFRunLoop.c:3268
10  DumpRenderTree          	       0x10ce20744    runTest(std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; const&amp;)
11  DumpRenderTree          	       0x10ce1ffde    runTestingServerLoop()
12  DumpRenderTree          	       0x10ce1f91e    dumpRenderTree(int, char const**)
13  DumpRenderTree          	       0x10ce20e26    DumpRenderTreeMain(int, char const**)
14  DumpRenderTree          	       0x10ce8d188    main
15  dyld                    	       0x113cf552e    start + 462 /AppleInternal/Library/BuildRoots/b30bc231-ded9-11ed-87e6-9edb579d3e3f/Library/Caches/com.apple.xbs/Sources/dyld/dyld/dyldMain.cpp:879
```

regression from bug 247197</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012603</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-02-11 06:43:42 -0800</bug_when>
    <thetext>&lt;rdar://problem/122746490&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012609</commentid>
    <comment_count>2</comment_count>
    <who name="Matthew Finkel">m_finkel</who>
    <bug_when>2024-02-11 09:23:13 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/24236</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012649</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-02-11 22:05:03 -0800</bug_when>
    <thetext>Committed 274453@main (ff9e063c794b): &lt;https://commits.webkit.org/274453@main&gt;

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

    </bug>

</bugzilla>