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
parent 21a86f06aa
commit 792db5f19e

View File

@ -200,6 +200,9 @@ function createMochitestServer(serverBasePath)
server.registerPathHandler("/server/shutdown", serverShutdown);
server.registerContentType("sjs", "sjs"); // .sjs == CGI-like functionality
server.registerContentType("jar", "application/x-jar");
server.registerContentType("ogg", "application/ogg");
server.registerContentType("ogv", "video/ogg");
server.registerContentType("oga", "audio/ogg");
server.setIndexHandler(defaultDirHandler);
processLocations(server);