зеркало из https://github.com/mozilla/gecko-dev.git
Bug 752409 - Intermittent browser/browser/components/thumbnails/test/browser_thumbnails_storage.js; r=dietrich
This commit is contained in:
Родитель
0530b3807b
Коммит
27678d855e
|
@ -18,7 +18,7 @@ XPCOMUtils.defineLazyGetter(this, "Sanitizer", function () {
|
||||||
* be removed when the user sanitizes their history.
|
* be removed when the user sanitizes their history.
|
||||||
*/
|
*/
|
||||||
function runTests() {
|
function runTests() {
|
||||||
clearHistory();
|
yield clearHistory();
|
||||||
|
|
||||||
// create a thumbnail
|
// create a thumbnail
|
||||||
yield addTab(URL);
|
yield addTab(URL);
|
||||||
|
@ -72,7 +72,7 @@ function clearHistory(aUseRange) {
|
||||||
|
|
||||||
executeSoon(function () {
|
executeSoon(function () {
|
||||||
if (PageThumbsStorage.getFileForURL(URL).exists())
|
if (PageThumbsStorage.getFileForURL(URL).exists())
|
||||||
clearHistory(aFile, aUseRange);
|
clearHistory(aUseRange);
|
||||||
else
|
else
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
|
|
Загрузка…
Ссылка в новой задаче