зеркало из https://github.com/mozilla/gecko-dev.git
Bug 264102 Chrome should use document.title instead of window.title - xpfe fixes
p=me r/sr=neil.parkwaycc.co.uk
This commit is contained in:
Родитель
e75f78361a
Коммит
68d8703e8e
|
@ -89,7 +89,7 @@ function filepickerLoad() {
|
|||
const filterTypes = o.filters.types;
|
||||
const numFilters = filterTitles.length;
|
||||
|
||||
window.title = title;
|
||||
document.title = title;
|
||||
|
||||
if (initialText) {
|
||||
textInput.value = initialText;
|
||||
|
|
|
@ -474,7 +474,7 @@
|
|||
newTitle += this.ownerDocument.documentElement.getAttribute("titlemenuseparator");
|
||||
}
|
||||
newTitle += this.ownerDocument.documentElement.getAttribute("titlemodifier");
|
||||
window.title = newTitle;
|
||||
this.ownerDocument.title = newTitle;
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
|
|
@ -98,8 +98,8 @@ function setLabelForNode(aNode, aLabel, aIsLabelFlag)
|
|||
|
||||
function commonDialogOnLoad()
|
||||
{
|
||||
// set the window title
|
||||
window.title = gCommonDialogParam.GetString(12);
|
||||
// set the document title
|
||||
document.title = gCommonDialogParam.GetString(12);
|
||||
|
||||
// set the number of command buttons
|
||||
var nButtons = gCommonDialogParam.GetInt(2);
|
||||
|
|
|
@ -75,11 +75,10 @@ function selectDialogOnLoad() {
|
|||
}
|
||||
}
|
||||
|
||||
var windowTitle = param.GetString( 0 );
|
||||
window.title = windowTitle;
|
||||
document.title = param.GetString( 0 );
|
||||
|
||||
list = document.getElementById("list");
|
||||
numItems = param.GetInt( 2 )
|
||||
numItems = param.GetInt( 2 );
|
||||
|
||||
var i;
|
||||
for ( i = 2; i <= numItems+1; i++ ) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче