2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
15 # The Original Code is mozilla.org code.
17 # The Initial Developer of the Original Code is
19 # Portions created by the Initial Developer are Copyright (C) 2007
20 # the Initial Developer. All Rights Reserved.
24 # Alternatively, the contents of this file may be used under the terms of
25 # either of the GNU General Public License Version 2 or later (the "GPL"),
26 # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 # in which case the provisions of the GPL or the LGPL are applicable instead
28 # of those above. If you wish to allow use of your version of this file only
29 # under the terms of either the GPL or the LGPL, and not to allow others to
30 # use your version of this file under the terms of the MPL, indicate your
31 # decision by deleting the provisions above and replace them with the notice
32 # and other provisions required by the GPL or the LGPL. If you do not delete
33 # the provisions above, a recipient may use your version of this file under
34 # the terms of any one of the MPL, the GPL or the LGPL.
36 # ***** END LICENSE BLOCK *****
39 topsrcdir
= @top_srcdir@
42 relativesrcdir
= toolkit
/content
/tests
/chrome
44 include $(DEPTH
)/config
/autoconf.mk
46 DIRS
= rtltest rtlchrome
48 include $(topsrcdir
)/config
/rules.mk
50 _TEST_FILES
= findbar_window.xul \
53 bug263683_window.xul \
55 bug304188_window.xul \
57 bug331215_window.xul \
59 bug360437_window.xul \
61 bug366992_window.xul \
64 bug429723_window.xul \
67 bug451286_window.xul \
69 bug451540_window.xul \
74 bug624329_window.xul \
76 test_popup_preventdefault_chrome.xul \
77 window_popup_preventdefault_chrome.xul \
79 window_largemenu.xul \
80 test_popup_anchor.xul \
81 window_popup_anchor.xul \
82 frame_popup_anchor.xul \
83 test_preferences.xul \
84 window_preferences.xul \
85 window_preferences2.xul \
86 window_preferences3.xul \
87 window_preferences_commandretarget.xul \
88 test_autocomplete2.xul \
89 test_autocomplete3.xul \
90 test_autocomplete4.xul \
94 window_showcaret.xul \
95 test_righttoleft.xul \
96 test_dialogfocus.xul \
97 dialog_dialogfocus.xul \
98 test_screenPersistence.xul \
99 window_screenPosSize.xul \
101 window_titlebar.xul \
102 test_browser_drop.xul \
103 window_browser_drop.xul \
104 test_subframe_origin.xul \
105 window_subframe_origin.xul \
106 frame_subframe_origin_subframe1.xul \
107 frame_subframe_origin_subframe2.xul \
108 RegisterUnregisterChrome.js \
125 test_closemenu_attribute.xul \
126 test_colorpicker_popup.xul \
128 test_menuitem_blink.xul \
129 test_menulist_keynav.xul \
130 test_popup_coords.xul \
131 test_popup_recreate.xul \
132 test_popup_preventdefault.xul \
133 test_notificationbox.xul \
137 test_progressmeter.xul \
140 test_timepicker.xul \
143 test_tree_single.xul \
144 test_textbox_emptytext.xul \
145 test_textbox_number.xul \
146 test_textbox_search.xul \
148 xul_selectcontrol.js \
149 test_popupincontent.xul \
150 test_panelfrommenu.xul \
151 test_hiddenitems.xul \
152 test_hiddenpaging.xul \
153 test_popup_tree.xul \
154 test_popup_keys.xul \
155 test_popuphidden.xul \
156 test_popup_scaled.xul \
157 test_popupremoving.xul \
158 test_popupremoving_frame.xul \
159 frame_popupremoving_frame.xul \
163 test_focus_anons.xul \
166 test_sorttemplate.xul \
167 test_contextmenu_list.xul \
168 test_richlist_direction.xul \
170 test_popup_attribute.xul \
171 window_popup_attribute.xul \
172 test_popup_button.xul \
173 window_popup_button.xul \
174 popup_childframe_node.xul \
176 test_tooltip_noautohide.xul \
178 test_datepicker.xul \
179 test_menuchecks.xul \
180 test_menulist_null_value.xul \
182 test_tree_hier_cell.xul \
183 test_mousescroll.xul \
184 test_mousecapture.xul \
185 test_arrowpanel.xul \
188 # test_panel_focus.xul won't work if the Full Keyboard Access preference is set to
189 # textboxes and lists only, so skip this test on Mac
190 ifneq (cocoa
,$(MOZ_WIDGET_TOOLKIT
))
191 _TEST_FILES
+= test_panel_focus.xul \
192 window_panel_focus.xul \
193 test_chromemargin.xul \
194 window_chromemargin.xul
196 _TEST_FILES
+= test_autocomplete.xul
199 ifeq ($(MOZ_WIDGET_TOOLKIT
),windows
)
200 _TEST_FILES
+= $(warning test_cursorsnap.xul temporarily disabled
) \
201 window_cursorsnap_dialog.xul \
202 window_cursorsnap_wizard.xul
205 libs
:: $(_TEST_FILES
)
206 $(INSTALL
) $(foreach f
,$^
,"$f") $(DEPTH
)/$(mochitestdir
)/chrome
/$(relativesrcdir
)