From d6fb1b61acade96720007d47f49b75eed1e4ad8f Mon Sep 17 00:00:00 2001 From: Lucas CHOLLET Date: Sat, 14 Dec 2024 17:56:09 -0500 Subject: [PATCH] Meta: Download support images along their respective WPT tests --- Meta/import-wpt-test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/import-wpt-test.py b/Meta/import-wpt-test.py index 87f0e44ab9e..82fa30681b8 100755 --- a/Meta/import-wpt-test.py +++ b/Meta/import-wpt-test.py @@ -45,7 +45,7 @@ class LinkedResourceFinder(HTMLParser): 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"])