mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
Meta: Download WPT support files used in iframes
This commit is contained in:
parent
8f1a7934e1
commit
1659381362
Notes:
github-actions[bot]
2025-04-04 08:11:53 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/16593813622 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4213 Reviewed-by: https://github.com/gmta ✅
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
Reference in a new issue