Bug 1031000 - Fix problem with TabSource Prompt. r=blassey

This commit is contained in:
Randall Barker 2014-06-26 14:21:00 +02:00
parent 6244beef17
commit 59d2b741db

View File

@ -40,10 +40,10 @@ TabSource.prototype = {
let label;
if (tab.browser.contentTitle)
label = tab.browser.contentTitle;
else if (tab.browser.contentURI && tab.browser.contentURI.spec)
else if (tab.browser.contentURI)
label = tab.browser.contentURI.spec;
else
label = tab.originalURI;
label = tab.originalURI.spec;
return { label: label,
icon: "thumbnail:" + tab.id }
}));