summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_redirect_baduri.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_redirect_baduri.js')
-rw-r--r--netwerk/test/unit/test_redirect_baduri.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/netwerk/test/unit/test_redirect_baduri.js b/netwerk/test/unit/test_redirect_baduri.js
index f83c9a264f..3806d02e9a 100644
--- a/netwerk/test/unit/test_redirect_baduri.js
+++ b/netwerk/test/unit/test_redirect_baduri.js
@@ -17,7 +17,7 @@ ChromeUtils.defineLazyGetter(this, "BadRedirectURI", function () {
);
});
-function make_channel(url, callback, ctx) {
+function make_channel(url) {
return NetUtil.newChannel({ uri: url, loadUsingSystemPrincipal: true });
}
@@ -27,7 +27,7 @@ function BadRedirectHandler(metadata, response) {
response.setHeader("Location", "http://localhost:4444>BadRedirect", false);
}
-function checkFailed(request, buffer) {
+function checkFailed(request) {
Assert.equal(request.status, Cr.NS_ERROR_CORRUPTED_CONTENT);
httpServer.stop(do_test_finished);