зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1543696 - Don't set extensions.legacy.enabled on beta in browser_ext_themes_experiment.js. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D27153 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
f0a2b9f2fe
Коммит
c9cef3c063
|
@ -3,9 +3,11 @@
|
|||
// This test checks whether the theme experiments work
|
||||
|
||||
add_task(async function setup() {
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["extensions.legacy.enabled", true]],
|
||||
});
|
||||
if (AppConstants.MOZ_ALLOW_LEGACY_EXTENSIONS) {
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["extensions.legacy.enabled", true]],
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
add_task(async function test_experiment_static_theme() {
|
||||
|
|
|
@ -73,7 +73,9 @@ add_task(async function test_dynamic_theme() {
|
|||
});
|
||||
|
||||
add_task(async function test_experiment() {
|
||||
Services.prefs.setBoolPref("extensions.legacy.enabled", true);
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["extensions.legacy.enabled", true]],
|
||||
});
|
||||
|
||||
info("Testing that experiments are handled correctly when legacy pref is enabled");
|
||||
|
||||
|
@ -107,7 +109,7 @@ add_task(async function test_experiment() {
|
|||
|
||||
info("Testing that experiments are handled correctly when legacy pref is disabled");
|
||||
|
||||
Services.prefs.setBoolPref("extensions.legacy.enabled", false);
|
||||
await SpecialPowers.popPrefEnv();
|
||||
|
||||
extension = ExtensionTestUtils.loadExtension({
|
||||
manifest: {
|
||||
|
|
|
@ -68,7 +68,6 @@ addon-list .addon.card {
|
|||
.addon-name {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: var(--grey-90);
|
||||
line-height: 22px;
|
||||
/* Subtract the top line-height so the text and icon align at the top. */
|
||||
margin-top: -3px;
|
||||
|
@ -194,6 +193,8 @@ button[action="more-options"] {
|
|||
width: 24px;
|
||||
height: 24px;
|
||||
margin: 0;
|
||||
-moz-context-properties: fill;
|
||||
fill: currentColor;
|
||||
background: url("chrome://global/skin/icons/more.svg") no-repeat center center;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче