summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_bug412945.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_bug412945.js')
-rw-r--r--netwerk/test/unit/test_bug412945.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/test/unit/test_bug412945.js b/netwerk/test/unit/test_bug412945.js
index 78c48bbf22..c44aa48795 100644
--- a/netwerk/test/unit/test_bug412945.js
+++ b/netwerk/test/unit/test_bug412945.js
@@ -8,9 +8,9 @@ var httpserv;
function TestListener() {}
-TestListener.prototype.onStartRequest = function (request) {};
+TestListener.prototype.onStartRequest = function () {};
-TestListener.prototype.onStopRequest = function (request, status) {
+TestListener.prototype.onStopRequest = function () {
httpserv.stop(do_test_finished);
};
@@ -34,7 +34,7 @@ function run_test() {
do_test_pending();
}
-function bug412945(metadata, response) {
+function bug412945(metadata) {
if (
!metadata.hasHeader("Content-Length") ||
metadata.getHeader("Content-Length") != "0"