Bug 1444173 - Fix typoed bitwise and in bookmark validator r=kitcambridge
authorThom Chiovoloni <tchiovoloni@mozilla.com>
Thu, 08 Mar 2018 11:45:48 -0800
changeset 462395 261574ab684b4281123728e9ae6b6b662c8365d9
parent 462394 e985962fb76e28d45d80cd5695a64508438c8036
child 462396 e0ea25f431fba96bfef29a02ea8f6688f919ca89
push id1683
push usersfraser@mozilla.com
push dateThu, 26 Apr 2018 16:43:40 +0000
treeherdermozilla-release@5af6cb21869d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskitcambridge
bugs1444173
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1444173 - Fix typoed bitwise and in bookmark validator r=kitcambridge MozReview-Commit-ID: 6nRTbHl4AJw
services/sync/modules/bookmark_validator.js
--- 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 {