зеркало из https://github.com/mozilla/gecko-dev.git
Bug 567074 - Incorrect information in 'Your tabs form last time' in about:home [r=mbrubeck]
This commit is contained in:
Родитель
1f4573dd33
Коммит
c7f993e35f
|
@ -156,11 +156,11 @@
|
||||||
|
|
||||||
let chromeWin = getChromeWin();
|
let chromeWin = getChromeWin();
|
||||||
let allPageURLs = [];
|
let allPageURLs = [];
|
||||||
|
|
||||||
|
let list = document.getElementById("recentTabs");
|
||||||
|
|
||||||
let tabs = data.windows[0].tabs;
|
let tabs = data.windows[0].tabs;
|
||||||
let count = Math.min(5, tabs.length);
|
for (let i=0; i<tabs.length; i++) {
|
||||||
let list = document.getElementById("recentTabs");
|
|
||||||
for (let i=0; i<count; i++) {
|
|
||||||
let url = tabs[i].url;
|
let url = tabs[i].url;
|
||||||
if (url.indexOf("about:") == 0)
|
if (url.indexOf("about:") == 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче