mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
Meta: Download WPT support files used in iframes
This commit is contained in:
parent
bc0ec84100
commit
34dae06dd8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue