Closed Bug 1576501 Opened 5 years ago Closed 5 years ago

NS_ERROR_FAILURE in [nsIURI.host] when typing new password into about:logins

Categories

(Firefox :: about:logins, defect, P3)

defect

Tracking

()

VERIFIED FIXED
Firefox 71
Tracking Status
firefox69 --- disabled
firefox70 --- wontfix
firefox71 --- verified

People

(Reporter: t-mozbugs, Assigned: jaws, Mentored)

References

(Depends on 1 open bug)

Details

(Whiteboard: [passwords:management] [skyline] [lang=js])

Attachments

(6 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

  1. in Nightly 70 (2019-08-25, fresh profile) go to about:logins
  2. open Browser Console
  3. click "Create New Login"
  4. type into password field

Actual results:

for each keypress (or when holding down, for each keydown and -up; or when focussing the browser window), these two messages get printed in the browser console

LoginHelper: Couldn't parse origin for about:logins <unavailable> LoginHelper.jsm:261:11
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host] LoginAutoCompleteResult.jsm:427

Expected results:

no errors and warnings should appear in the browser console.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Password Manager
Product: Firefox → Toolkit

This is harmless but was supposed to be addressed by other bugs already. It would be nice to have.

To fix this bug one can reproduce the problem and see what line is giving the error in the Browser Console / Debugger. Then you can apply a fix like bug 1550171 did to disable login autocomplete on about: pages.

Blocks: 1550171
Mentor: MattN+bmo
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [passwords:management] [skyline] [lang=js]
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Component: Password Manager → about:logins
Product: Toolkit → Firefox
Version: 70 Branch → unspecified
Pushed by jwein@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/141521590579 Fail mochitest-browser about:logins tests if they write to the console unexpectedly. r=MattN https://hg.mozilla.org/integration/autoland/rev/430ef52e684e Don't search for login autocomplete results on about: pages. r=MattN https://hg.mozilla.org/integration/autoland/rev/b81e421ad52a Form fields in about: pages should not get login-related information. r=MattN https://hg.mozilla.org/integration/autoland/rev/38ba8548f2ea Ignore error messages from browser-sync. r=MattN https://hg.mozilla.org/integration/autoland/rev/9642f41ccc42 Ignore expected error messages for duplicate logins. r=MattN https://hg.mozilla.org/integration/autoland/rev/3d6215462836 Ignore error when loading the Migration Wizard in automation. r=MattN

I have verified this issue on the latest Nightly 71.0a1 (Build ID: 20191009213914) on Windows 10 x64, Mac 10.14, Ubuntu 16 x64.

  • The ‘LoginHelper: Couldn't parse origin for about:logins <unavailable> LoginHelper.jsm:261:11’ warning message and the ‘NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host] LoginAutoCompleteResult.jsm:427’ error message are not displayed anymore on the browser console when typing a new password on the “about:logins” page.
Status: RESOLVED → VERIFIED
Depends on: 1587237
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: