Bug 297799 - Javascript strict warning in browser.js. patch from Romain BEZUT <r.bezut@laposte.net>, r=mconnor, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@175709 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
93c85d816f
commit
936cf7c6fc
@ -1520,7 +1520,7 @@ function addBookmarkForTabBrowser(aTabBrowser, aSelect)
|
||||
var webNav = browsers[i].webNavigation;
|
||||
var url = webNav.currentURI.spec;
|
||||
var name = "";
|
||||
var charSet;
|
||||
var charSet, description;
|
||||
try {
|
||||
var doc = webNav.document;
|
||||
name = doc.title || url;
|
||||
@ -1548,6 +1548,7 @@ function addBookmarkForBrowser(aDocShell, aIsWebPanel)
|
||||
// may still be obtained from the webNavigation.
|
||||
var url = aDocShell.currentURI.spec;
|
||||
var title, charSet = null;
|
||||
var description;
|
||||
try {
|
||||
title = aDocShell.document.title || url;
|
||||
charSet = aDocShell.document.characterSet;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user