зеркало из https://github.com/mozilla/gecko-dev.git
Fix for warning - undefined property document.charset (bug 253787). Patch by gautheri@noos.fr, r+sr=me, a=asa.
This commit is contained in:
Родитель
c308f7b421
Коммит
e4061125e3
|
@ -602,7 +602,7 @@ nsContextMenu.prototype = {
|
|||
var docshell = document.getElementById( "content" ).webNavigation;
|
||||
BookmarksUtils.addBookmark( docshell.currentURI.spec,
|
||||
docshell.document.title,
|
||||
docshell.document.charset,
|
||||
docshell.document.characterSet,
|
||||
false );
|
||||
},
|
||||
addBookmarkForFrame : function() {
|
||||
|
@ -613,7 +613,7 @@ nsContextMenu.prototype = {
|
|||
title = uri;
|
||||
BookmarksUtils.addBookmark( uri,
|
||||
title,
|
||||
doc.charset,
|
||||
doc.characterSet,
|
||||
false );
|
||||
},
|
||||
// Open Metadata window for node
|
||||
|
|
Загрузка…
Ссылка в новой задаче