зеркало из https://github.com/mozilla/pjs.git
Bug 499907 - Make the mochitest server have the right MIME types for Ogg. r=jwalden+bmo
This commit is contained in:
Родитель
ca56e0a631
Коммит
b2cb9f358f
|
@ -200,6 +200,9 @@ function createMochitestServer(serverBasePath)
|
||||||
server.registerPathHandler("/server/shutdown", serverShutdown);
|
server.registerPathHandler("/server/shutdown", serverShutdown);
|
||||||
server.registerContentType("sjs", "sjs"); // .sjs == CGI-like functionality
|
server.registerContentType("sjs", "sjs"); // .sjs == CGI-like functionality
|
||||||
server.registerContentType("jar", "application/x-jar");
|
server.registerContentType("jar", "application/x-jar");
|
||||||
|
server.registerContentType("ogg", "application/ogg");
|
||||||
|
server.registerContentType("ogv", "video/ogg");
|
||||||
|
server.registerContentType("oga", "audio/ogg");
|
||||||
server.setIndexHandler(defaultDirHandler);
|
server.setIndexHandler(defaultDirHandler);
|
||||||
|
|
||||||
processLocations(server);
|
processLocations(server);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче