#
# 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

# in the list below, we make sure that the tests that require focus
# run before test_plugin_clipping, which can steal focus for its window.
MOCHITEST_FILES = \
  test_contained_plugin_transplant.html \
  bug344830_testembed.svg \
  plugin_clipping_helper.xhtml \
  plugin_clipping_helper2.xhtml \
  plugin_clipping_helper_transformed.xhtml \
  plugin_clipping_helper_table.xhtml \
  plugin_clipping_lib.js \
  plugin_focus_helper.html \
  test_bug240933.html \
  test_bug263683.html \
  test_bug288789.html \
  test_bug290397.html \
  test_bug323656.html \
  test_bug344830.html \
  test_bug348681.html \
  test_bug382429.html \
  test_bug384527.html \
  test_bug385751.html \
  test_bug389630.html \
  test_bug391747.html \
  test_bug392746.html \
  test_bug392923.html \
  test_bug394173.html \
  test_bug394239.html \
  test_bug402380.html \
  test_bug404872.html \
  test_bug405178.html \
  test_bug416168.html \
  test_bug421436.html \
  $(warning test_bug421839-1.html disabled because it calls finish twice which can cause timeouts) \
  test_bug421839-2.html \
  bug421839-2-page.html \
  test_bug424627.html \
  test_bug438840.html \
  test_bug448860.html \
  test_bug460532.html \
  test_bug468167.html \
  test_bug470212.html \
  $(warning test_bug488417.html temporarily disabled - see bug 489560) \
  test_bug496275.html \
  test_bug503813.html \
  $(warning test_bug507902.html temporarily disabled - see bug 510001) \
  test_bug514732.html \
  test_bug527306.html \
  test_bug579767.html \
  test_bug597333.html \
  test_bug666225.html \
  test_image_selection.html \
  test_image_selection_2.html \
  test_invalidate_during_plugin_paint.html \
  test_movement_by_characters.html \
  test_movement_by_words.html \
  test_page_scroll_with_fixed_pos.html \
    page_scroll_with_fixed_pos_window.html \
  test_plugin_clipping.xhtml \
  test_plugin_clipping2.xhtml \
  test_plugin_clipping_transformed.xhtml \
  test_plugin_clipping_table.xhtml \
  test_plugin_focus.html \
  test_plugin_mouse_coords.html \
  test_plugin_position.xhtml \
  test_selection_expanding.html \
  test_selection_touchevents.html \
  selection_expanding_xbl.xml \
  file_BrokenImageReference.png \
  file_Dolske.png \
  file_IconTestServer.sjs \
  file_LoadingImageReference.png \
  file_bug514732_1.html \
  file_bug514732_helper.html \
  file_bug579767_1.html \
  file_bug579767_2.html \
  test_bug522632.html \
  test_bug589621.html \
  test_bug589623.html \
  test_bug633762.html \
  bug633762_iframe.html \
  $(srcdir)/../../reftests/backgrounds/blue-32x32.png \
  $(srcdir)/../../reftests/backgrounds/fuchsia-32x32.png \
  test_selection_splitText-normalize.html \
  test_bug524925.html \
  test_bug719503.html \
  test_bug719515.html \
  test_bug719518.html \
  test_bug719523.html \
  test_bug735641.html \
  test_bug748961.html \
  test_bug784410.html \
  test_bug791616.html \
  $(NULL)

MOCHITEST_CHROME_FILES = \
  frame_selection_underline.xhtml \
  frame_selection_underline-ref.xhtml \
  frame_selection_underline.css \
  test_selection_underline.html \
  test_bug632379.xul \
  test_bug508115.xul \
  test_bug469613.xul \
  test_bug469774.xul \
  test_backspace_delete.xul \
  test_bug514732-2.xul \
  file_bug514732_window.xul \
  $(NULL)

include $(topsrcdir)/config/rules.mk
