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; let label;
if (tab.browser.contentTitle) if (tab.browser.contentTitle)
label = 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; label = tab.browser.contentURI.spec;
else else
label = tab.originalURI; label = tab.originalURI.spec;
return { label: label, return { label: label,
icon: "thumbnail:" + tab.id } icon: "thumbnail:" + tab.id }
})); }));