Bug 829383 follow-up: make the test only run in per-window private browsing builds; a=test-only
--- a/docshell/test/chrome/Makefile.in
+++ b/docshell/test/chrome/Makefile.in
@@ -89,21 +89,26 @@ MOCHITEST_CHROME_FILES = \
test_bug690056.xul \
bug690056_window.xul \
test_bug311007.xul \
bug311007_window.xul \
test_principalInherit.xul \
test_mozFrameType.xul \
mozFrameType_window.xul \
test_bug789773.xul \
- test_private_hidden_window.html \
docshell_helpers.js \
generic.html \
$(NULL)
+ifdef MOZ_PER_WINDOW_PRIVATE_BROWSING
+MOCHITEST_CHROME_FILES += \
+ test_private_hidden_window.html \
+ $(NULL)
+endif
+
ifneq ($(MOZ_WIDGET_TOOLKIT),gtk2)
MOCHITEST_CHROME_FILES += \
test_bug454235.xul \
$(NULL)
else
$(filter disabled-temporarily--bug-684176, test_bug454235.xul)
endif