Bug 1130447 - Hide the password manager timeLastUsed column by default. r=MattN

MozReview-Commit-ID: LxKnIfBhtQh

--HG--
extra : rebase_source : edbb41cc39c29523c65e00f21dc632a0aa2116a7
This commit is contained in:
Fischer.json 2016-09-20 15:45:15 +08:00
parent 069e307afb
commit eeb751d411
2 changed files with 5 additions and 3 deletions

View File

@ -14,6 +14,7 @@
onload="Startup();"
onunload="Shutdown();"
title="&savedLogins.title;"
style="width: 45em;"
persist="width height screenX screenY">
<script type="application/javascript" src="chrome://passwordmgr/content/passwordManager.js"/>
@ -90,7 +91,8 @@
hidden="true"/>
<splitter class="tree-splitter"/>
<treecol id="timeLastUsedCol" label="&treehead.timeLastUsed.label;" flex="20"
data-field-name="timeLastUsed" persist="width hidden"/>
data-field-name="timeLastUsed" persist="width hidden"
hidden="true"/>
<splitter class="tree-splitter"/>
<treecol id="timePasswordChangedCol" label="&treehead.timePasswordChanged.label;" flex="10"
data-field-name="timePasswordChanged" persist="width hidden"/>

View File

@ -41,8 +41,8 @@ function test() {
let timeLastUsedCol = doc.getElementById("timeLastUsedCol");
is(timeLastUsedCol.getAttribute("hidden"), "",
"Last Used column is displayed");
is(timeLastUsedCol.getAttribute("hidden"), "true",
"Last Used column is not displayed");
let timePasswordChangedCol = doc.getElementById("timePasswordChangedCol");
is(timePasswordChangedCol.getAttribute("hidden"), "",