mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Fix for warning - undefined property document.charset (bug 253787). Patch by gautheri@noos.fr, r+sr=me, a=asa.
This commit is contained in:
parent
c308f7b421
commit
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
|
||||
|
Loading…
Reference in New Issue
Block a user