Skip to content

Commit

Permalink
Backed out changeset cfa8d4331629 (bug 1809347) for causing mochitest…
Browse files Browse the repository at this point in the history
… failures on test_migration_wizard.html CLOSED TREE
  • Loading branch information
Norisz Fay committed Mar 3, 2023
1 parent 20e0d71 commit d8f4674
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const MigrationWizardConstants = Object.freeze({
SELECTION: "selection",
PROGRESS: "progress",
SAFARI_PERMISSION: "safari-permission",
NO_BROWSERS_FOUND: "no-browsers-found",
}),

/**
Expand Down
14 changes: 1 addition & 13 deletions browser/components/migration/content/migration-wizard.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -94,21 +94,10 @@ export class MigrationWizard extends HTMLElement {
<button class="primary" id="done-button" data-l10n-id="migration-done-button-label"></button>
</moz-button-group>
</div>
<div name="page-safari-permission">
<h3>TODO: Safari permission page</h3>
</div>
<div name="page-no-browsers-found">
<h3 data-l10n-id="migration-wizard-selection-header"></h3>
<div class="no-browsers-found">
<span class="error-icon" role="img"></span>
<div class="no-browsers-found-message" data-l10n-id="migration-wizard-import-browser-no-browsers"></div>
</div>
<moz-button-group class="buttons">
<button class="cancel-close" data-l10n-id="migration-cancel-button-label"></button>
</moz-button-group>
</div>
</named-deck>
</template>
`;
Expand Down Expand Up @@ -138,7 +127,6 @@ export class MigrationWizard extends HTMLElement {
const shadow = this.attachShadow({ mode: "closed" });

if (window.MozXULElement) {
window.MozXULElement.insertFTLIfNeeded("branding/brand.ftl");
window.MozXULElement.insertFTLIfNeeded(
"locales-preview/migrationWizard.ftl"
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,3 @@ SafariPermissions.args = {
page: MigrationWizardConstants.PAGES.SAFARI_PERMISSION,
},
};

export const NoBrowsersFound = Template.bind({});
NoBrowsersFound.args = {
dialogMode: true,
state: {
page: MigrationWizardConstants.PAGES.NO_BROWSERS_FOUND,
},
};
1 change: 0 additions & 1 deletion browser/locales-preview/migrationWizard.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ migration-import-button-label = Import
migration-cancel-button-label = Cancel
migration-done-button-label = Done
migration-wizard-import-browser-no-browsers = { -brand-short-name } couldn’t find any programs that contain bookmark, history or password data.
migration-wizard-progress-header = Importing Data
migration-wizard-progress-done-header = Data Imported Successfully
migration-wizard-progress-icon-in-progress =
Expand Down
16 changes: 0 additions & 16 deletions browser/themes/shared/migration/migration-wizard.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,22 +98,6 @@ details:not([open]) summary {
fill: var(--in-content-success-icon-color);
}

.error-icon {
content: url("chrome://global/skin/icons/error.svg");
-moz-context-properties: fill;
fill: var(--in-content-danger-button-background);
margin-inline-end: 8px;
}

.no-browsers-found-message {
display: flex;
}

.no-browsers-found {
display: flex;
align-items: start;
}

/**
* Workaround for bug 1671784, which shows a slight outline around the
* rotating masked element.
Expand Down

0 comments on commit d8f4674

Please sign in to comment.