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

include $(DEPTH)/config/autoconf.mk

MOCHITEST_BROWSER_FILES := \
  browser_focus_steal_from_chrome.js \
  browser_focus_steal_from_chrome_during_mousedown.js \
  browser_autofocus_background.js \
  browser_ConsoleAPITests.js \
  test-console-api.html \
  browser_ConsoleStorageAPITests.js \
  browser_ConsoleStoragePBTest.js \
  browser_autofocus_preference.js \
  browser_bug396843.js \
  $(NULL)

ifeq (Linux,$(OS_ARCH))
MOCHITEST_BROWSER_FILES += \
  browser_webapps_permissions.js \
  test-webapp.webapp \
  test-webapp-reinstall.webapp \
  test-webapp-original.webapp \
  test-webapps-permissions.html \
  $(NULL)
endif


# TODO: Re-enable permissions tests on Mac and Windows, bug 795334
# TODO: disabled test browser_webapps_perms_reinstall.js, re-enable when bug 794920 is fixed

include $(topsrcdir)/config/rules.mk
