<?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>236824</bug_id>
          
          <creation_ts>2022-02-17 21:42:42 -0800</creation_ts>
          <short_desc>REGRESSION: [macOS Debug WK1] ASSERTION FAILED: !allScriptExecutionContextsMap().contains(m_identifier) under WebCore::Document::Document</short_desc>
          <delta_ts>2022-02-18 12:25:26 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>236123</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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1843276</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2022-02-17 21:42:42 -0800</bug_when>
    <thetext>The following tests are failing an assertion on macOS Debug WK1 bots. History suggests that this started with https://trac.webkit.org/changeset/288201/webkit

http/tests/multipart/load-last-non-html-frame.py
http/tests/multipart/multipart-html.py
http/tests/multipart/multipart-replace-non-html-content.py
http/tests/multipart/multipart-wait-before-boundary.html

ASSERTION FAILED: !allScriptExecutionContextsMap().contains(m_identifier)
./dom/ScriptExecutionContext.cpp(118) : WebCore::ScriptExecutionContext::ScriptExecutionContext(WebCore::ScriptExecutionContextIdentifier)
1   0x103b9b439 WTFCrash
2   0x12b2358cb WTFCrashWithInfo(int, char const*, char const*, int)
3   0x12eb0dc51 WebCore::ScriptExecutionContext::ScriptExecutionContext(WebCore::ProcessQualified&lt;WTF::UUID&gt;)
4   0x12e8da7bb WebCore::Document::Document(WebCore::Frame*, WebCore::Settings const&amp;, WTF::URL const&amp;, WTF::OptionSet&lt;WebCore::Document::DocumentClass&gt;, unsigned int, WebCore::ProcessQualified&lt;WTF::UUID&gt;)
5   0x12ee1c343 WebCore::HTMLDocument::HTMLDocument(WebCore::Frame*, WebCore::Settings const&amp;, WTF::URL const&amp;, WebCore::ProcessQualified&lt;WTF::UUID&gt;, WTF::OptionSet&lt;WebCore::Document::DocumentClass&gt;, unsigned int)
6   0x12efcbdf5 WebCore::TextDocument::TextDocument(WebCore::Frame*, WebCore::Settings const&amp;, WTF::URL const&amp;, WebCore::ProcessQualified&lt;WTF::UUID&gt;)
7   0x12efcbf03 WebCore::TextDocument::TextDocument(WebCore::Frame*, WebCore::Settings const&amp;, WTF::URL const&amp;, WebCore::ProcessQualified&lt;WTF::UUID&gt;)
8   0x12e8ab25d WebCore::TextDocument::create(WebCore::Frame*, WebCore::Settings const&amp;, WTF::URL const&amp;, WebCore::ProcessQualified&lt;WTF::UUID&gt;)
9   0x12e8aa911 WebCore::DOMImplementation::createDocument(WTF::String const&amp;, WebCore::Frame*, WebCore::Settings const&amp;, WTF::URL const&amp;, WebCore::ProcessQualified&lt;WTF::UUID&gt;)
10  0x12f57e913 WebCore::DocumentWriter::createDocument(WTF::URL const&amp;, WebCore::ProcessQualified&lt;WTF::UUID&gt;)
11  0x12f56e871 WebCore::DocumentWriter::begin(WTF::URL const&amp;, bool, WebCore::Document*, WebCore::ProcessQualified&lt;WTF::UUID&gt;)
12  0x12f567127 WebCore::DocumentLoader::commitData(WebCore::SharedBuffer const&amp;)
13  0x10f457cd4 -[WebFrame(WebInternal) _commitData:]
14  0x10f5794f1 -[WebHTMLRepresentation receivedData:withDataSource:]
15  0x10f43f5ba -[WebDataSource(WebInternal) _receivedData:]
16  0x10f434f3f WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, WebCore::SharedBuffer const&amp;)
17  0x12f56e71f WebCore::DocumentLoader::commitLoad(WebCore::SharedBuffer const&amp;)
18  0x12f566d8b WebCore::DocumentLoader::maybeFinishLoadingMultipartContent()
19  0x12f566a42 WebCore::DocumentLoader::finishedLoading()
20  0x12f566537 WebCore::DocumentLoader::notifyFinished(WebCore::CachedResource&amp;, WebCore::NetworkLoadMetrics const&amp;)
21  0x12f731aea WebCore::CachedResource::checkNotify(WebCore::NetworkLoadMetrics const&amp;)
22  0x12f724a9c WebCore::CachedResource::finishLoading(WebCore::FragmentedSharedBuffer const*, WebCore::NetworkLoadMetrics const&amp;)
23  0x12f72eef6 WebCore::CachedRawResource::finishLoading(WebCore::FragmentedSharedBuffer const*, WebCore::NetworkLoadMetrics const&amp;)
24  0x12f6a2a9e WebCore::SubresourceLoader::didFinishLoading(WebCore::NetworkLoadMetrics const&amp;)
25  0x12f683d98 WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*, WebCore::NetworkLoadMetrics const&amp;)
26  0x130fb3687 -[WebCoreResourceHandleAsOperationQueueDelegate connectionDidFinishLoading:]::$_7::operator()()
27  0x130fb325e WTF::Detail::CallableWrapper&lt;-[WebCoreResourceHandleAsOperationQueueDelegate connectionDidFinishLoading:]::$_7, void&gt;::call()
28  0x103bc98a2 WTF::Function&lt;void ()&gt;::operator()() const
29  0x103c5fc40 WTF::RunLoop::performWork()
30  0x103c64671 WTF::RunLoop::performWork(void*)
31  0x7fff205b50dc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__


https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=http%2Ftests%2Fmultipart%2Fload-last-non-html-frame.py&amp;test=http%2Ftests%2Fmultipart%2Fmultipart-html.py&amp;test=http%2Ftests%2Fmultipart%2Fmultipart-replace-non-html-content.py&amp;test=http%2Ftests%2Fmultipart%2Fmultipart-wait-before-boundary.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1843277</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-17 21:42:52 -0800</bug_when>
    <thetext>&lt;rdar://problem/89127177&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1843556</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2022-02-18 12:25:26 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>