Closed
Bug 1263765
Opened 10 years ago
Closed 8 years ago
remove the nsIBadCertListener2 implementation in exceptionDialog.js to avoid spamming of "Error: 2147500034 exceptionDialog.js"
Categories
(Core :: Security: PSM, defect, P1)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla59
| Tracking | Status | |
|---|---|---|
| firefox59 | --- | fixed |
People
(Reporter: keeler, Assigned: keeler)
References
Details
(Whiteboard: [psm-assigned])
Attachments
(2 files)
The nsIBadCertListener2 implementation in exceptionDialog.js is unnecessary and causes some debug when necko tries to QI it to nsILoadContext. We can just replace it with an onerror handler on the XHR.
Comment 1•9 years ago
|
||
I'm assuming this is the same issue. I've ran into the following error several times via the browser console:
Error: 2147500034 exceptionDialog.js:32:11
badCertListener.prototype.QueryInterfacechrome://pippki/content/exceptionDialog.js:32:11
badCertListener.prototype.getInterfacechrome://pippki/content/exceptionDialog.js:23:12
checkCertchrome://pippki/content/exceptionDialog.js:110:43
anonymouschrome://global/content/bindings/dialog.xml%20line%20380%20%3E%20Function:1:1
_fireButtonEventchrome://global/content/bindings/dialog.xml:381:28
_doButtonCommandchrome://global/content/bindings/dialog.xml:349:28
_handleButtonCommandchrome://global/content/bindings/dialog.xml:337:18
BrowserOnClick.onCertErrorchrome://browser/content/browser.js:2890:9
BrowserOnClick.receiveMessagechrome://browser/content/browser.js:2794:9
STR:
* open https://untrusted-root.badssl.com/
* open the browser console
* click on Advanced -> Add Exception
* Once you receive the exceptionDialog, click on "Get Certificate" and you'll several of the above errors
Build Used:
* fx51.0a1, buildId: 20160810030202, changeset: 6cf0089510fa
Updated•9 years ago
|
Priority: -- → P3
Summary: remove the nsIBadCertListener2 implementation in exceptionDialog.js → remove the nsIBadCertListener2 implementation in exceptionDialog.js to avoid spamming of "Error: 2147500034 exceptionDialog.js"
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → dkeeler
Priority: P3 → P1
Whiteboard: [psm-cleanup] → [psm-assigned]
| Comment hidden (mozreview-request) |
Comment 4•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8942008 [details]
bug 1263765 - remove nsIBadCertListener2 implementation from the add certificate exception dialog
https://reviewboard.mozilla.org/r/212210/#review218314
\ /
|
/o\
Attachment #8942008 -
Flags: review?(jjones) → review+
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 6•8 years ago
|
||
Had to add some docstrings to make eslint happy, but otherwise looks good:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6bd7f826050c
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5a3295fda7fe2c5fa5053b867bf6008e265d2602
Pushed by dkeeler@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d5dd45fa551c
remove nsIBadCertListener2 implementation from the add certificate exception dialog r=jcj
Comment 8•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•7 years ago
|
status-firefox48:
affected → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•