<?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>257730</bug_id>
          
          <creation_ts>2023-06-05 15:16:20 -0700</creation_ts>
          <short_desc>[WPT import friction] import-w3c-tests should not rely on the web-platform-tests directory name</short_desc>
          <delta_ts>2025-08-18 15:35:35 -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="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Sam Sneddon [:gsnedders]">gsnedders</assigned_to>
          <cc>annevk</cc>
    
    <cc>jbedard</cc>
    
    <cc>karlcow</cc>
    
    <cc>marcosc</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1959960</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-06-05 15:16:20 -0700</bug_when>
    <thetext>Currently if you specify `--src-dir` then the web-platform-tests checkout has to be in a directory called &quot;web-platform-tests&quot; within that source directory.

Given the repository is now https://github.com/web-platform-tests/wpt.git, `git clone https://github.com/web-platform-tests/wpt.git` results in the directory being called &quot;wpt&quot;.

Especially when we no longer import any other W3C test suite, this becomes a nuisance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959961</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-06-05 15:16:33 -0700</bug_when>
    <thetext>&lt;rdar://problem/110278828&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2038446</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2024-05-29 07:57:36 -0700</bug_when>
    <thetext>*** Bug 274824 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049249</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2024-07-29 15:59:33 -0700</bug_when>
    <thetext>*** Bug 277277 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2120740</commentid>
    <comment_count>4</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-05-30 11:30:45 -0700</bug_when>
    <thetext>*** Bug 293814 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2121485</commentid>
    <comment_count>5</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-06-03 13:45:42 -0700</bug_when>
    <thetext>Now we only support `web-platform-tests` as a source repo (since https://commits.webkit.org/270006@main), we can probably be smarter about this — though there&apos;s still a lot of places in the code that assume the import destination is `imported/w3c`.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2136697</commentid>
    <comment_count>6</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-08-14 19:32:43 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/49436</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2137249</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-08-18 15:35:32 -0700</bug_when>
    <thetext>Committed 298861@main (a5576777af89): &lt;https://commits.webkit.org/298861@main&gt;

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

    </bug>

</bugzilla>