From 686ec160f58e40ab4027be5de3ad196281364794 Mon Sep 17 00:00:00 2001 From: Johann Hofmann Date: Wed, 6 Nov 2019 00:47:31 +0000 Subject: [PATCH] Bug 1575785 - Show a confirmation hint when a user successfully submitted a breakage report. r=nhnt11 Differential Revision: https://phabricator.services.mozilla.com/D51383 --HG-- extra : moz-landing-system : lando --- browser/base/content/browser-siteProtections.js | 1 + browser/locales/en-US/chrome/browser/browser.properties | 1 + 2 files changed, 2 insertions(+) diff --git a/browser/base/content/browser-siteProtections.js b/browser/base/content/browser-siteProtections.js index 95ad687b7fe7..fbc03e948951 100644 --- a/browser/base/content/browser-siteProtections.js +++ b/browser/base/content/browser-siteProtections.js @@ -2305,6 +2305,7 @@ var gProtectionsHandler = { this._protectionsPopupSiteNotWorkingReportError.hidden = false; } else { this._protectionsPopup.hidePopup(); + ConfirmationHint.show(this.iconBox, "breakageReport"); } }) .catch(Cu.reportError); diff --git a/browser/locales/en-US/chrome/browser/browser.properties b/browser/locales/en-US/chrome/browser/browser.properties index 19638a0ec3cb..82c1866169e3 100644 --- a/browser/locales/en-US/chrome/browser/browser.properties +++ b/browser/locales/en-US/chrome/browser/browser.properties @@ -1020,6 +1020,7 @@ confirmationHint.addSearchEngine.label = Search engine added! confirmationHint.pinTab.label = Pinned! confirmationHint.pinTab.description = Right-click the tab to unpin it. confirmationHint.passwordSaved.label = Password saved! +confirmationHint.breakageReport.label = Report sent. Thank you! # LOCALIZATION NOTE (livebookmarkMigration.title): # Used by the export of user's live bookmarks to an OPML file as a title for the file.