Closed Bug 341418 Opened 18 years ago Closed 9 years ago

JS error in password.js called from nsNSSDialogs::GetPassword

Categories

(Core Graveyard :: Security: UI, defect, P1)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME
mozilla1.9alpha1

People

(Reporter: chpe, Unassigned)

References

()

Details

(Whiteboard: [kerh-bra])

How to reproduce:
Call the default implementation of nsITokenPasswordDialogs (in nsNSSDialogs) ::GetPassword with "Software Security Device" as token name.

Result:
JavaScript error: chrome://pippki/content/password.js, line 95: sel has no properties

 94     var sel = document.getElementById("tokenMenu");
 95     sel.setAttribute("hidden", "true");

And the XUL file [http://lxr.mozilla.org/mozilla/source/security/manager/pki/resources/content/getpassword.xul] has no element named "tokenMenu".
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P1
Whiteboard: [kerh-bra]
Target Milestone: --- → mozilla1.9alpha
QA Contact: ui
reassign bug owner.
mass-update-kaie-20120918
Assignee: kaie → nobody
In password.js, only onLoad() and onMenuChange() do |document.getElementById("tokenMenu")|.

Post Bug 1130413, the only thing that still calls onLoad() and onMenuChange() is changepassword.xul, which does have an element named "tokenMenu".
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 1130413
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.