<?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>274959</bug_id>
          
          <creation_ts>2024-05-31 04:34:56 -0700</creation_ts>
          <short_desc>[WPE GTK Debug] API test `TestWebCore.MIMETypeRegistry.ExtensionsForMIMEType` is a constant crash</short_desc>
          <delta_ts>2024-05-31 06:58:13 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Dyackhov">vitaly</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2039002</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2024-05-31 04:34:56 -0700</bug_when>
    <thetext>```
$ run-wpe-tests --debug TestWebCore -p MIMETypeRegistry.ExtensionsForMIMEType
***
*** Warning: jhbuild environment not present and not running in flatpak.
*** Run update-webkitwpe-libs or update-webkit-flatpak before build-webkit to ensure proper testing..
***
NOT IMPLEMENTED YET
/home/vitaly/WebKit/Source/WebCore/platform/xdg/MIMETypeRegistryXdg.cpp(74) : static WTF::Vector&lt;WTF::String&gt; WebCore::MIMETypeRegistry::extensionsForMIMEType(const WTF::String&amp;)
1   0x558cf23a9b1c WTFCrash
2   0x558cf6fbe979 ???
3   0x558cefe163a3 TestWebKitAPI::MIMETypeRegistry_ExtensionsForMIMEType_Test::TestBody()
4   0x7f44226fe5bb void testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
5   0x7f44226f4f43 void testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
6   0x7f44226d9e7c testing::Test::Run()
7   0x7f44226da797 testing::TestInfo::Run()
8   0x7f44226db1db testing::TestSuite::Run()
9   0x7f44226e8b10 testing::internal::UnitTestImpl::RunAllTests()
10  0x7f44226fff94 bool testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
11  0x7f44226f5edd bool testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
12  0x7f44226e713b testing::UnitTest::Run()
13  0x558cefd0b385 RUN_ALL_TESTS()
14  0x558cefd0b937 TestWebKitAPI::TestsController::run(int, char**)
15  0x558cefe89c48 main
16  0x7f441f273a90 __libc_start_call_main
17  0x7f441f273b49 __libc_start_main
18  0x558cefd0ae25 _start
**CRASH** MIMETypeRegistry.ExtensionsForMIMEType

Unexpected crashes (1)
    /TestWebCore
        MIMETypeRegistry.ExtensionsForMIMEType

Ran 1 tests of 1 with 0 successful
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2039005</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2024-05-31 04:39:02 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/29368</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2039034</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-05-31 06:57:31 -0700</bug_when>
    <thetext>Committed 279575@main (1748da270165): &lt;https://commits.webkit.org/279575@main&gt;

Reviewed commits have been landed. Closing PR #29368 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2039035</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-05-31 06:58:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/129061378&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>