Bug 1444173 - Fix typoed bitwise and in bookmark validator r?kitcambridge
MozReview-Commit-ID: 6nRTbHl4AJw
--- a/services/sync/modules/bookmark_validator.js
+++ b/services/sync/modules/bookmark_validator.js
@@ -841,17 +841,17 @@ class BookmarkValidator {
let sl = server.tags ? [...server.tags].sort() : [];
if (!CommonUtils.arrayEqual(cl, sl)) {
differences.push("tags");
}
}
let sameType = client.type === server.type;
if (!sameType) {
- if (server.type === "query" && client.type === "bookmark" &
+ if (server.type === "query" && client.type === "bookmark" &&
client.bmkUri.startsWith(QUERY_PROTOCOL)) {
sameType = true;
}
}
if (!sameType) {
differences.push("type");
} else {