Bug 499907 - Make the mochitest server have the right MIME types for Ogg. r=jwalden+bmo

This commit is contained in:
Henri Sivonen 2009-06-26 10:45:08 +03:00
Родитель ca56e0a631
Коммит b2cb9f358f
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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);