Backed out changeset 313e0c5a2081 (bug 406738) for failing browser-chrome's browser/components/preferences/in-content/tests/browser_advanced_update.js r=backout on a CLOSED TREE

This commit is contained in:
Csoregi Natalia 2017-12-01 19:39:50 +02:00
parent 0194a97476
commit 31c313504e
3 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,9 @@ updateNightlyName=%1$S %2$S %3$S nightly
intro_major=Do you want to upgrade to %1$S %2$S now?
intro_minor=A security and stability update for %1$S is available:
updateType_major=New Version
updateType_minor=Security Update
# LOCALIZATION NOTE: When present %S is brandShortName
verificationError=%S could not confirm the integrity of the update package.
resumePausedAfterCloseTitle=Software Update

View File

@ -38,6 +38,7 @@ var gUpdateHistory = {
this._view.appendChild(element);
element.name = bundle.getFormattedString("updateFullName",
[update.name, update.buildID]);
element.type = bundle.getString("updateType_" + update.type);
element.installDate = this._formatDate(update.installDate);
if (update.detailsURL)
element.detailsURL = update.detailsURL;

View File

@ -33,6 +33,7 @@
<xul:label xbl:inherits="href=detailsURL,hidden=hideDetailsURL" class="text-link"
value="&update.details.label;"/>
</xul:hbox>
<xul:label class="update-type" xbl:inherits="value=type"/>
<xul:grid>
<xul:columns>
<xul:column class="update-label-column"/>
@ -60,6 +61,9 @@
<property name="installDate"
onget="return this.getAttribute('installDate');"
onset="this.setAttribute('installDate', val); return val;"/>
<property name="type"
onget="return this.getAttribute('type');"
onset="this.setAttribute('type', val); return val;"/>
<property name="hideDetailsURL"
onget="return this.getAttribute('hideDetailsURL');"
onset="this.setAttribute('hideDetailsURL', val); return val;"/>