summaryrefslogtreecommitdiffstats
path: root/netwerk/test/browser/browser_cookie_filtering_oa.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/browser/browser_cookie_filtering_oa.js')
-rw-r--r--netwerk/test/browser/browser_cookie_filtering_oa.js18
1 files changed, 15 insertions, 3 deletions
diff --git a/netwerk/test/browser/browser_cookie_filtering_oa.js b/netwerk/test/browser/browser_cookie_filtering_oa.js
index f69ad09e81..13102a1954 100644
--- a/netwerk/test/browser/browser_cookie_filtering_oa.js
+++ b/netwerk/test/browser/browser_cookie_filtering_oa.js
@@ -119,9 +119,21 @@ async function test_private() {
let parentpid = Services.appinfo.processID;
let privatePid = testStruct5.browser.frameLoader.remoteTab.osPid;
let pid = testStruct2.browser.frameLoader.remoteTab.osPid;
- ok(parentpid != privatePid, "Parent and private processes are unique");
- ok(parentpid != pid, "Parent and non-private processes are unique");
- ok(privatePid != pid, "Private and non-private processes are unique");
+ Assert.notEqual(
+ parentpid,
+ privatePid,
+ "Parent and private processes are unique"
+ );
+ Assert.notEqual(
+ parentpid,
+ pid,
+ "Parent and non-private processes are unique"
+ );
+ Assert.notEqual(
+ privatePid,
+ pid,
+ "Private and non-private processes are unique"
+ );
// example.com
await SpecialPowers.spawn(