fix history range

This commit is contained in:
Shin'ya Ueoka 2017-09-18 00:00:57 +09:00
parent bf8470e131
commit 43cf68b65b

View file

@ -50,7 +50,7 @@ const reduceByOrigin = (items, min) => {
const getCompletions = (keyword) => { const getCompletions = (keyword) => {
return browser.history.search({ return browser.history.search({
text: keyword, text: keyword,
startTime: '1970-01-01' startTime: 0,
}).then((historyItems) => { }).then((historyItems) => {
return [historyItems.map(item => [item, new URL(item.url)])] return [historyItems.map(item => [item, new URL(item.url)])]
.map(filterEmptyTitle) .map(filterEmptyTitle)