diff options
Diffstat (limited to 'docshell/test/browser/browser_browsingContext-02.js')
-rw-r--r-- | docshell/test/browser/browser_browsingContext-02.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docshell/test/browser/browser_browsingContext-02.js b/docshell/test/browser/browser_browsingContext-02.js index 8439b869b0..480e8f5494 100644 --- a/docshell/test/browser/browser_browsingContext-02.js +++ b/docshell/test/browser/browser_browsingContext-02.js @@ -178,7 +178,7 @@ add_task(async function () { } let topBrowserId = topBC.browserId; - ok(topBrowserId > 0, "Should have a browser ID."); + Assert.greater(topBrowserId, 0, "Should have a browser ID."); for (let [name, bc] of Object.entries({ first, second, @@ -193,7 +193,7 @@ add_task(async function () { ); } - ok(sixth.browserId > 0, "sixth should have a browserId."); + Assert.greater(sixth.browserId, 0, "sixth should have a browserId."); isnot( sixth.browserId, topBrowserId, |