Skip to content

Commit

Permalink
Meta: Download support images along their respective WPT tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasChollet authored and tcl3 committed Dec 19, 2024
1 parent f29457b commit 325d1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Meta/import-wpt-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self):

def handle_starttag(self, tag, attrs):
self._tag_stack_.append(tag)
if tag == "script":
if tag in ["script", "img"]:
attr_dict = dict(attrs)
if "src" in attr_dict:
src_values.append(attr_dict["src"])
Expand Down

0 comments on commit 325d1bb

Please sign in to comment.