diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
commit | da4c7e7ed675c3bf405668739c3012d140856109 (patch) | |
tree | cdd868dba063fecba609a1d819de271f0d51b23e /testing/web-platform/tests/resource-timing | |
parent | Adding upstream version 125.0.3. (diff) | |
download | firefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip |
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/resource-timing')
4 files changed, 6 insertions, 2 deletions
diff --git a/testing/web-platform/tests/resource-timing/initiator-type/script.html b/testing/web-platform/tests/resource-timing/initiator-type/script.html index dbd6a131de..6e9e3ae7ee 100644 --- a/testing/web-platform/tests/resource-timing/initiator-type/script.html +++ b/testing/web-platform/tests/resource-timing/initiator-type/script.html @@ -12,6 +12,7 @@ </head> <body> <script src="/resource-timing/resources/empty_script.js"></script> +<script type="module" src="/resource-timing/resources/parent_script.js"></script> <script> const async_xhr = new XMLHttpRequest; async_xhr.open('GET', '/resource-timing/resources/blue.png?id=async_xhr', @@ -21,6 +22,7 @@ <script> initiator_type_test("empty_script.js", "script", "<script>"); initiator_type_test("blue.png?id=async_xhr", "xmlhttprequest", "an asynchronous XmlHTTPRequest"); + initiator_type_test("child.js", "script", "script imported from another script"); </script> </body> </html> diff --git a/testing/web-platform/tests/resource-timing/initiator-type/video.html b/testing/web-platform/tests/resource-timing/initiator-type/video.html index 16f3b3dea5..2d8c9dcc47 100644 --- a/testing/web-platform/tests/resource-timing/initiator-type/video.html +++ b/testing/web-platform/tests/resource-timing/initiator-type/video.html @@ -19,14 +19,14 @@ src="/resource-timing/resources/empty.py?id=track"> </video> <video autoplay="true"> - <source src="/media/test.ogv?id=source-ogv" type="video/ogg"> + <source src="/media/test.webm?id=source-webm" type="video/webm"> </video> <script> initiator_type_test("blue.png?id=poster", "video", "<video poster>"); initiator_type_test("media/test.mp4?id=src", "video", "<video src>"); initiator_type_test("media/test.mp4?id=source-mp4", "video", "<source src> with type=\"video/mp4\""); initiator_type_test("empty.py?id=track", "track", "<track src>"); - initiator_type_test("media/test.ogv?id=source-ogv", "video", "<source src> with type=\"video/ogg\""); + initiator_type_test("media/test.webm?id=source-webm", "video", "<source src> with type=\"video/webm\""); </script> </body> </html> diff --git a/testing/web-platform/tests/resource-timing/resources/child_script.js b/testing/web-platform/tests/resource-timing/resources/child_script.js new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/testing/web-platform/tests/resource-timing/resources/child_script.js @@ -0,0 +1 @@ + diff --git a/testing/web-platform/tests/resource-timing/resources/parent_script.js b/testing/web-platform/tests/resource-timing/resources/parent_script.js new file mode 100644 index 0000000000..01ec0c5823 --- /dev/null +++ b/testing/web-platform/tests/resource-timing/resources/parent_script.js @@ -0,0 +1 @@ +import './child.js'; |