Skip to content

Truly independent web browser

Meta: Import media resources of `audio`, `video` and `source` elements

Tim Ledbetterbd4877eaa985
diff --git a/Meta/import-wpt-test.py b/Meta/import-wpt-test.py
index 7395c2608d1..ef5ddc02fb9 100755
--- a/Meta/import-wpt-test.py
+++ b/Meta/import-wpt-test.py
@@ -87,7 +87,7 @@ class LinkedResourceFinder(HTMLParser):
self._tag_stack_.append(tag)
if ":" in tag:
tag = tag.split(":", 1)[-1]
- if tag in ["script", "img", "iframe"]:
+ if tag in ["script", "img", "iframe", "audio", "video", "source"]:
attr_dict = dict(attrs)
if "src" in attr_dict:
self._resources.add(attr_dict["src"])