mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
Meta: Download WPT support files used in iframes
This commit is contained in:
parent
8f1a7934e1
commit
1659381362
|
|
@ -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"])
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user