browser/base/content/test/Makefile.in
author Ed Morley <emorley@mozilla.com>
Mon, 10 Dec 2012 13:34:00 +0000
changeset 124596 14a96f465272ae10551fadb65605fffffdbfa69d
parent 124592 5cc14abe00d84ad18b2bae35230dcf41a0924747
child 124597 f9fe02eca03c606b171449fb6559bb3e2356e7ba
permissions -rw-r--r--
Bug 766546 - Disable browser_bug561636.js on Windows (correctly this time)

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

DIRS += \
		newtab \
		$(NULL)

include $(DEPTH)/config/autoconf.mk

MOCHITEST_FILES = \
		head.js \
		test_feed_discovery.html \
		feed_discovery.html \
		test_bug395533.html \
		bug395533-data.txt \
		ctxmenu-image.png \
		video.ogg \
		test_offlineNotification.html \
		offlineChild.html \
		offlineChild.cacheManifest \
		offlineChild.cacheManifest^headers^ \
		offlineChild2.html \
		offlineChild2.cacheManifest \
		offlineChild2.cacheManifest^headers^ \
		offlineEvent.html \
		offlineEvent.cacheManifest \
		offlineEvent.cacheManifest^headers^ \
		test_bug364677.html \
		bug364677-data.xml \
		bug364677-data.xml^headers^ \
		test_offline_gzip.html \
		gZipOfflineChild.html \
		gZipOfflineChild.html^headers^ \
		gZipOfflineChild.cacheManifest \
		gZipOfflineChild.cacheManifest^headers^ \
		test_bug787619.html \
		$(NULL)

# test_contextmenu.html is disabled on Linux due to bug 513558
ifneq (gtk2,$(MOZ_WIDGET_TOOLKIT))
MOCHITEST_FILES += \
		audio.ogg \
		test_contextmenu.html \
		subtst_contextmenu.html \
		$(NULL)
ifdef MOZ_PER_WINDOW_PRIVATE_BROWSING
MOCHITEST_FILES += \
		privateBrowsingMode.js \
		$(NULL)
endif
endif

# The following tests are disabled because they are unreliable:
#   browser_bug423833.js is bug 428712
#   browser_sanitize-download-history.js is bug 432425
#
# browser_sanitizeDialog_treeView.js is disabled until the tree view is added
# back to the clear recent history dialog (sanitize.xul), if it ever is (bug
# 480169)

# browser_drag.js is disabled, as it needs to be updated for the new behavior from bug 320638.

# browser_bug321000.js is disabled because newline handling is shaky (bug 592528)

# browser_pageInfo.js + feed_tab.html is disabled for leaking (bug 767896)

_BROWSER_FILES = \
                 head.js \
                 browser_typeAheadFind.js \
                 browser_keywordSearch.js \
                 browser_allTabsPanel.js \
                 browser_alltabslistener.js \
                 browser_bug304198.js \
                 title_test.svg \
                 browser_bug329212.js \
                 browser_bug356571.js \
                 browser_bug380960.js \
                 browser_bug386835.js \
                 browser_bug405137.js \
                 browser_bug406216.js \
                 browser_bug409481.js \
                 browser_bug409624.js \
                 browser_bug413915.js \
                 browser_bug416661.js \
                 browser_bug417483.js \
                 browser_bug419612.js \
                 browser_identity_UI.js \
                 browser_bug422590.js \
                 browser_bug424101.js \
                 browser_bug427559.js \
                 browser_bug432599.js \
                 browser_bug435035.js \
                 browser_bug435325.js \
                 browser_bug441778.js \
                 browser_popupNotification.js \
                 browser_bug455852.js \
                 browser_bug460146.js \
                 browser_bug462673.js \
                 browser_bug477014.js \
                 browser_bug479408.js \
                 browser_bug479408_sample.html \
                 browser_bug481560.js \
                 browser_bug484315.js \
                 browser_bug491431.js \
                 browser_bug495058.js \
                 browser_bug517902.js \
                 browser_bug519216.js \
                 browser_bug520538.js \
                 browser_bug521216.js \
                 browser_bug533232.js \
                 browser_bug537474.js \
                 browser_bug550565.js \
                 browser_bug553455.js \
                 browser_bug555224.js \
                 browser_bug555767.js \
                 browser_bug556061.js \
                 browser_bug559991.js \
                 browser_bug561623.js \
                 browser_bug562649.js \
                 browser_bug563588.js \
                 browser_bug565575.js \
                 browser_bug567306.js \
                 browser_zbug569342.js \
                 browser_bug575561.js \
                 browser_bug575830.js \
                 browser_bug577121.js \
                 browser_bug578534.js \
                 browser_bug579872.js \
                 browser_bug580638.js \
                 browser_bug580956.js \
                 browser_bug581242.js \
                 browser_bug581253.js \
                 browser_bug581947.js \
                 browser_bug585785.js \
                 browser_bug585830.js \
                 browser_bug590206.js \
                 browser_bug592338.js \
                 browser_bug594131.js \
                 browser_bug595507.js \
                 browser_bug596687.js \
                 browser_bug597218.js \
                 browser_bug598923.js \
                 browser_bug599325.js \
                 browser_bug609700.js \
                 browser_bug616836.js \
                 browser_bug623155.js \
                 browser_bug623893.js \
                 browser_bug624734.js \
                 browser_bug647886.js \
                 browser_bug655584.js \
                 browser_bug664672.js \
                 browser_bug710878.js \
                 browser_bug719271.js \
                 browser_bug724239.js \
                 browser_bug735471.js \
                 browser_bug743421.js \
                 browser_bug749738.js \
                 browser_bug783614.js \
                 browser_bug797677.js \
                 browser_canonizeURL.js \
                 browser_customize.js \
                 browser_findbarClose.js \
                 browser_homeDrop.js \
                 browser_keywordBookmarklets.js \
                 browser_contextSearchTabPosition.js \
                 browser_ctrlTab.js \
                 browser_customize_popupNotification.js \
                 browser_disablechrome.js \
                 browser_discovery.js \
                 browser_duplicateIDs.js \
                 browser_gestureSupport.js \
                 browser_getshortcutoruri.js \
                 browser_hide_removing.js \
                 browser_overflowScroll.js \
                 browser_locationBarCommand.js \
                 browser_locationBarExternalLoad.js \
                 browser_page_style_menu.js \
                 browser_pinnedTabs.js \
                 browser_plainTextLinks.js \
                 browser_pluginnotification.js \
                 browser_clickToPlayPluginScriptAccessPopup.js \
                 browser_pluginplaypreview.js \
                 browser_relatedTabs.js \
                 browser_sanitize-passwordDisabledHosts.js \
                 browser_sanitize-sitepermissions.js \
                 browser_sanitize-timespans.js \
                 browser_clearplugindata.js \
                 browser_clearplugindata.html \
                 browser_clearplugindata_noage.html \
                 browser_popupUI.js \
                 browser_sanitizeDialog.js \
                 browser_save_video.js \
                 bug564387.html \
                 bug564387_video1.ogv \
                 bug564387_video1.ogv^headers^ \
                 bug792517.html \
                 bug792517-2.html \
                 bug792517.sjs \
                 browser_scope.js \
                 browser_selectTabAtIndex.js \
                 browser_tab_dragdrop.js \
                 browser_tab_dragdrop2.js \
                 browser_tab_dragdrop2_frame1.xul \
                 browser_tabfocus.js \
                 browser_tabs_isActive.js \
                 browser_tabs_owner.js \
                 browser_unloaddialogs.js \
                 browser_urlbarAutoFillTrimURLs.js \
                 browser_urlbarCopying.js \
                 browser_urlbarEnter.js \
                 browser_urlbarRevert.js \
                 browser_urlbarStop.js \
                 browser_urlbarTrimURLs.js \
                 browser_urlHighlight.js \
                 browser_visibleFindSelection.js \
                 browser_visibleTabs.js \
                 browser_visibleTabs_contextMenu.js \
                 browser_visibleTabs_bookmarkAllPages.js \
                 browser_visibleTabs_bookmarkAllTabs.js \
                 browser_visibleTabs_tabPreview.js \
                 bug592338.html \
                 disablechrome.html \
                 discovery.html \
                 domplate_test.js \
                 moz.png \
                 video.ogg \
                 test_bug435035.html \
                 test_bug462673.html \
                 page_style_sample.html \
                 plugin_unknown.html \
                 plugin_test.html \
                 plugin_test2.html \
                 plugin_test3.html \
                 plugin_test_noScriptNoPopup.html \
                 plugin_test_scriptedPopup1.html \
                 plugin_test_scriptedPopup2.html \
                 plugin_test_scriptedPopup3.html \
                 plugin_test_scriptedNoPopup1.html \
                 plugin_test_scriptedNoPopup2.html \
                 plugin_test_scriptedNoPopup3.html \
                 plugin_alternate_content.html \
                 plugin_both.html \
                 plugin_both2.html \
                 plugin_bug743421.html \
                 plugin_clickToPlayAllow.html \
                 plugin_clickToPlayDeny.html \
                 plugin_bug749455.html \
                 plugin_bug797677.html \
                 plugin_bug818009.html \
                 plugin_hidden_to_visible.html \
                 plugin_two_types.html \
                 alltabslistener.html \
                 zoom_test.html \
                 dummy_page.html \
                 file_bug550565_popup.html \
                 file_bug550565_favicon.ico \
                 browser_aboutHome.js \
                 app_bug575561.html \
                 app_subframe_bug575561.html \
                 browser_contentAreaClick.js \
                 browser_addon_bar_close_button.js \
                 browser_addon_bar_shortcut.js \
                 browser_addon_bar_aomlistener.js \
                 test_bug628179.html \
                 browser_wyciwyg_urlbarCopying.js \
                 test_wyciwyg_copying.html \
                 authenticate.sjs \
                 browser_minimize.js \
                 browser_aboutSyncProgress.js \
                 browser_middleMouse_inherit.js \
                 redirect_bug623155.sjs \
                 browser_tabDrop.js \
                 browser_lastAccessedTab.js \
                 browser_bug734076.js \
                 browser_bug812562.js \
                 browser_bug818009.js \
                 browser_bug818118.js \
                 blockPluginVulnerableUpdatable.xml \
                 blockPluginVulnerableNoUpdate.xml \
                 blockNoPlugins.xml \
                 browser_utilityOverlay.js \
                 browser_social.js \
                 browser_social_toolbar.js \
                 browser_social_shareButton.js \
                 browser_social_sidebar.js \
                 browser_social_flyout.js \
                 browser_social_mozSocial_API.js \
                 browser_social_isVisible.js \
                 browser_social_chatwindow.js \
                 social_panel.html \
                 social_share_image.png \
                 social_sidebar.html \
                 social_chat.html \
                 social_flyout.html \
                 social_window.html \
                 social_worker.js \
                 browser_bug676619.js \
                 download_page.html \
                 $(NULL)

ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
_BROWSER_FILES += \
		browser_bug462289.js \
		$(NULL)
else
_BROWSER_FILES += \
		browser_bug565667.js \
		$(NULL)
# TODO: Activate after carbon test plugin lands, bug 628651
# 		browser_maconly_carbon_mismatch_plugin.js \
endif

# bug 766546, disable browser_bug561636.js on Windows
ifneq ($(OS_ARCH),WINNT)
_BROWSER_FILES += \
                 browser_bug561636.js \
                 $(NULL)
endif

ifdef MOZ_PER_WINDOW_PRIVATE_BROWSING
_BROWSER_FILES += \
                browser_bug763468_perwindowpb.js \
                browser_bug767836_perwindowpb.js \
                browser_bug816527.js \
                browser_private_browsing_window.js \
                browser_save_link-perwindowpb.js \
                browser_save_private_link_perwindowpb.js \
                browser_tabMatchesInAwesomebar_perwindowpb.js \
                browser_tab_drag_drop_perwindow.js \
                $(NULL)
else
_BROWSER_FILES += \
                browser_bug763468.js \
                browser_bug767836.js \
                browser_save_link.js \
                browser_save_private_link.js \
                browser_tabMatchesInAwesomebar.js \
                $(NULL)
endif

include $(topsrcdir)/config/rules.mk

libs::	$(_BROWSER_FILES)
	$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/browser/$(relativesrcdir)