diff --git a/toolkit/components/passwordmgr/test/Makefile.in b/toolkit/components/passwordmgr/test/Makefile.in index 8552ab45bd59..461b6fc92683 100644 --- a/toolkit/components/passwordmgr/test/Makefile.in +++ b/toolkit/components/passwordmgr/test/Makefile.in @@ -53,7 +53,6 @@ MOCHITEST_FILES = \ test_maxforms_3.html \ test_notifications.html \ test_notifications_popup.html \ - test_privbrowsing.html \ test_prompt_async.html \ test_xhr.html \ test_xml_load.html \ @@ -83,6 +82,12 @@ MOCHITEST_FILES = \ subtst_prompt_async.html \ $(NULL) +ifndef MOZ_PER_WINDOW_PRIVATE_BROWSING +MOCHITEST_FILES += \ + test_privbrowsing.html \ + $(NULL) +endif + ifneq ($(OS_TARGET),Linux) MOCHITEST_FILES += \ test_prompt.html \