summaryrefslogtreecommitdiffstats
path: root/netwerk/test/browser/browser_cookie_filtering_basic.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/browser/browser_cookie_filtering_basic.js')
-rw-r--r--netwerk/test/browser/browser_cookie_filtering_basic.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/netwerk/test/browser/browser_cookie_filtering_basic.js b/netwerk/test/browser/browser_cookie_filtering_basic.js
index e51bed5bc5..c5dfb622ab 100644
--- a/netwerk/test/browser/browser_cookie_filtering_basic.js
+++ b/netwerk/test/browser/browser_cookie_filtering_basic.js
@@ -104,15 +104,17 @@ async function test_basic_suite_org_duplicate() {
let parentpid = Services.appinfo.processID;
let pid1 = testStruct1.browser.frameLoader.remoteTab.osPid;
let pid3 = testStruct3.browser.frameLoader.remoteTab.osPid;
- ok(
- parentpid != pid1,
+ Assert.notEqual(
+ parentpid,
+ pid1,
"Parent pid should differ from content process for 1st example.org"
);
- ok(
- parentpid != pid3,
+ Assert.notEqual(
+ parentpid,
+ pid3,
"Parent pid should differ from content process for 2nd example.org"
);
- ok(pid1 != pid3, "Content pids should differ from each other");
+ Assert.notEqual(pid1, pid3, "Content pids should differ from each other");
await SpecialPowers.spawn(
testStruct1.browser,