# 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_TESTS = \
	browser_dbg_leaktest.js \
	browser_dbg_createChrome.js \
	browser_dbg_debugger-tab-switch.js \
	browser_dbg_debugger-tab-switch-window.js \
	browser_dbg_debuggerstatement.js \
	browser_dbg_listtabs.js \
	browser_dbg_tabactor-01.js \
	browser_dbg_tabactor-02.js \
	browser_dbg_contextactor-01.js \
	browser_dbg_contextactor-02.js \
	testactors.js \
	browser_dbg_nav-01.js \
	browser_dbg_propertyview-01.js \
	browser_dbg_propertyview-02.js \
	browser_dbg_propertyview-03.js \
	browser_dbg_propertyview-04.js \
	browser_dbg_propertyview-05.js \
	browser_dbg_propertyview-06.js \
	browser_dbg_propertyview-07.js \
	browser_dbg_propertyview-08.js \
	browser_dbg_propertyview-09.js \
	browser_dbg_propertyview-10.js \
	browser_dbg_propertyview-edit.js \
	browser_dbg_reload-same-script.js \
	browser_dbg_pane-collapse.js \
	browser_dbg_panesize.js \
	browser_dbg_panesize-inner.js \
	browser_dbg_stack-01.js \
	browser_dbg_stack-02.js \
	browser_dbg_stack-03.js \
	browser_dbg_stack-04.js \
	browser_dbg_stack-05.js \
	browser_dbg_location-changes.js \
	browser_dbg_location-changes-new.js \
	browser_dbg_location-changes-blank.js \
	browser_dbg_script-switching.js \
	browser_dbg_scripts-sorting.js \
	browser_dbg_scripts-searching-01.js \
	browser_dbg_scripts-searching-02.js \
	browser_dbg_scripts-searching-03.js \
	browser_dbg_scripts-searching-04.js \
	browser_dbg_scripts-searching-05.js \
	browser_dbg_scripts-searching-06.js \
	browser_dbg_scripts-searching-07.js \
	browser_dbg_pause-resume.js \
	browser_dbg_update-editor-mode.js \
	$(warning browser_dbg_select-line.js temporarily disabled due to oranges, see bug 726609) \
	browser_dbg_clean-exit.js \
	browser_dbg_bug723069_editor-breakpoints.js \
	browser_dbg_bug723071_editor-breakpoints-pane.js \
	browser_dbg_bug731394_editor-contextmenu.js \
	browser_dbg_displayName.js \
	browser_dbg_iframes.js \
	browser_dbg_pause-exceptions.js \
	browser_dbg_multiple-windows.js \
	browser_dbg_menustatus.js \
	browser_dbg_bfcache.js \
	browser_dbg_breakpoint-new-script.js \
	head.js \
	$(NULL)

# Disabled on Windows for frequent intermittent failures
ifneq ($(OS_ARCH), WINNT)
MOCHITEST_BROWSER_TESTS += \
	browser_dbg_createRemote.js \
	$(NULL)
else
$(warning browser_dbg_createRemote.js is disabled on Windows for intermittent failures. Bug 753225)
endif

MOCHITEST_BROWSER_PAGES = \
	browser_dbg_tab1.html \
	browser_dbg_tab2.html \
	browser_dbg_debuggerstatement.html \
	browser_dbg_stack.html \
	browser_dbg_script-switching.html \
	test-script-switching-01.js \
	test-script-switching-02.js \
	browser_dbg_frame-parameters.html \
	browser_dbg_update-editor-mode.html \
	test-editor-mode \
	browser_dbg_displayName.html \
	browser_dbg_iframes.html \
	browser_dbg_with-frame.html \
	browser_dbg_pause-exceptions.html \
	browser_dbg_breakpoint-new-script.html \
	$(NULL)

MOCHITEST_BROWSER_FILES_PARTS = MOCHITEST_BROWSER_TESTS MOCHITEST_BROWSER_PAGES

include $(topsrcdir)/config/rules.mk
