mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1058797 - Intermittent test_303567.xul | Result logged after SimpleTest.finish(). r=mak
This commit is contained in:
parent
5948c9b60b
commit
e2529803f2
@ -68,6 +68,7 @@ function runTest()
|
||||
}
|
||||
|
||||
waitForLivemarkLoad(aLivemark, function (aLivemark) {
|
||||
aLivemarkData.loaded = true;
|
||||
let nodes = aLivemark.getNodesForContainer({});
|
||||
is(nodes.length, aLivemarkData.urls.length,
|
||||
"Ensure all the livemark items were created.");
|
||||
@ -78,9 +79,8 @@ function runTest()
|
||||
|
||||
PlacesUtils.bookmarks.removeItem(aLivemark.id);
|
||||
|
||||
if (aLivemark.feedURI.equals(LIVEMARKS[LIVEMARKS.length - 1].feedURI)) {
|
||||
if (LIVEMARKS.every(lm => lm.loaded))
|
||||
SimpleTest.finish();
|
||||
}
|
||||
});
|
||||
}, function () {
|
||||
is(true, false, "Should not fail adding a livemark");
|
||||
|
Loading…
Reference in New Issue
Block a user