summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_cookiejars.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_cookiejars.js')
-rw-r--r--netwerk/test/unit/test_cookiejars.js16
1 files changed, 4 insertions, 12 deletions
diff --git a/netwerk/test/unit/test_cookiejars.js b/netwerk/test/unit/test_cookiejars.js
index 1d78893f8c..aaf8832f62 100644
--- a/netwerk/test/unit/test_cookiejars.js
+++ b/netwerk/test/unit/test_cookiejars.js
@@ -36,19 +36,11 @@ function inChildProcess() {
var tests = [
{
cookieName: "LCC_App0_BrowF_PrivF",
- originAttributes: new OriginAttributes(0, false, 0),
- },
- {
- cookieName: "LCC_App0_BrowT_PrivF",
- originAttributes: new OriginAttributes(0, true, 0),
+ originAttributes: new OriginAttributes(0),
},
{
cookieName: "LCC_App1_BrowF_PrivF",
- originAttributes: new OriginAttributes(1, false, 0),
- },
- {
- cookieName: "LCC_App1_BrowT_PrivF",
- originAttributes: new OriginAttributes(1, true, 0),
+ originAttributes: new OriginAttributes(1),
},
];
@@ -88,7 +80,7 @@ function setCookie() {
channel.asyncOpen(new ChannelListener(setNextCookie, null));
}
-function setNextCookie(request, data, context) {
+function setNextCookie() {
if (++i == tests.length) {
// all cookies set: switch to checking them
i = 0;
@@ -106,7 +98,7 @@ function checkCookie() {
channel.asyncOpen(new ChannelListener(completeCheckCookie, null));
}
-function completeCheckCookie(request, data, context) {
+function completeCheckCookie(request) {
// Look for all cookies in what the server saw: fail if we see any besides the
// one expected cookie for each namespace;
var expectedCookie = tests[i].cookieName;