Backed out changeset f6ca02568bef (bug 1899439) for causing xcpshell failures in xpcshell/test_PanelTestProvider.js. CLOSED TREE
This commit is contained in:
@@ -629,116 +629,6 @@ const MESSAGES = () => [
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "EXPERIMENT_L10N_TEST",
|
||||
template: "feature_callout",
|
||||
description:
|
||||
"Test ASRouter support for flattening experiment-translated messages into plain English text. See bug 1899439.",
|
||||
content: {
|
||||
id: "EXPERIMENT_L10N_TEST",
|
||||
template: "multistage",
|
||||
backdrop: "transparent",
|
||||
transitions: false,
|
||||
disableHistoryUpdates: true,
|
||||
metrics: "block",
|
||||
screens: [
|
||||
{
|
||||
id: "EXPERIMENT_L10N_TEST_1",
|
||||
anchors: [
|
||||
{
|
||||
selector: "#PanelUI-menu-button",
|
||||
panel_position: {
|
||||
anchor_attachment: "bottomcenter",
|
||||
callout_attachment: "topright",
|
||||
},
|
||||
},
|
||||
],
|
||||
content: {
|
||||
position: "callout",
|
||||
layout: "survey",
|
||||
width: "min-content",
|
||||
padding: "16",
|
||||
title: {
|
||||
raw: {
|
||||
$l10n: {
|
||||
id: "question-title",
|
||||
text: "Help Firefox improve this page",
|
||||
comment:
|
||||
"The title of a popup asking the user to give feedback by answering a short survey",
|
||||
},
|
||||
},
|
||||
marginInline: "0 42px",
|
||||
whiteSpace: "nowrap",
|
||||
},
|
||||
title_logo: {
|
||||
imageURL: "chrome://branding/content/about-logo.png",
|
||||
alignment: "top",
|
||||
},
|
||||
subtitle: {
|
||||
raw: {
|
||||
$l10n: {
|
||||
id: "relevance-question",
|
||||
text: "How relevant are the contents of this Firefox page to you?",
|
||||
comment: "Survey question about relevance",
|
||||
},
|
||||
},
|
||||
},
|
||||
secondary_button: {
|
||||
label: {
|
||||
raw: {
|
||||
$l10n: {
|
||||
id: "advance-button-label",
|
||||
text: "Next",
|
||||
comment:
|
||||
"Label for the button that submits the user's response to question 1 and advances to question 2",
|
||||
},
|
||||
},
|
||||
},
|
||||
style: "primary",
|
||||
action: { navigate: true },
|
||||
disabled: "hasActiveMultiSelect",
|
||||
},
|
||||
dismiss_button: {
|
||||
size: "small",
|
||||
marginBlock: "12px 0",
|
||||
marginInline: "0 12px",
|
||||
action: { dismiss: true },
|
||||
},
|
||||
tiles: {
|
||||
type: "multiselect",
|
||||
style: { flexDirection: "column", alignItems: "flex-start" },
|
||||
data: [
|
||||
{
|
||||
id: "radio-no-opinion",
|
||||
type: "radio",
|
||||
group: "radios",
|
||||
defaultValue: true,
|
||||
icon: {
|
||||
style: {
|
||||
width: "14px",
|
||||
height: "14px",
|
||||
marginInline: "0 0.5em",
|
||||
},
|
||||
},
|
||||
label: {
|
||||
raw: {
|
||||
$l10n: {
|
||||
id: "radio-no-opinion-label",
|
||||
text: "No opinion",
|
||||
comment:
|
||||
"Answer choice indicating that the user has no opinion about how relevant the New Tab Page is",
|
||||
},
|
||||
},
|
||||
},
|
||||
action: { navigate: true },
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export const PanelTestProvider = {
|
||||
|
||||
Reference in New Issue
Block a user