2007-03-22 10:30:00 -07:00
|
|
|
#
|
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Mozilla Foundation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2007
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
|
|
|
DEPTH = ../../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
relativesrcdir = toolkit/content/tests/chrome
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
2009-07-29 11:33:53 -07:00
|
|
|
|
|
|
|
DIRS = rtltest
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2008-07-08 08:26:54 -07:00
|
|
|
_TEST_FILES = findbar_window.xul \
|
|
|
|
test_findbar.xul \
|
2007-09-18 16:13:26 -07:00
|
|
|
test_bug253481.xul \
|
2009-01-17 12:39:32 -08:00
|
|
|
bug263683_window.xul \
|
|
|
|
test_bug263683.xul \
|
2007-06-03 14:34:48 -07:00
|
|
|
bug304188_window.xul \
|
|
|
|
test_bug304188.xul \
|
2009-01-17 12:39:32 -08:00
|
|
|
bug331215_window.xul \
|
|
|
|
test_bug331215.xul \
|
2007-03-22 10:30:00 -07:00
|
|
|
bug360437_window.xul \
|
|
|
|
test_bug360437.xul \
|
|
|
|
bug366992_window.xul \
|
|
|
|
test_bug366992.xul \
|
2008-12-31 02:40:23 -08:00
|
|
|
test_bug418874.xul \
|
2009-01-17 12:39:32 -08:00
|
|
|
bug429723_window.xul \
|
|
|
|
test_bug429723.xul \
|
2009-01-30 00:13:17 -08:00
|
|
|
bug437844.css \
|
2009-02-14 23:21:04 -08:00
|
|
|
bug437844.dtd \
|
2009-01-30 00:13:17 -08:00
|
|
|
bug437844.manifest \
|
|
|
|
test_bug437844.xul \
|
2008-09-25 09:37:44 -07:00
|
|
|
bug451286_window.xul \
|
|
|
|
test_bug451286.xul \
|
2009-04-06 09:02:32 -07:00
|
|
|
bug451540_window.xul \
|
|
|
|
test_bug451540.xul \
|
2009-02-15 08:35:50 -08:00
|
|
|
test_bug471776.xul \
|
2007-08-03 07:06:16 -07:00
|
|
|
test_popup_preventdefault_chrome.xul \
|
|
|
|
window_popup_preventdefault_chrome.xul \
|
2007-08-11 11:22:09 -07:00
|
|
|
test_largemenu.xul \
|
2007-08-09 01:53:19 -07:00
|
|
|
window_largemenu.xul \
|
2007-08-27 09:23:52 -07:00
|
|
|
test_popup_anchor.xul \
|
|
|
|
window_popup_anchor.xul \
|
|
|
|
frame_popup_anchor.xul \
|
2008-04-25 16:23:14 -07:00
|
|
|
test_preferences.xul \
|
|
|
|
window_preferences.xul \
|
2008-09-17 06:12:20 -07:00
|
|
|
window_preferences2.xul \
|
|
|
|
window_preferences3.xul \
|
2008-07-17 01:33:51 -07:00
|
|
|
test_autocomplete2.xul \
|
2008-09-19 08:30:51 -07:00
|
|
|
test_autocomplete3.xul \
|
2009-05-26 10:24:29 -07:00
|
|
|
test_autocomplete4.xul \
|
2008-08-06 07:32:09 -07:00
|
|
|
test_keys.xul \
|
|
|
|
window_keys.xul \
|
2009-07-13 04:55:56 -07:00
|
|
|
test_showcaret.xul \
|
2009-09-03 12:30:06 -07:00
|
|
|
window_showcaret.xul \
|
2009-07-29 11:33:53 -07:00
|
|
|
test_righttoleft.xul \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
2009-04-22 05:55:49 -07:00
|
|
|
# test_panel_focus.xul won't work if the Full Keyboard Access preference is set to
|
|
|
|
# textboxes and lists only, so skip this test on Mac
|
2007-08-29 09:01:02 -07:00
|
|
|
ifeq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
_TEST_FILES += test_panel_focus.xul \
|
|
|
|
window_panel_focus.xul
|
2008-04-08 11:54:29 -07:00
|
|
|
else
|
|
|
|
_TEST_FILES += test_autocomplete.xul
|
2007-08-29 09:01:02 -07:00
|
|
|
endif
|
|
|
|
|
2009-07-15 02:54:30 -07:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
|
2009-07-15 06:36:18 -07:00
|
|
|
_TEST_FILES += $(warning test_cursorsnap.xul temporarily disabled) \
|
2009-07-15 02:54:30 -07:00
|
|
|
window_cursorsnap_dialog.xul \
|
|
|
|
window_cursorsnap_wizard.xul
|
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
libs:: $(_TEST_FILES)
|
2007-08-05 20:22:32 -07:00
|
|
|
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir)
|