<?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>216921</bug_id>
          
          <creation_ts>2020-09-24 03:08:47 -0700</creation_ts>
          <short_desc>Support for web-platform-tests crashtests</short_desc>
          <delta_ts>2020-09-24 09:30:23 -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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>209649</dup_id>
          
          <bug_file_loc>https://web-platform-tests.org/writing-tests/crashtest.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Frédéric Wang Nélar">fred.wang</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>emilio</cc>
    
    <cc>gsnedders</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1691444</commentid>
    <comment_count>0</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2020-09-24 03:08:47 -0700</bug_when>
    <thetext>Follow-up of the discussion of https://bugs.webkit.org/show_bug.cgi?id=186045#c77

A new concept of &quot;crashtest&quot; was introduced in WPT (last year maybe?). I&apos;m not exactly sure about the details and how we handle them in WebKit, but I&apos;m opening this to track any work needed, if we are interested in supporting this. The doc is https://web-platform-tests.org/writing-tests/crashtest.html ; basically the idea is just to load a test page and the test pass iff the page does not crash.

Some quick summary of TODO things:

* Adjust the importer. I&apos;m just importing my recent crashtests in bug 216871 and I see the test files are just treated as &quot;resource files&quot;.

* Adjust the runner, to be more robust with how we handle crashing test (see bug 186045 comment 80).

* Add support for &quot;test-wait&quot; class, which should just be refactoring the logic for reftest-wait (see bug 186045 comment 82). If we don&apos;t do that, we could easily have false positive PASS results since we would close the test page before the full testing is performed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1691546</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2020-09-24 09:30:23 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 209649 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>