mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Bug 264102 Chrome should use document.title instead of window.title - various fixes (inspector,pki)
p=gandalf@firefox.pl r/sr=neil.parkwaycc.co.uk
This commit is contained in:
parent
9cdd9d76e9
commit
e0d86fa9f6
@ -262,7 +262,7 @@ InspectorApp.prototype =
|
||||
var idx = this.getSelectedSearchIndex();
|
||||
var el = this.mCurrentSearch.viewItemAt(idx);
|
||||
|
||||
aWindow.title = this.mCurrentSearch.getItemDescription(idx);
|
||||
aWindow.document.title = this.mCurrentSearch.getItemDescription(idx);
|
||||
aWindow.document.getElementById("bxCenter").appendChild(el);
|
||||
},
|
||||
|
||||
|
@ -51,8 +51,7 @@ function onLoad()
|
||||
pkiParams = window.arguments[0].QueryInterface(nsIPKIParamBlock);
|
||||
dialogParams = pkiParams.QueryInterface(nsIDialogParamBlock);
|
||||
|
||||
var title = dialogParams.GetString(2);
|
||||
window.title = title;
|
||||
document.title = dialogParams.GetString(2);
|
||||
var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");
|
||||
var message1 = dialogParams.GetString(1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user