avoid unnecessary string serializations when adding certificate error overrides
Categories
(Firefox :: Security, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: keeler, Assigned: keeler)
References
Details
Attachments
(2 files)
The way certificate error overrides are added involves serializing security information back and forth between processes. Currently, much of that information is first serialized to a string and then sent across IPC, which is inefficient and unnecessary.
Assignee | ||
Comment 1•2 years ago
|
||
Only the bytes of the failed certificate chain are used, so that's all we need
to send across, rather than the entire nsITransportSecurityInfo.
Assignee | ||
Comment 2•2 years ago
|
||
This avoids unnecessarily serializing the certificate to a string before
sending it over IPC.
Depends on D157007
Comment 3•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Security: PSM' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Assignee | ||
Updated•2 years ago
|
Pushed by dkeeler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/03f88676f2a2 avoid serializing nsITransportSecurityInfo in the certificate error page r=Gijs https://hg.mozilla.org/integration/autoland/rev/a6538d4b9ac5 use nsIX509Cert directly in IPC in AddCertException r=nika
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/03f88676f2a2
https://hg.mozilla.org/mozilla-central/rev/a6538d4b9ac5
Description
•