# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DEPTH		= @DEPTH@
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@
relativesrcdir  = @relativesrcdir@

include $(DEPTH)/config/autoconf.mk

MOCHITEST_BROWSER_FILES =  \
		head.js \
		browser_console_clear.js \
		browser_privatebrowsing_certexceptionsui.js \
		browser_privatebrowsing_clearplugindata.js \
		browser_privatebrowsing_clearplugindata.html \
		browser_privatebrowsing_commandline_toggle.js \
		browser_privatebrowsing_concurrent.js \
		browser_privatebrowsing_concurrent_page.html \
		browser_privatebrowsing_crh.js \
		browser_privatebrowsing_fastswitch.js \
		browser_privatebrowsing_findbar.js \
		browser_privatebrowsing_forgetthissite.js \
		browser_privatebrowsing_geoprompt.js \
		browser_privatebrowsing_geoprompt_page.html \
		browser_privatebrowsing_import.js \
		browser_privatebrowsing_lastpbcontextexited.js \
		browser_privatebrowsing_localStorage.js \
		browser_privatebrowsing_localStorage_before_after.js \
		browser_privatebrowsing_localStorage_before_after_page.html \
		browser_privatebrowsing_localStorage_before_after_page2.html \
		browser_privatebrowsing_localStorage_page1.html \
		browser_privatebrowsing_localStorage_page2.html \
		browser_privatebrowsing_newwindow_stopcmd.js \
		browser_privatebrowsing_opendir.js \
		browser_privatebrowsing_openlocation.js \
		browser_privatebrowsing_openLocationLastURL.js \
		browser_privatebrowsing_pageinfo.js \
		browser_privatebrowsing_placestitle.js \
		browser_privatebrowsing_popupblocker.js \
		browser_privatebrowsing_popupmode.js \
		browser_privatebrowsing_protocolhandler.js \
		browser_privatebrowsing_protocolhandler_page.html \
		browser_privatebrowsing_searchbar.js \
		browser_privatebrowsing_sslsite_transition.js \
		browser_privatebrowsing_theming.js \
		browser_privatebrowsing_transition.js \
		browser_privatebrowsing_ui.js \
		browser_privatebrowsing_urlbarfocus.js \
		browser_privatebrowsing_urlbarundo.js \
		browser_privatebrowsing_viewsource.js \
		browser_privatebrowsing_windowtitle.js \
		browser_privatebrowsing_windowtitle_page.html \
		browser_privatebrowsing_zoom.js \
		browser_privatebrowsing_zoomrestore.js \
		ctxmenu.html \
		ctxmenu-image.png \
		popup.html \
		staller.sjs \
		title.sjs \
		$(NULL)

# Disabled until bug 564934 is fixed:
#		browser_privatebrowsing_downloadmonitor.js \

# Turn off private browsing tests that perma-timeout on Linux.
ifneq (Linux,$(OS_ARCH))
MOCHITEST_BROWSER_FILES += \
		browser_privatebrowsing_beforeunload.js \
		browser_privatebrowsing_cookieacceptdialog.js \
		$(NULL)
endif

include $(topsrcdir)/config/rules.mk
