From be1586dd4b14e9cce80bfe8184f2777fd2e1577c Mon Sep 17 00:00:00 2001 From: "jwalden@mit.edu" Date: Sat, 5 Jan 2008 23:45:12 -0800 Subject: [PATCH] Fix a ReferenceError due to forgotten detritus of an old patch, remove a long-obsolete file. r=sparky, a=lumpy --- testing/mochitest/server.js | 1 - testing/mochitest/server.py | 16 ---------------- 2 files changed, 17 deletions(-) delete mode 100644 testing/mochitest/server.py diff --git a/testing/mochitest/server.js b/testing/mochitest/server.js index 0280e3c9b6d..2ece5e99210 100644 --- a/testing/mochitest/server.js +++ b/testing/mochitest/server.js @@ -197,7 +197,6 @@ function serverShutdown(metadata, response) // Note: this doesn't disrupt the current request. server.stop(); - otherDomainServer.stop(); } function redirect(metadata, response) diff --git a/testing/mochitest/server.py b/testing/mochitest/server.py deleted file mode 100644 index 7c1c5d2ff10..00000000000 --- a/testing/mochitest/server.py +++ /dev/null @@ -1,16 +0,0 @@ -import SimpleHTTPServer -import SocketServer - -# minimal web server. serves files relative to the -# current directory. - -PORT = 8888 - -Handler = SimpleHTTPServer.SimpleHTTPRequestHandler -Handler.extensions_map[".xhtml"] = "application/xhtml+xml" -Handler.extensions_map[".svg"] = "image/svg+xml" -Handler.extensions_map[".xul"] = "application/vnd.mozilla.xul+xml" -httpd = SocketServer.TCPServer(("", PORT), Handler) - -print "serving at port", PORT -httpd.serve_forever()