Bug 1860492 - Stop using theora files in dom/security. r=freddyb

Switch to using a functionally equivalent videos using the VP9 codec in WebM
container.

Differential Revision: https://phabricator.services.mozilla.com/D204646
This commit is contained in:
Paul Adenot 2024-03-22 14:16:36 +00:00
parent 4d81a4cc31
commit 39eab875bc
9 changed files with 6 additions and 5 deletions

View file

@ -7,7 +7,7 @@ support-files = ["file_beforeunload_permit_http.html"]
support-files = [
"file_mixed_content_auto_upgrade.html",
"pass.png",
"test.ogv",
"test.webm",
"test.wav",
]

View file

@ -6,7 +6,7 @@
<body>
<!--upgradeable resources--->
<img src="http://example.com/browser/dom/security/test/https-first/pass.png">
<video src="http://example.com/browser/dom/security/test/https-first/test.ogv">
<video src="http://example.com/browser/dom/security/test/https-first/test.webm">
<audio src="http://example.com/browser/dom/security/test/https-first/test.wav">
</body>
</html>

Binary file not shown.

View file

@ -15,7 +15,7 @@ support-files = [
support-files = [
"file_csp_block_all_mixedcontent_and_mixed_content_display_upgrade.html",
"pass.png",
"test.ogv",
"test.webm",
"test.wav",
]

View file

@ -8,7 +8,7 @@
<body>
<!--upgradeable resources--->
<img id="some-img" src="http://test1.example.com/browser/dom/security/test/mixedcontentblocker/pass.png" width="100px">
<video id="some-video" src="http://test1.example.com/browser/dom/security/test/mixedcontentblocker/test.ogv" width="100px">
<video id="some-video" src="http://test1.example.com/browser/dom/security/test/mixedcontentblocker/test.webm" width="100px">
<audio id="some-audio" src="http://test1.example.com/browser/dom/security/test/mixedcontentblocker/test.wav" width="100px">
</body>
</html>

View file

@ -16,7 +16,8 @@ support-files = [
"file_main_bug803225.html",
"file_main_bug803225_websocket_wsh.py",
"file_server.sjs",
"!/dom/media/test/vp9.webm",
"test.webm",
"test.wav",
"!/image/test/mochitest/blue.png",
"file_redirect.html",
"file_redirect_handler.sjs",

Binary file not shown.