<?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>234480</bug_id>
          
          <creation_ts>2021-12-18 13:11:19 -0800</creation_ts>
          <short_desc>Fix Tools/Scripts/webkitpy/w3c/test_importer.py</short_desc>
          <delta_ts>2021-12-20 02:57:16 -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 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="Tim Nguyen (:ntim)">ntim</reporter>
          <assigned_to name="Tim Nguyen (:ntim)">ntim</assigned_to>
          <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>jbedard</cc>
    
    <cc>rego</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1825374</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2021-12-18 13:11:19 -0800</bug_when>
    <thetext>ntim @ OpenSource ⚡️ import-w3c-tests -t web-platform-tests/html/semantics/interactive-elements/the-dialog-element/
Downloading W3C test repositories
Fetching https://github.com/web-platform-tests/wpt.git...
Checking out revision origin/master
Scanning /Volumes/Data/Code/Safari/OpenSource/WebKitBuild/w3c-tests/to-be-imported/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/...
Traceback (most recent call last):
  File &quot;/Volumes/Data/Code/Safari/OpenSource/Tools/Scripts/import-w3c-tests&quot;, line 35, in &lt;module&gt;
    sys.exit(test_importer.main(sys.argv[1:], sys.stdout, sys.stderr))
  File &quot;/Volumes/Data/Code/Safari/OpenSource/Tools/Scripts/webkitpy/w3c/test_importer.py&quot;, line 98, in main
    test_importer.do_import()
  File &quot;/Volumes/Data/Code/Safari/OpenSource/Tools/Scripts/webkitpy/w3c/test_importer.py&quot;, line 209, in do_import
    self.find_importable_tests(self.filesystem.join(self.source_directory, test_path))
  File &quot;/Volumes/Data/Code/Safari/OpenSource/Tools/Scripts/webkitpy/w3c/test_importer.py&quot;, line 352, in find_importable_tests
    if test_info[&apos;type&apos;] == &apos;mismatch&apos;:
KeyError: &apos;type&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825375</commentid>
    <comment_count>1</comment_count>
      <attachid>447530</attachid>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2021-12-18 13:14:51 -0800</bug_when>
    <thetext>Created attachment 447530
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825545</commentid>
    <comment_count>2</comment_count>
      <attachid>447530</attachid>
    <who name="Manuel Rego Casasnovas">rego</who>
    <bug_when>2021-12-20 00:16:03 -0800</bug_when>
    <thetext>Comment on attachment 447530
Patch

r=me, thanks for the fix.

This seems to be failing for this test: http://wpt.live/html/semantics/interactive-elements/the-dialog-element/top-layer-position.html
Should we add some kind of unit test to avoid breaking this again in the future?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825556</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2021-12-20 02:13:56 -0800</bug_when>
    <thetext>(In reply to Manuel Rego Casasnovas from comment #2)
&gt; Comment on attachment 447530 [details]
&gt; Patch
&gt; 
&gt; r=me, thanks for the fix.
&gt; 
&gt; This seems to be failing for this test:
&gt; http://wpt.live/html/semantics/interactive-elements/the-dialog-element/top-
&gt; layer-position.html
&gt; Should we add some kind of unit test to avoid breaking this again in the
&gt; future?

A test would be ideal, though this type of bug is also easily noticeable (I first noticed it importing the whole css/ directory).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825561</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-12-20 02:56:53 -0800</bug_when>
    <thetext>Committed r287257 (245413@main): &lt;https://commits.webkit.org/245413@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 447530.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825562</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-20 02:57:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/86716802&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>447530</attachid>
            <date>2021-12-18 13:14:51 -0800</date>
            <delta_ts>2021-12-20 02:56:54 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-234480-20211218221450.patch</filename>
            <type>text/plain</type>
            <size>1491</size>
            <attacher name="Tim Nguyen (:ntim)">ntim</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjg3MjI3CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggYTQyY2QxYWI0MjAzYzlhMmMwNDNlZTA4ZWFiYzFmNDY5
NzQyZDk1Yi4uODk4YWQwODg5ZGYzODVjMWEzMDMwZDk1ZjE1MzE4NjFiZmFmYzQ2MCAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEz
IEBACisyMDIxLTEyLTE4ICBUaW0gTmd1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