mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Unit test bustage fix for apps that don't have private browsing following bug 728143. Fix incorrect brackets in if statement and a bad function name in the tests. r=bustage fix,test-only fix
This commit is contained in:
parent
17e9213595
commit
da888d3e8c
@ -52,8 +52,8 @@ add_test(function test_aboutURI_bookmarked()
|
||||
|
||||
add_test(function test_privateBrowsing_bookmarked()
|
||||
{
|
||||
if (!"@mozilla.org/privatebrowsing;1" in Cc) {
|
||||
run_next_next();
|
||||
if (!("@mozilla.org/privatebrowsing;1" in Cc)) {
|
||||
run_next_test();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -86,7 +86,7 @@ add_test(function test_aboutURI()
|
||||
|
||||
add_test(function test_privateBrowsing_nonBookmarkedURI()
|
||||
{
|
||||
if (!"@mozilla.org/privatebrowsing;1" in Cc) {
|
||||
if (!("@mozilla.org/privatebrowsing;1" in Cc)) {
|
||||
run_next_test();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user