summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_cookiejars_safebrowsing.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_cookiejars_safebrowsing.js')
-rw-r--r--netwerk/test/unit/test_cookiejars_safebrowsing.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/test/unit/test_cookiejars_safebrowsing.js b/netwerk/test/unit/test_cookiejars_safebrowsing.js
index 855bacef42..8cb9d03c37 100644
--- a/netwerk/test/unit/test_cookiejars_safebrowsing.js
+++ b/netwerk/test/unit/test_cookiejars_safebrowsing.js
@@ -154,7 +154,7 @@ add_test(function test_safebrowsing_gethash() {
URL + safebrowsingGethashPath,
"test-phish-simple",
{
- completionV2(hash, table, chunkId) {},
+ completionV2() {},
completionFinished(status) {
Assert.equal(status, Cr.NS_OK);
@@ -181,7 +181,7 @@ add_test(function test_non_safebrowsing_cookie() {
);
}
- function completeCheckNonSafeBrowsingCookie(request, data, context) {
+ function completeCheckNonSafeBrowsingCookie(request) {
// Confirm that only the >> ONE << cookie is sent over the channel.
var expectedCookie = cookieName + "=1";
request.QueryInterface(Ci.nsIHttpChannel);
@@ -212,7 +212,7 @@ add_test(function test_safebrowsing_cookie() {
);
}
- function completeCheckSafeBrowsingCookie(request, data, context) {
+ function completeCheckSafeBrowsingCookie(request) {
// Confirm that all >> THREE << cookies are sent back over the channel:
// a) the safebrowsing cookie set when updating
// b) the safebrowsing cookie set when sending gethash