Bug 1860492 - Adjust docs. r=media-playback-reviewers,alwu

Differential Revision: https://phabricator.services.mozilla.com/D204647
This commit is contained in:
Paul Adenot 2024-04-04 15:02:41 +00:00
parent 15948c0948
commit 0596cfd7bb

View File

@ -268,7 +268,7 @@ state available to SJS scripts running in Mochitest:
function handleRequest(req, res) {
var file;
getObjectState("SERVER_ROOT", function(serverRoot) {
file = serverRoot.getFile("tests/content/media/test/320x240.ogv");
file = serverRoot.getFile("tests/content/media/test/320x240.webm");
});
// file is now an XPCOM object referring to the given file
res.write("file: " + file);