Bug 1296888: Add "webextensions" tag to WebExtension tests. r?aswan
MozReview-Commit-ID: 3QYXtpdznrP
--- a/browser/components/extensions/test/browser/browser.ini
+++ b/browser/components/extensions/test/browser/browser.ini
@@ -10,16 +10,17 @@ support-files =
file_iframe_document.html
file_iframe_document.sjs
file_bypass_cache.sjs
file_language_fr_en.html
file_language_ja.html
file_dummy.html
searchSuggestionEngine.xml
searchSuggestionEngine.sjs
+tags = webextensions
[browser_ext_browserAction_context.js]
[browser_ext_browserAction_disabled.js]
[browser_ext_browserAction_pageAction_icon.js]
[browser_ext_browserAction_pageAction_icon_permissions.js]
[browser_ext_browserAction_popup.js]
[browser_ext_browserAction_popup_resize.js]
--- a/browser/components/extensions/test/xpcshell/xpcshell.ini
+++ b/browser/components/extensions/test/xpcshell/xpcshell.ini
@@ -1,9 +1,10 @@
[DEFAULT]
head = head.js
tail =
firefox-appdir = browser
+tags = webextensions
[test_ext_bookmarks.js]
[test_ext_history.js]
[test_ext_manifest_commands.js]
[test_ext_manifest_permissions.js]
--- a/mobile/android/components/extensions/test/mochitest/chrome.ini
+++ b/mobile/android/components/extensions/test/mochitest/chrome.ini
@@ -1,6 +1,7 @@
[DEFAULT]
support-files =
head.js
+tags = webextensions
[test_ext_pageAction.html]
-[test_ext_pageAction_popup.html]
\ No newline at end of file
+[test_ext_pageAction_popup.html]
--- a/toolkit/components/extensions/test/mochitest/chrome.ini
+++ b/toolkit/components/extensions/test/mochitest/chrome.ini
@@ -1,13 +1,14 @@
[DEFAULT]
support-files =
chrome_head.js
head.js
file_sample.html
+tags = webextensions
[test_chrome_ext_background_debug_global.html]
skip-if = (os == 'android') # android doesn't have devtools
[test_chrome_ext_background_page.html]
skip-if = (toolkit == 'android') # android doesn't have devtools
[test_chrome_ext_eventpage_warning.html]
[test_chrome_ext_contentscript_unrecognizedprop_warning.html]
skip-if = (os == 'android') # browser.tabs is undefined. Bug 1258975 on android.
--- a/toolkit/components/extensions/test/mochitest/mochitest.ini
+++ b/toolkit/components/extensions/test/mochitest/mochitest.ini
@@ -30,16 +30,17 @@ support-files =
file_script_redirect.js
file_script_xhr.js
file_sample.html
redirection.sjs
file_privilege_escalation.html
file_ext_test_api_injection.js
file_permission_xhr.html
file_teardown_test.js
+tags = webextensions
[test_clipboard.html]
# skip-if = # disabled test case with_permission_allow_copy, see inline comment.
[test_ext_inIncognitoContext_window.html]
skip-if = os == 'android' # Android does not currently support windows.
[test_ext_geturl.html]
[test_ext_background_canvas.html]
[test_ext_content_security_policy.html]
--- a/toolkit/components/extensions/test/xpcshell/native_messaging.ini
+++ b/toolkit/components/extensions/test/xpcshell/native_messaging.ini
@@ -1,12 +1,13 @@
[DEFAULT]
head = head.js head_native_messaging.js
tail =
firefox-appdir = browser
skip-if = toolkit == 'gonk' || appname == "thunderbird" || os == "android"
subprocess = true
support-files =
data/**
+tags = webextensions
[test_ext_native_messaging.js]
[test_ext_native_messaging_perf.js]
[test_ext_native_messaging_unresponsive.js]
--- a/toolkit/components/extensions/test/xpcshell/xpcshell.ini
+++ b/toolkit/components/extensions/test/xpcshell/xpcshell.ini
@@ -1,15 +1,16 @@
[DEFAULT]
head = head.js
tail =
firefox-appdir = browser
skip-if = toolkit == 'gonk' || appname == "thunderbird"
support-files =
data/**
+tags = webextensions
[test_csp_custom_policies.js]
[test_csp_validator.js]
[test_ext_alarms.js]
[test_ext_alarms_does_not_fire.js]
[test_ext_alarms_periodic.js]
[test_ext_alarms_replaces.js]
[test_ext_background_generated_load_events.js]
--- a/toolkit/mozapps/extensions/test/xpcshell/xpcshell-shared.ini
+++ b/toolkit/mozapps/extensions/test/xpcshell/xpcshell-shared.ini
@@ -2,16 +2,17 @@
[DEFAULT]
skip-if = toolkit == 'android' || toolkit == 'gonk'
tags = addons
[test_AddonRepository.js]
[test_reload.js]
# Bug 676992: test consistently hangs on Android
skip-if = os == "android"
+tags = webextensions
[test_AddonRepository_cache.js]
# Bug 676992: test consistently hangs on Android
# Bug 1026805: frequent hangs on OSX 10.8
skip-if = os == "android" || os == "mac"
run-sequentially = Uses hardcoded ports in xpi files.
[test_AddonRepository_compatmode.js]
# Bug 676992: test consistently hangs on Android
skip-if = os == "android"
@@ -268,16 +269,17 @@ fail-if = os == "android"
[test_types.js]
[test_undothemeuninstall.js]
[test_undouninstall.js]
[test_uninstall.js]
[test_update.js]
# Bug 676992: test consistently hangs on Android
skip-if = os == "android"
[test_update_webextensions.js]
+tags = webextensions
[test_updateCancel.js]
[test_update_strictcompat.js]
# Bug 676992: test consistently hangs on Android
skip-if = os == "android"
[test_update_ignorecompat.js]
# Bug 676992: test consistently hangs on Android
skip-if = os == "android"
[test_updatecheck.js]
@@ -300,24 +302,28 @@ run-sequentially = Uses global XCurProcD
# Bug 676992: test consistently hangs on Android
skip-if = os == "android"
run-sequentially = Uses global XCurProcD dir.
[test_overrideblocklist.js]
run-sequentially = Uses global XCurProcD dir.
[test_sourceURI.js]
[test_webextension_icons.js]
skip-if = appname == "thunderbird"
+tags = webextensions
[test_webextension.js]
skip-if = appname == "thunderbird"
+tags = webextensions
[test_webextension_install.js]
skip-if = appname == "thunderbird"
+tags = webextensions
[test_bootstrap_globals.js]
[test_bug1180901_2.js]
skip-if = os != "win"
[test_bug1180901.js]
skip-if = os != "win"
[test_e10s_restartless.js]
[test_switch_os.js]
# Bug 1246231
skip-if = os == "mac" && debug
[test_softblocked.js]
[test_ext_management.js]
+tags = webextensions
--- a/toolkit/mozapps/extensions/test/xpcshell/xpcshell-unpack.ini
+++ b/toolkit/mozapps/extensions/test/xpcshell/xpcshell-unpack.ini
@@ -2,10 +2,11 @@
head = head_addons.js head_unpack.js
tail =
firefox-appdir = browser
skip-if = toolkit == 'android' || toolkit == 'gonk'
dupe-manifest =
tags = addons
[test_webextension_paths.js]
+tags = webextensions
[include:xpcshell-shared.ini]
--- a/toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini
+++ b/toolkit/mozapps/extensions/test/xpcshell/xpcshell.ini
@@ -28,18 +28,20 @@ skip-if = appname != "firefox"
[test_provider_unsafe_access_startup.js]
[test_ProductAddonChecker.js]
[test_shutdown.js]
[test_system_update.js]
[test_system_reset.js]
[test_XPIcancel.js]
[test_XPIStates.js]
[test_temporary.js]
+tags = webextensions
[test_proxies.js]
[test_proxy.js]
[test_pass_symbol.js]
[test_delay_update.js]
[test_nodisable_hidden.js]
[test_delay_update_webextension.js]
skip-if = appname == "thunderbird"
+tags = webextensions
[test_dependencies.js]
[include:xpcshell-shared.ini]