зеркало из https://github.com/mozilla/pjs.git
Bug 467997 - browser_sanitize-timespans.js random failure when crossing midnight.
r=sdwilsh a=tests-only
This commit is contained in:
Родитель
74f42b3e2c
Коммит
7aff5a2fde
|
@ -283,7 +283,7 @@ function setupHistory() {
|
||||||
let today = new Date();
|
let today = new Date();
|
||||||
today.setHours(0);
|
today.setHours(0);
|
||||||
today.setMinutes(0);
|
today.setMinutes(0);
|
||||||
today.setSeconds(30);
|
today.setSeconds(1);
|
||||||
bhist.addPageWithDetails(makeURI("http://today.com/"), "Today", today.valueOf() * 1000);
|
bhist.addPageWithDetails(makeURI("http://today.com/"), "Today", today.valueOf() * 1000);
|
||||||
|
|
||||||
let lastYear = new Date();
|
let lastYear = new Date();
|
||||||
|
@ -526,7 +526,7 @@ function setupDownloads() {
|
||||||
let today = new Date();
|
let today = new Date();
|
||||||
today.setHours(0);
|
today.setHours(0);
|
||||||
today.setMinutes(0);
|
today.setMinutes(0);
|
||||||
today.setSeconds(30);
|
today.setSeconds(1);
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
id: "5555554",
|
id: "5555554",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче