зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1196102 - Clean up unused Heartbeat UITour arguments and indentation. r=bgrins
--HG-- extra : commitid : ybSbStxpg9 extra : rebase_source : 882cf62a33e645d55d1080de2debeca9decaae0d
This commit is contained in:
Родитель
59e6183cef
Коммит
7be0da2ef5
|
@ -99,7 +99,7 @@ if (typeof Mozilla == 'undefined') {
|
|||
};
|
||||
|
||||
Mozilla.UITour.showHeartbeat = function(message, thankyouMessage, flowId, engagementURL,
|
||||
learnMoreLabel, learnMoreURL) {
|
||||
learnMoreLabel, learnMoreURL) {
|
||||
_sendEvent('showHeartbeat', {
|
||||
message: message,
|
||||
thankyouMessage: thankyouMessage,
|
||||
|
|
|
@ -475,7 +475,7 @@ this.UITour = {
|
|||
}
|
||||
|
||||
// Finally show the Heartbeat UI.
|
||||
this.showHeartbeat(window, messageManager, data);
|
||||
this.showHeartbeat(window, data);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1111,8 +1111,6 @@ this.UITour = {
|
|||
*
|
||||
* @param aChromeWindow
|
||||
* The chrome window that the heartbeat notification is displayed in.
|
||||
* @param aMessageManager
|
||||
* The message manager to communicate with the API caller.
|
||||
* @param {Object} aOptions Options object.
|
||||
* @param {String} aOptions.message
|
||||
* The message, or question, to display on the notification.
|
||||
|
@ -1130,7 +1128,7 @@ this.UITour = {
|
|||
* The learn more URL to open when clicking on the learn more link. No learn more
|
||||
* will be shown if this is an invalid URL.
|
||||
*/
|
||||
showHeartbeat: function(aChromeWindow, aMessageManager, aOptions) {
|
||||
showHeartbeat(aChromeWindow, aOptions) {
|
||||
let nb = aChromeWindow.document.getElementById("high-priority-global-notificationbox");
|
||||
|
||||
// Create the notification. Prefix its ID to decrease the chances of collisions.
|
||||
|
|
Загрузка…
Ссылка в новой задаче