mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
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:
parent
eef3b34d99
commit
15948c0948
@ -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",
|
||||
]
|
||||
|
||||
|
@ -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.
BIN
dom/security/test/https-first/test.webm
Normal file
BIN
dom/security/test/https-first/test.webm
Normal file
Binary file not shown.
@ -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",
|
||||
]
|
||||
|
||||
|
@ -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>
|
||||
|
@ -96,8 +96,8 @@ function handleRequest(request, response) {
|
||||
break;
|
||||
|
||||
case "media":
|
||||
response.setHeader("Content-Type", "video/ogg", false);
|
||||
response.write(loadContentFromFile("tests/dom/media/test/320x240.ogv"));
|
||||
response.setHeader("Content-Type", "video/webm", false);
|
||||
response.write(loadContentFromFile("tests/dom/media/test/vp9.webm"));
|
||||
break;
|
||||
|
||||
case "iframe":
|
||||
|
@ -16,7 +16,9 @@ support-files = [
|
||||
"file_main_bug803225.html",
|
||||
"file_main_bug803225_websocket_wsh.py",
|
||||
"file_server.sjs",
|
||||
"!/dom/media/test/320x240.ogv",
|
||||
"!/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.
BIN
dom/security/test/mixedcontentblocker/test.webm
Normal file
BIN
dom/security/test/mixedcontentblocker/test.webm
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user