Bug 1296761 - Handle serverside places root in sync bookmark validator better r=markh

MozReview-Commit-ID: JzNWFCLSMcZ

--HG--
extra : rebase_source : 3eb2c303494b9ee36e73aaca96f8a55b26e73126
This commit is contained in:
Thom Chiovoloni 2016-08-19 17:49:19 -04:00
parent 36648bb360
commit 8fcd1dab90

View File

@ -321,7 +321,7 @@ class BookmarkValidator {
}
record.parent = parent;
if (parent !== root) {
if (parent !== root || problemData.rootOnServer) {
let childIndex = parent.children.indexOf(id);
if (childIndex < 0) {
problemData.parentChildMismatches.push({parent: parent.id, child: record.id});