<?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>236442</bug_id>
          
          <creation_ts>2022-02-10 07:20:34 -0800</creation_ts>
          <short_desc>[Debug] imported/w3c/web-platform-tests/url/toascii.window.html is crashing</short_desc>
          <delta_ts>2022-03-01 08:18:48 -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>WebCore 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>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=236377</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="Chris Dumez">cdumez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>ap</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1839635</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-02-10 07:20:34 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/url/toascii.window.html has been crashing since its import in Bug 236377:
ASSERTION FAILED: isASCII(hostnameBuffer[i])
/Volumes/Data/worker/macOS-AppleSilicon-Big-Sur-Debug-Build-EWS/build/Source/WTF/wtf/URLParser.cpp(2554) : std::optional&lt;URLParser::LCharBuffer&gt; WTF::URLParser::domainToASCII(WTF::StringImpl &amp;, const CodePointIterator&lt;CharacterType&gt; &amp;) [CharacterType = char16_t]
1   0x13f75a2c8 WTFCrash
2   0x13fd6f560 JSC::IntlListFormat::initializeListFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue)
3   0x13f8b23b4 std::__1::optional&lt;WTF::Vector&lt;unsigned char, 2048ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt; &gt; WTF::URLParser::domainToASCII&lt;char16_t&gt;(WTF::StringImpl&amp;, WTF::CodePointIterator&lt;char16_t&gt; const&amp;)
4   0x13f8ae870 WTF::URLParser::HostParsingResult WTF::URLParser::parseHostAndPort&lt;char16_t&gt;(WTF::CodePointIterator&lt;char16_t&gt;)
5   0x13f89c6c8 void WTF::URLParser::parse&lt;char16_t&gt;(char16_t const*, unsigned int, WTF::URL const&amp;, WTF::URLTextEncoding const*)
6   0x13f898044 WTF::URLParser::URLParser(WTF::String const&amp;, WTF::URL const&amp;, WTF::URLTextEncoding const*)
7   0x13f89e8a0 WTF::URLParser::URLParser(WTF::String const&amp;, WTF::URL const&amp;, WTF::URLTextEncoding const*)
8   0x13f87641c WTF::URL::URL(WTF::URL const&amp;, WTF::String const&amp;, WTF::URLTextEncoding const*)
9   0x13f876550 WTF::URL::URL(WTF::URL const&amp;, WTF::String const&amp;, WTF::URLTextEncoding const*)
10  0x11d87a8e0 WebCore::DOMURL::create(WTF::String const&amp;, WTF::URL const&amp;)
11  0x11d87abec WebCore::DOMURL::create(WTF::String const&amp;, WTF::String const&amp;)
12  0x11a70ed64 WebCore::constructJSDOMURL1(JSC::JSGlobalObject*, JSC::CallFrame*)
13  0x11a70e878 WebCore::JSDOMConstructor&lt;WebCore::JSDOMURL&gt;::construct(JSC::JSGlobalObject*, JSC::CallFrame*)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1842887</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-17 07:21:17 -0800</bug_when>
    <thetext>&lt;rdar://problem/89085190&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847031</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-03-01 08:18:48 -0800</bug_when>
    <thetext>Committed r290648 (?): &lt;https://commits.webkit.org/r290648&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>