Meta: Download WPT support files used in iframes

This commit is contained in:
Tim Ledbetter 2025-04-03 17:06:09 +01:00 committed by Jelle Raaijmakers
parent 8f1a7934e1
commit 1659381362
Notes: github-actions[bot] 2025-04-04 08:11:53 +00:00

View file

@ -62,7 +62,7 @@ class LinkedResourceFinder(HTMLParser):
def handle_starttag(self, tag, attrs):
self._tag_stack_.append(tag)
if tag in ["script", "img"]:
if tag in ["script", "img", "iframe"]:
attr_dict = dict(attrs)
if "src" in attr_dict:
self._resources.append(attr_dict["src"])