.eslintrc.mjs |
|
658 |
data |
|
|
head_addons.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
33203 |
head_amremotesettings.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
1025 |
head_cert_handling.js |
import-globals-from head_addons.js |
1027 |
head_compat.js |
import-globals-from head_addons.js |
1145 |
head_sideload.js |
import-globals-from head_addons.js |
2246 |
head_system_addons.js |
import-globals-from head_addons.js |
18562 |
head_unpack.js |
globals Services, TEST_UNPACKED: true |
95 |
rs-blocklist |
|
|
test_AbuseReporter.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
15664 |
test_addon_manager_telemetry_events.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
31608 |
test_AddonRepository.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
14564 |
test_AddonRepository_appIsShuttingDown.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2625 |
test_AddonRepository_cache.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
22093 |
test_AddonRepository_cache_locale.js |
|
5777 |
test_AddonRepository_langpacks.js |
|
3353 |
test_AddonRepository_paging.js |
|
2277 |
test_addonStartup.js |
|
2733 |
test_addonStartup_save_failures.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3373 |
test_AMBrowserExtensionsImport.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
15614 |
test_amo_stats_telemetry.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
2988 |
test_aom_startup.js |
|
5215 |
test_bad_json.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
1206 |
test_badschema.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
5630 |
test_bug587088.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
5409 |
test_builtin_location.js |
globals browser |
6939 |
test_builtin_theme_missing_fluent_strings.js |
waitForStartup |
1600 |
test_cacheflush.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2349 |
test_childprocess.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
860 |
test_cleanup_theme_processedColors.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
2330 |
test_cookies.js |
|
2696 |
test_corrupt.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
5487 |
test_crash_annotation_quoting.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
653 |
test_db_path.js |
|
2340 |
test_default_theme.js |
|
2971 |
test_delay_update_webextension.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
17915 |
test_dependencies.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3237 |
test_dictionary_webextension.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
7576 |
test_distribution.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3412 |
test_distribution_langpack.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3312 |
test_embedderDisabled.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3387 |
test_error.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2764 |
test_ext_management.js |
eslint-disable no-undef |
6098 |
test_filepointer.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
9010 |
test_general.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
1193 |
test_getInstallSourceFromHost.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
1127 |
test_gmpProvider.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
14654 |
test_harness.js |
|
357 |
test_hidden.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
6153 |
test_install.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
27572 |
test_install_cancel.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2381 |
test_install_file_change.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
5357 |
test_install_icons.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
1885 |
test_installOrigins.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
12495 |
test_installtrigger_deprecation.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
10773 |
test_installtrigger_schemes.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2501 |
test_isDebuggable.js |
|
602 |
test_isReady.js |
|
1700 |
test_loadManifest_isPrivileged.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
7504 |
test_locale.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3520 |
test_ModelHubProvider.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
13090 |
test_moved_extension_metadata.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
5483 |
test_no_addons.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2181 |
test_nodisable_hidden.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3378 |
test_onPropertyChanged_appDisabled.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
1353 |
test_permissions.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
4217 |
test_permissions_prefs.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3213 |
test_pref_properties.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
8122 |
test_ProductAddonChecker.js |
Compares binary data of 2 arrays and returns true if they are the same
@param arr1 The first array to compare
@param arr2 The second array to compare
|
10290 |
test_ProductAddonChecker_signatures.js |
allowNonBuiltIn |
7313 |
test_provider_markSafe.js |
|
1151 |
test_provider_shutdown.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2981 |
test_provider_unsafe_access_shutdown.js |
|
1522 |
test_provider_unsafe_access_startup.js |
|
1352 |
test_proxies.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
6332 |
test_QuarantinedDomains_AddonWrapper.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
6706 |
test_QuarantinedDomains_AMRemoteSettings.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
5687 |
test_recommendations.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
21844 |
test_registerchrome.js |
|
2836 |
test_registry.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
4048 |
test_reinstall_disabled_addon.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
5346 |
test_reload.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
5036 |
test_remote_pref_telemetry.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
1315 |
test_safemode.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2828 |
test_schema_change.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
4320 |
test_seen.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
7864 |
test_shutdown.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3168 |
test_shutdown_barriers.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
6761 |
test_shutdown_early.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2292 |
test_sideload_scopes.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
6541 |
test_sideloads.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2959 |
test_sideloads_after_rebuild.js |
|
4677 |
test_signed_inject.js |
|
11547 |
test_signed_install.js |
|
11136 |
test_signed_langpack.js |
|
2506 |
test_signed_long.js |
|
796 |
test_signed_updatepref.js |
|
3772 |
test_signed_verify.js |
Test helper used to simulate an update from a given pre-installed add-on xpi to a new xpi file for the same
add-on and assert the expected result and logged messages.
@param {object} params
@param {string} params.currentAddonXPI
The path to the add-on xpi to be pre-installed and then updated to `newAddonXPI`.
@param {string} params.newAddonXPI
The path to the add-on xpi to be installed as an update over `currentAddonXPI`.
@param {string} params.newAddonVersion
The add-on version expected for `newAddonXPI`.
@param {boolean} params.expectedInstallOK
Set to true for an update scenario that is expected to be successful.
@param {Array<string|RegExp>} params.expectedMessages
Array of strings or RegExp for console messages expected to be logged.
@param {Array<string|RegExp>} params.forbiddenMessages
Array of strings or RegExp for console messages expected to NOT be logged.
|
20136 |
test_signed_verify_timer.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
7568 |
test_sitePermsAddonProvider.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
30626 |
test_startup.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
24247 |
test_startup_enable.js |
|
1260 |
test_startup_isPrivileged.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
1964 |
test_startup_scan.js |
|
3547 |
test_strictcompatibility.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
3763 |
test_syncGUID.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3132 |
test_system_allowed.js |
|
1700 |
test_system_builtins.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
21897 |
test_system_delay_update.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
16450 |
test_system_profile_location.js |
globals browser |
8913 |
test_system_repository.js |
|
1711 |
test_system_reset.js |
|
17968 |
test_system_startupprefs.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
1937 |
test_system_update_blank.js |
Defines the set of initial conditions to run each test against. Each should
define the following properties:
setup: A task to setup the profile into the initial state.
initialState: The initial expected system add-on state after setup has run.
|
3788 |
test_system_update_checkSizeHash.js |
Defines the set of initial conditions to run each test against. Each should
define the following properties:
setup: A task to setup the profile into the initial state.
initialState: The initial expected system add-on state after setup has run.
|
5661 |
test_system_update_custom.js |
Defines the set of initial conditions to run each test against. Each should
define the following properties:
setup: A task to setup the profile into the initial state.
initialState: The initial expected system add-on state after setup has run.
|
14408 |
test_system_update_empty.js |
Defines the set of initial conditions to run each test against. Each should
define the following properties:
setup: A task to setup the profile into the initial state.
initialState: The initial expected system add-on state after setup has run.
|
4781 |
test_system_update_enterprisepolicy.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
2803 |
test_system_update_fail.js |
Defines the set of initial conditions to run each test against. Each should
define the following properties:
setup: A task to setup the profile into the initial state.
initialState: The initial expected system add-on state after setup has run.
|
5680 |
test_system_update_installTelemetryInfo.js |
|
3054 |
test_system_update_newset.js |
Defines the set of initial conditions to run each test against. Each should
define the following properties:
setup: A task to setup the profile into the initial state.
initialState: The initial expected system add-on state after setup has run.
|
5244 |
test_system_update_overlapping.js |
Defines the set of initial conditions to run each test against. Each should
define the following properties:
setup: A task to setup the profile into the initial state.
initialState: The initial expected system add-on state after setup has run.
|
5598 |
test_system_update_uninstall_check.js |
|
1548 |
test_system_update_upgrades.js |
Defines the set of initial conditions to run each test against. Each should
define the following properties:
setup: A task to setup the profile into the initial state.
initialState: The initial expected system add-on state after setup has run.
|
5251 |
test_system_upgrades.js |
This test function starts after a 1.0 version of an addon is installed
either as a builtin ("app-builtin") or as a builtin system addon ("app-system-defaults").
This tests the precedence chain works as expected through upgrades and
downgrades.
Upgrade to a system addon in the profile location, "app-system-addons"
Upgrade to a temporary addon
Uninstalling the temporary addon downgrades to the system addon in "app-system-addons".
Upgrade to a system addon in the "app-system-profile" location.
Uninstalling the "app-system-profile" addon downgrades to the one in "app-system-addons".
Upgrade to a user-installed addon
Upgrade the addon in "app-system-addons", verify user-install is still active
Uninstall the addon in "app-system-addons", verify user-install is active
Test that the update_url upgrades the user-install and becomes active
Disable the user-install, verify the disabled addon retains precedence
Uninstall the disabled user-install, verify system addon in "app-system-defaults" is active and enabled
Upgrade the system addon again, then user-install a lower version, verify downgrade happens.
Uninstall user-install, verify upgrade happens when the system addon in "app-system-addons" is activated.
|
15068 |
test_temporary.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
20344 |
test_trash_directory.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
1640 |
test_types.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
4014 |
test_undouninstall.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
16992 |
test_update.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
23139 |
test_update_addontype.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2131 |
test_update_compatmode.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3413 |
test_update_ignorecompat.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3208 |
test_update_isPrivileged.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
6255 |
test_update_noSystemAddonUpdate.js |
|
1297 |
test_update_strictcompat.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
5901 |
test_update_theme.js |
|
3900 |
test_update_webextensions.js |
|
5708 |
test_updateCancel.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
3872 |
test_updatecheck.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
5011 |
test_updatecheck_errors.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
1561 |
test_updatecheck_json.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
12556 |
test_updateid.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2217 |
test_updateversion.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2869 |
test_upgrade.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
5537 |
test_upgrade_incompatible.js |
|
2396 |
test_webextension.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
18092 |
test_webextension_events.js |
|
2784 |
test_webextension_icons.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
4984 |
test_webextension_install.js |
|
23815 |
test_webextension_install_syntax_error.js |
|
1336 |
test_webextension_langpack.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
18689 |
test_webextension_paths.js |
|
1367 |
test_webextension_theme.js |
This file contains test for 'theme' type WebExtension addons. Tests focus mostly
on interoperability between the different theme formats (XUL and LWT) and
Addon Manager integration.
Coverage may overlap with other tests in this folder.
|
10902 |
test_XPIcancel.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2089 |
test_XPIStates.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
4085 |
xpcshell-unpack.toml |
|
258 |
xpcshell.toml |
|
10411 |