Bug 829383 follow-up: make the test only run in per-window private browsing builds; a=test-only
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 24 Jan 2013 18:53:14 -0500
changeset 123781 b1c12aa591e049ea9256e1ffdf403e75a2611d6c
parent 123780 932c91fda1cf3d4fda6f22f78a770622dfc3ccdb
child 123782 55237706be0b24d03cb46a5850c4ca3d7ce302b6
push idunknown
push userunknown
push dateunknown
reviewerstest-only
bugs829383
milestone20.0a2
Bug 829383 follow-up: make the test only run in per-window private browsing builds; a=test-only
docshell/test/chrome/Makefile.in
--- 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