<?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>282991</bug_id>
          
          <creation_ts>2024-11-12 09:20:49 -0800</creation_ts>
          <short_desc>REGRESSION(285883@main): TestWebKitAPI.CopyHTML.SanitizationPreservesCharacterSet triggers assertions</short_desc>
          <delta_ts>2024-11-12 16:29:57 -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>WebKit Misc.</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>
          
          <blocked>282297</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>cdumez</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2074540</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2024-11-12 09:20:49 -0800</bug_when>
    <thetext>TestWebKitAPI.CopyHTML.SanitizationPreservesCharacterSet always triggers an assertion after 285883@main.

History: https://results.webkit.org/?suite=api-tests&amp;test=TestWebKitAPI.CopyHTML.SanitizationPreservesCharacterSet

Logs of https://build.webkit.org/#/builders/940/builds/3210/steps/18

TestWebKitAPI.CopyHTML.SanitizationPreservesCharacterSet
        2024-11-12 05:47:37.757 TestWebKitAPI[25124:4763359] Successfully load keyboard extensions
        2024-11-12 05:47:37.759 TestWebKitAPI[25124:4763359] Successfully load keyboard extensions
        ASSERTION FAILED: isMainRunLoop()
        /Volumes/Data/worker/Apple-iOS-17-Simulator-Debug-Build/build/Source/WebCore/platform/cocoa/LowPowerModeNotifier.mm(93) : WebCore::LowPowerModeNotifier::~LowPowerModeNotifier()
        1   0x129720db0 WebCore::LowPowerModeNotifier::~LowPowerModeNotifier()
        2   0x129720ecc WebCore::LowPowerModeNotifier::~LowPowerModeNotifier()
        3   0x12cada7c4 WebCore::LowPowerModeNotifier::operator delete(WebCore::LowPowerModeNotifier*, std::destroying_delete_t, unsigned long)
        4   0x12cada6fc std::__1::default_delete&lt;WebCore::LowPowerModeNotifier&gt;::operator()[abi:sn170006](WebCore::LowPowerModeNotifier*) const
        5   0x12cada66c std::__1::unique_ptr&lt;WebCore::LowPowerModeNotifier, std::__1::default_delete&lt;WebCore::LowPowerModeNotifier&gt;&gt;::reset[abi:sn170006](WebCore::LowPowerModeNotifier*)
        6   0x12cada5f4 std::__1::unique_ptr&lt;WebCore::LowPowerModeNotifier, std::__1::default_delete&lt;WebCore::LowPowerModeNotifier&gt;&gt;::~unique_ptr[abi:sn170006]()
        7   0x12cab17a4 std::__1::unique_ptr&lt;WebCore::LowPowerModeNotifier, std::__1::default_delete&lt;WebCore::LowPowerModeNotifier&gt;&gt;::~unique_ptr[abi:sn170006]()
        8   0x12cab0c34 WebCore::Page::~Page()
        9   0x12cab1d88 WebCore::Page::~Page()
        10  0x15bbbb7f8 WTF::RefCounted&lt;WebCore::Page&gt;::deref() const
        11  0x15bbbb77c WTF::DefaultRefDerefTraits&lt;WebCore::Page&gt;::derefIfNotNull(WebCore::Page*)
        12  0x15bb44414 WTF::RefPtr&lt;WebCore::Page, WTF::RawPtrTraits&lt;WebCore::Page&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::Page&gt;&gt;::operator=(std::nullptr_t)
        13  0x15bb44168 __29-[WebView(WebPrivate) _close]_block_invoke
        14  0x12d37b1a0 (anonymous namespace)::WebThreadBlock::operator()() const
        15  0x12d379c0c HandleRunSource(void*)
        16  0x109afde48 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
        17  0x109afdd90 __CFRunLoopDoSource0
        18  0x109afd500 __CFRunLoopDoSources0
        19  0x109af7be8 __CFRunLoopRun
        20  0x109af74d4 CFRunLoopRunSpecific
        21  0x129f77ce8 RunWebThread(void*)
        22  0x10da03414 _pthread_start
        23  0x10d9fe5e0 thread_start
        Child process terminated with signal 5: Trace/BPT trap</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2074541</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-11-12 09:21:05 -0800</bug_when>
    <thetext>&lt;rdar://problem/139727732&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2074619</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-11-12 13:48:19 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/36551</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2074680</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-11-12 16:29:55 -0800</bug_when>
    <thetext>Committed 286510@main (79c4ba33192d): &lt;https://commits.webkit.org/286510@main&gt;

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

    </bug>

</bugzilla>