Closed Bug 1555438 Opened 5 months ago Closed 4 months ago

Expose attributes from nsISiteSecurityService and failedCertChain info to content for about:certerror use

Categories

(Firefox :: Security, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
Firefox 69
Tracking Status
firefox69 --- fixed

People

(Reporter: prathiksha, Assigned: prathiksha)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

We need certificate security info for use in aboutNetError.js to handle interactions with advancedButton and copyToClipboard button in unprivileged content. This is in line with our plan to remove NetErrorChild.jsm and use RPM for message exchanges between unprivileged content(aboutNetError.js) and the parent process if needed.

This bug removes the getDetailedCertErrorInfo[0] function from browser.js. This bug also eliminates the need for communication with the parent process, by aboutNetError.js, in order to display about:certerror to the user.

[0] https://searchfox.org/mozilla-central/rev/7556a400affa9eb99e522d2d17c40689fa23a729/browser/base/content/browser.js#3508

Depends on D33062

Attachment #9068491 - Attachment description: Bug 1555438 - Remove getDetailedCertErrorInfo from NetErrorChild.jsm. r?johannh → Bug 1555438 - Remove getDetailedCertErrorInfo from NetErrorChild.jsm. r?flod
Keywords: checkin-needed
Keywords: checkin-needed
Attachment #9068488 - Attachment description: Bug 1555438 - Add support for getIntPref in RPM. r?johannh → Bug 1555438 - Add support for getIntPref in RPM.
Attachment #9068489 - Attachment description: Bug 1555438 - Add support to get appBuildID in RPM. r?johannh → Bug 1555438 - Add support to get appBuildID in RPM.
Attachment #9068490 - Attachment description: Bug 1555438 - Expose attributes from nsISiteSecurityService and failedCertChain info to content for about:certerror use. r?baku,johannh → Bug 1555438 - Expose attributes from nsISiteSecurityService and failedCertChain info to content for about:certerror use. r?baku
Pushed by prathikshaprasadsuman@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/58cfdd2965ba
Add support for getIntPref in RPM. r=johannh
https://hg.mozilla.org/integration/autoland/rev/967f87a35045
Add support to get appBuildID in RPM. r=johannh
https://hg.mozilla.org/integration/autoland/rev/665058a3a942
Expose attributes from nsISiteSecurityService and failedCertChain info to content for about:certerror use. r=baku
https://hg.mozilla.org/integration/autoland/rev/f6365199f75e
Remove getDetailedCertErrorInfo from NetErrorChild.jsm. r=johannh,fluent-reviewers,flod
Regressions: 1562349
Regressions: 1568492
You need to log in before you can comment on or make changes to this bug.