Skip to content
Browse files

Bug 836580: Turn on httpd logging for the request tests.

  • Loading branch information...
1 parent 8ecc5de commit 56823fe16674b61ce0a58947749bd148964d3a2a @Mossop committed Jan 31, 2013
Showing with 9 additions and 1 deletion.
  1. +9 −1 test/test-request.js
View
10 test/test-request.js
@@ -4,9 +4,17 @@
const { Request } = require("sdk/request");
const { pathFor } = require("sdk/system");
-const { startServerAsync } = require("sdk/test/httpd");
const file = require("sdk/io/file");
+const { Loader } = require("sdk/test/loader");
+const options = require("@test/options");
+
+const loader = Loader(module);
+const httpd = loader.require("sdk/test/httpd");
+if (options.parseable || options.verbose)
+ loader.sandbox("sdk/test/httpd").DEBUG = true;
+const { startServerAsync } = httpd;
+
const basePath = pathFor("TmpD")
const port = 8099;

0 comments on commit 56823fe

Please sign in to comment.
Something went wrong with that request. Please try again.