зеркало из 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.
|
||||
*/
|
||||
function runTests() {
|
||||
clearHistory();
|
||||
yield clearHistory();
|
||||
|
||||
// create a thumbnail
|
||||
yield addTab(URL);
|
||||
|
@ -72,7 +72,7 @@ function clearHistory(aUseRange) {
|
|||
|
||||
executeSoon(function () {
|
||||
if (PageThumbsStorage.getFileForURL(URL).exists())
|
||||
clearHistory(aFile, aUseRange);
|
||||
clearHistory(aUseRange);
|
||||
else
|
||||
next();
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче