Closed Bug 413546 Opened 17 years ago Closed 17 years ago

JavaScript Error: "l.usernameField is null

Categories

(Toolkit :: Password Manager, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 413314

People

(Reporter: cbook, Unassigned)

References

()

Details

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2008012105 Firefox/3.0b3pre Steps to reproduce: -> Installed Facebook Toolbar https://addons.mozilla.org/en-US/firefox/addon/3794 and this error happen everytime when i want to login into facebook with this toolbar (click on login to Facebook Button in the upper right) -> Choose "not now" when you are asked to save the password (this looks a little like the old password manager dialog) -> Close the Login Window - JS error * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "l.usernameField is null" {file: "file:///debug/mozilla/firefox-debug/dist/FirefoxDebug.app/Contents/MacOS/components/storage-Legacy.js" line: 484}]' when calling method: [nsILoginManagerStorage::addLogin]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///debug/mozilla/firefox-debug/dist/FirefoxDebug.app/Contents/MacOS/components/nsLoginManager.js :: anonymous :: line 364" data: yes]
I recall doron mentioning a problem like this one on IRC - are the addLogin validity checks to strict?
Flags: blocking-firefox3?
What changed is that when calling nsILoginInfo::init(), aUsernameField and aPasswordField can no longer be set to null, which used to work on trunk. All docs on MDC state null should work, so this is in theory a regression. I emailed dolske about this last week as well.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Flags: blocking-firefox3?
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.