2009-01-12 19:06:21 -08: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 = modules/plugin/test
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2009-09-10 11:11:30 -07:00
|
|
|
_MOCHITEST_FILES = \
|
2010-02-09 17:05:31 -08:00
|
|
|
test_getauthenticationinfo.html \
|
|
|
|
test_npobject_getters.html \
|
|
|
|
test_npruntime_npnevaluate.html \
|
|
|
|
test_npruntime_npninvoke.html \
|
|
|
|
test_npruntime_npninvokedefault.html \
|
2010-05-10 14:11:31 -07:00
|
|
|
test_npruntime_identifiers.html \
|
2010-02-09 17:05:31 -08:00
|
|
|
loremipsum.txt \
|
|
|
|
loremipsum_file.txt \
|
2010-03-06 11:38:54 -08:00
|
|
|
loremipsum_nocache.txt \
|
|
|
|
loremipsum_nocache.txt^headers^ \
|
2010-02-09 17:05:31 -08:00
|
|
|
post.sjs \
|
|
|
|
pluginstream.js \
|
|
|
|
plugin_window.html \
|
|
|
|
test_painting.html \
|
|
|
|
test_pluginstream_err.html \
|
|
|
|
test_pluginstream_src.html \
|
|
|
|
test_pluginstream_geturl.html \
|
|
|
|
test_pluginstream_geturlnotify.html \
|
|
|
|
test_pluginstream_asfile.html \
|
|
|
|
test_pluginstream_asfileonly.html \
|
|
|
|
test_pluginstream_post.html \
|
|
|
|
test_pluginstream_poststream.html \
|
|
|
|
test_pluginstream_seek.html \
|
|
|
|
test_pluginstream_newstream.html \
|
2010-04-12 11:40:38 -07:00
|
|
|
test_fullpage.html \
|
|
|
|
loremipsum.xtest \
|
|
|
|
loremipsum.xtest^headers^ \
|
2010-02-09 17:05:31 -08:00
|
|
|
test_multipleinstanceobjects.html \
|
|
|
|
test_streamNotify.html \
|
|
|
|
test_instantiation.html \
|
|
|
|
test_cookies.html \
|
|
|
|
test_npn_timers.html \
|
|
|
|
test_npn_asynccall.html \
|
2010-02-26 11:07:58 -08:00
|
|
|
test_bug532208.html \
|
|
|
|
large-pic.jpg \
|
2010-03-06 11:38:54 -08:00
|
|
|
test_twostreams.html \
|
2010-03-08 09:16:35 -08:00
|
|
|
test_streamatclose.html \
|
|
|
|
neverending.sjs \
|
|
|
|
test_newstreamondestroy.html \
|
2010-10-15 08:12:02 -07:00
|
|
|
test_crashing.html \
|
2010-05-17 12:21:46 -07:00
|
|
|
$(warning test_crashing2.html disabled due to random orange; see bug 566049) \
|
2010-10-14 19:05:48 -07:00
|
|
|
test_hanging.html \
|
2010-02-09 17:05:31 -08:00
|
|
|
crashing_subpage.html \
|
2010-02-17 10:30:37 -08:00
|
|
|
test_GCrace.html \
|
2010-04-07 17:16:19 -07:00
|
|
|
test_propertyAndMethod.html \
|
2010-04-27 09:15:02 -07:00
|
|
|
test_bug539565-1.html \
|
|
|
|
test_bug539565-2.html \
|
2010-05-10 14:11:14 -07:00
|
|
|
test_enumerate.html \
|
2010-11-15 06:41:19 -08:00
|
|
|
test_npruntim_construct.html \
|
2010-02-09 17:05:31 -08:00
|
|
|
$(NULL)
|
2010-04-02 18:19:31 -07:00
|
|
|
|
2010-10-10 19:35:47 -07:00
|
|
|
# test_plugin_scroll_painting.html \ bug 596491
|
2010-04-02 18:19:31 -07:00
|
|
|
# test_npruntime_npnsetexception.html \ Disabled for e10s
|
2009-12-03 12:33:25 -08:00
|
|
|
|
2009-11-03 12:17:50 -08:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
_MOCHITEST_FILES += \
|
2010-02-09 17:05:31 -08:00
|
|
|
test_windowed_invalidate.html \
|
2010-11-15 06:41:18 -08:00
|
|
|
test_positioning.html \
|
2010-02-09 17:05:31 -08:00
|
|
|
$(NULL)
|
2009-11-03 12:17:50 -08:00
|
|
|
endif
|
|
|
|
|
2009-09-10 11:11:30 -07:00
|
|
|
_MOCHICHROME_FILES = \
|
2010-02-09 17:05:31 -08:00
|
|
|
test_npruntime.xul \
|
|
|
|
test_privatemode.xul \
|
|
|
|
test_wmode.xul \
|
2010-10-18 05:52:06 -07:00
|
|
|
test_bug479979.xul \
|
2010-02-09 17:05:31 -08:00
|
|
|
$(NULL)
|
2009-01-12 19:06:21 -08:00
|
|
|
|
2010-11-05 07:43:14 -07:00
|
|
|
ifneq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
|
|
|
_MOCHITEST_FILES += \
|
|
|
|
test_visibility.html \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
_MOCHICHROME_FILES += \
|
|
|
|
test_xulbrowser_plugin_visibility.xul \
|
|
|
|
xulbrowser_plugin_visibility.xul \
|
|
|
|
plugin_visibility_loader.html \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2010-08-13 05:28:15 -07:00
|
|
|
# Temporarily disable the tests on Linux, see bug 573290 and bug 583591.
|
|
|
|
ifneq ($(OS_ARCH),Linux)
|
2010-06-30 08:10:46 -07:00
|
|
|
ifdef MOZ_CRASHREPORTER
|
|
|
|
_MOCHICHROME_FILES += \
|
|
|
|
test_crash_notify.xul \
|
|
|
|
test_crash_notify_no_report.xul \
|
|
|
|
test_crash_submit.xul \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
2010-08-13 05:28:15 -07:00
|
|
|
endif
|
2010-06-30 08:10:46 -07:00
|
|
|
|
2009-11-09 10:19:26 -08:00
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
|
|
|
_MOCHICHROME_FILES += \
|
2010-02-09 17:05:31 -08:00
|
|
|
test_convertpoint.xul \
|
|
|
|
$(NULL)
|
2010-04-20 23:21:46 -07:00
|
|
|
|
|
|
|
_MOCHITEST_FILES += \
|
|
|
|
test_cocoa_window_focus.html \
|
|
|
|
cocoa_window_focus.html \
|
2010-04-25 13:58:03 -07:00
|
|
|
test_cocoa_focus.html \
|
|
|
|
cocoa_focus.html \
|
2010-04-20 23:21:46 -07:00
|
|
|
$(NULL)
|
2009-11-09 10:19:26 -08:00
|
|
|
endif
|
|
|
|
|
2010-02-16 10:44:26 -08:00
|
|
|
ifeq (gtk2,$(MOZ_WIDGET_TOOLKIT))
|
|
|
|
_MOCHITEST_FILES += \
|
|
|
|
test_copyText.html \
|
2010-04-20 20:33:14 -07:00
|
|
|
test_crash_nested_loop.html \
|
2010-02-16 10:44:26 -08:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2009-09-10 11:11:30 -07:00
|
|
|
libs:: $(_MOCHICHROME_FILES)
|
2009-01-12 19:06:21 -08:00
|
|
|
$(INSTALL) $^ $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir)
|
2009-09-10 11:11:30 -07:00
|
|
|
|
|
|
|
libs:: $(_MOCHITEST_FILES)
|
2010-04-06 23:17:51 -07:00
|
|
|
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
|