Closed
Bug 1577252
Opened 5 years ago
Closed 5 years ago
Exceptions in browser.js when editing prefs in about:config
Categories
(Toolkit :: Password Manager, defect, P2)
Toolkit
Password Manager
Tracking
()
VERIFIED
FIXED
mozilla70
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | unaffected |
firefox69 | --- | unaffected |
firefox70 | --- | verified |
People
(Reporter: bzbarsky, Assigned: jaws)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
STEPS TO REPRODUCE:
- Load about:config
- Click through the warning
- Type "foo.bar" in the about:config search field
- Click the "Add" button to try to add the pref
EXPECTED RESULTS: No exceptions
ACTUAL RESULTS:
JavaScript error: chrome://browser/content/content.js, line 46: TypeError: nodePrincipal.URI is null
ADDITIONAL INFORMATION: Looking at that URL locally, line 46 is:
return nodePrincipal.isNullPrincipal || nodePrincipal.URI.schemeIs("about");
in the shouldIgnoreLoginManagerEvent
function. This is the code that was added in bug 1550171, as far as I can tell. In this case nodePrincipal
is a system principal, so there is no URI and the function throws an exception.
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Priority: -- → P2
Pushed by jwein@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cfdec1350f2e Ignore login manager events in system principal code. r=MattN
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Comment 4•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
status-firefox69:
--- → unaffected
status-firefox-esr60:
--- → unaffected
status-firefox-esr68:
--- → unaffected
Updated•5 years ago
|
Flags: qe-verify+
Comment 5•5 years ago
|
||
In an attempt to verify the fix, I am unable to reproduce the issue.
Is there any extra pref or additional steps missing for it?
Flags: needinfo?(jaws)
Reporter | ||
Comment 6•5 years ago
|
||
Did you have the console open?
Comment 7•5 years ago
|
||
Right, saw the error message while the browser console was open. (nightly build from 2019-08-28).
Fix verified with 71.0a1 (2019-10-13) , 70.0b14.
Assignee | ||
Updated•4 years ago
|
Flags: needinfo?(jaws)
Updated•2 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•