mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1166853 - Sync "hangs" when trying to apply a livemark to a reconciled folder. r=rnewman
This commit is contained in:
parent
94406565e7
commit
37616243f9
@ -771,7 +771,10 @@ BookmarksStore.prototype = {
|
|||||||
guid: record.id};
|
guid: record.id};
|
||||||
PlacesUtils.livemarks.addLivemark(livemarkObj).then(
|
PlacesUtils.livemarks.addLivemark(livemarkObj).then(
|
||||||
aLivemark => { spinningCb(null, [Components.results.NS_OK, aLivemark]) },
|
aLivemark => { spinningCb(null, [Components.results.NS_OK, aLivemark]) },
|
||||||
() => { spinningCb(null, [Components.results.NS_ERROR_UNEXPECTED, aLivemark]) }
|
ex => {
|
||||||
|
this._log.error("creating livemark failed: " + ex);
|
||||||
|
spinningCb(null, [Components.results.NS_ERROR_UNEXPECTED, null])
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
let [status, livemark] = spinningCb.wait();
|
let [status, livemark] = spinningCb.wait();
|
||||||
|
Loading…
Reference in New Issue
Block a user