firefox - Firefox 的 SSL 错误的源文件

标签 firefox ssl

在 Linux Firefox 中,如果有任何与 SSL/TLS 相关的错误,它会引用哪个源文件来生成错误代码和弹出窗口(或错误页面)?

最佳答案

目前还不清楚您到底在寻找什么,因为这背后的实现分散在许多源文件中,但我会告诉您如何开始。

Mozilla 有 MXR,可以用来快速搜索他们的代码。因此,我们采用您感兴趣的页面上可见元素的标题,例如“我了解风险”按钮并搜索:http://mxr.mozilla.org/mozilla-central/search?string=I%20understand%20the%20risks .您找到了唯一的命中,它定义了字符串,您需要再次搜索以找到该字符串的实际使用位置:http://mxr.mozilla.org/mozilla-central/search?string=certerror.expert.heading .

这让我们到达 http://mxr.mozilla.org/mozilla-central/source/browser/components/certerror/content/aboutCertError.xhtml这属于“Firefox SSL 错误的源文件”定义,但可能不是您旅程的终点​​:)

关于firefox - Firefox 的 SSL 错误的源文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1666129/

相关文章:

debugging - 如何使用 Chromebug 调试 Firefox 扩展?

firefox - @font-face 问题,Firefox 添加了 padding,Chrome 没有

JavaScript 错误 : catChildNotes[y]. setAttribute 不是函数

android - 4.1 及以上设备的 SSL 错误

javascript - 为什么开发firefox插件时出现错误信息 "SyntaxError: let is a reserved identifier require.js:52:2"?

python - 通过 geckodriver 的 Selenium Firefox webdriver 导致错误 : Failed to start browser: entity not found

python - SSL 上的 MITM 代理卡在客户端的 wrap_socket 上

apache - 没有 SSL 证书设置的虚拟主机重定向到其他使用 SSL 的虚拟主机

apache - 将所有 HTTP 请求(非 www 和 www,子域)重定向到 HTTPS

ssl - 在 SSL 连接中禁用弱密码