<?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>235943</bug_id>
          
          <creation_ts>2022-02-01 02:33:21 -0800</creation_ts>
          <short_desc>Check that LayoutTests/resources/testharness.js is in sync with LayoutTests/imported/w3c/web-platform-tests/resources/testharness.js</short_desc>
          <delta_ts>2025-02-25 03:58:39 -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>Tools / Tests</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=235398</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="Kimmo Kinnunen">kkinnunen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>deleted_user</cc>
    
    <cc>gsnedders</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1835875</commentid>
    <comment_count>0</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2022-02-01 02:33:21 -0800</bug_when>
    <thetext>Check that LayoutTests/resources/testharness.js is in sync with LayoutTests/imported/w3c/web-platform-tests/resources/testharness.js

Do this also for dependencies.

It makes sense to keep testharness.js matching the big chunk of imported test cases that use the harness.
It makes sense to keep testharness.js relatively up to date:
 - to get improvements in testharness.js (maybe more strict assertions, tests more)
 - to match what web-platform-tests need in case the tests are upstreamed
 - to match what online documentation says about testharness.js

testharness.js dependencies are as of writing:
 - idlharness.js 
 - webidl2.js copied to WebIDLParser.js</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1838583</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-08 02:34:17 -0800</bug_when>
    <thetext>&lt;rdar://problem/88619980&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094287</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-02-12 15:24:04 -0800</bug_when>
    <thetext>An extreme option here would be to simply use symlinks here, given I think that nowadays works everywhere (including/notably Windows), but that would be rather notable as we don&apos;t have any symlinks currently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097749</commentid>
    <comment_count>3</comment_count>
    <who name="Deleted User">deleted_user</who>
    <bug_when>2025-02-25 03:58:39 -0800</bug_when>
    <thetext>For the record, at least &lt;LayoutTests/imported/w3c/web-platform-tests/resources/testharness.js&gt; is outdated. Roughly two years since the last sync. See https://github.com/WebKit/WebKit/pull/40755/files/17e8f7f6fb68da4a916dd198a0be8bbb60d0c860#r1969537981.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>