2007-04-16 15:18:50 +00: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 = docshell/test
|
|
|
|
|
2007-11-23 20:20:41 +00:00
|
|
|
MODULE = test_docshell
|
|
|
|
|
2007-07-11 17:33:46 +00:00
|
|
|
DIRS += chrome \
|
2008-01-27 19:39:10 +00:00
|
|
|
navigation \
|
2007-07-15 22:33:21 +00:00
|
|
|
$(NULL)
|
2007-07-11 17:33:46 +00:00
|
|
|
|
2007-11-23 20:20:41 +00:00
|
|
|
XPCSHELL_TESTS = unit
|
|
|
|
|
2007-04-16 15:18:50 +00:00
|
|
|
include $(DEPTH)/config/autoconf.mk
|
2010-06-09 23:29:44 +00:00
|
|
|
|
|
|
|
ifneq (mobile,$(MOZ_BUILD_APP))
|
2010-06-15 20:02:07 +00:00
|
|
|
DIRS += browser
|
2010-06-09 23:29:44 +00:00
|
|
|
endif
|
|
|
|
|
2007-04-16 15:18:50 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
_TEST_FILES = \
|
2008-02-06 18:18:07 +00:00
|
|
|
test_bug94514.html \
|
|
|
|
bug94514-postpage.html \
|
2008-11-18 22:57:13 +00:00
|
|
|
test_bug123696.html \
|
|
|
|
bug123696-subframe.html \
|
2007-04-16 15:18:50 +00:00
|
|
|
test_bug344861.html \
|
2007-11-27 05:32:23 +00:00
|
|
|
test_bug369814.html \
|
2009-01-21 22:50:28 +00:00
|
|
|
bug369814.zip \
|
2009-03-10 21:58:00 +00:00
|
|
|
bug369814.jar \
|
2007-10-12 18:59:46 +00:00
|
|
|
test_bug384014.html \
|
2007-07-14 05:02:22 +00:00
|
|
|
test_bug387979.html \
|
2007-11-21 19:59:42 +00:00
|
|
|
test_bug404548.html \
|
|
|
|
bug404548-subframe.html \
|
2008-02-29 04:21:39 +00:00
|
|
|
test_bug413310.html \
|
|
|
|
bug413310-subframe.html \
|
|
|
|
bug413310-post.sjs \
|
2008-04-30 20:10:22 +00:00
|
|
|
test_bug402210.html \
|
2009-03-10 06:03:39 +00:00
|
|
|
test_bug475636.html \
|
|
|
|
file_bug475636.sjs \
|
2009-06-26 17:16:50 +00:00
|
|
|
test_bug385434.html \
|
|
|
|
file_bug385434_1.html \
|
|
|
|
file_bug385434_2.html \
|
|
|
|
file_bug385434_3.html \
|
2009-08-10 20:45:09 +00:00
|
|
|
test_bug509055.html \
|
|
|
|
file_bug509055.html \
|
2009-11-18 16:02:28 +00:00
|
|
|
test_bug529119-1.html \
|
|
|
|
test_bug529119-2.html \
|
|
|
|
bug529119-window.html \
|
2010-01-23 11:41:41 +00:00
|
|
|
test_bug540462.html \
|
|
|
|
file_bug540462.html \
|
2010-08-11 23:49:43 +00:00
|
|
|
test_bug580069.html \
|
|
|
|
file_bug580069_1.html \
|
|
|
|
file_bug580069_2.sjs \
|
2010-08-27 21:19:45 +00:00
|
|
|
test_bug590573.html \
|
|
|
|
file_bug590573_1.html \
|
|
|
|
file_bug590573_2.html \
|
2011-03-02 19:45:13 +00:00
|
|
|
test_bug598895.html \
|
2011-02-19 00:15:42 +00:00
|
|
|
test_bug634834.html \
|
|
|
|
file_bug634834.html \
|
2011-03-02 19:45:13 +00:00
|
|
|
test_bug637644.html \
|
2011-03-30 17:40:48 +00:00
|
|
|
test_framedhistoryframes.html \
|
|
|
|
test_windowedhistoryframes.html \
|
|
|
|
historyframes.html \
|
2007-04-16 15:18:50 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2009-10-16 14:32:05 +00:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
|
|
|
_TEST_FILES += \
|
|
|
|
test_bug511449.html \
|
|
|
|
file_bug511449.html \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2007-04-16 15:18:50 +00:00
|
|
|
libs:: $(_TEST_FILES)
|
2007-08-06 03:22:32 +00:00
|
|
|
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
|