Bug 1455306 - Add "mobile" bookmark folder to TPS for testing device sync; r?tcsc draft
authorDave Hunt <dhunt@mozilla.com>
Thu, 19 Apr 2018 14:33:38 +0100
changeset 785049 35cf2ea68bcfbc852e48fafcaeda6cbf3e4db6a0
parent 784946 8ed49dd81059dfdd876cf62ad5def1cfa56ffbbf
push id107106
push userbmo:dave.hunt@gmail.com
push dateThu, 19 Apr 2018 13:34:44 +0000
reviewerstcsc
bugs1455306
milestone61.0a1
Bug 1455306 - Add "mobile" bookmark folder to TPS for testing device sync; r?tcsc MozReview-Commit-ID: 9HxZL3uHsgD
services/sync/tps/extensions/tps/resource/modules/bookmarks.jsm
--- a/services/sync/tps/extensions/tps/resource/modules/bookmarks.jsm
+++ b/services/sync/tps/extensions/tps/resource/modules/bookmarks.jsm
@@ -75,16 +75,17 @@ function PlacesItem(props) {
 PlacesItem.prototype = {
   // an array of possible root folders for places items
   _bookmarkFolders: {
     "places": PlacesUtils.bookmarks.rootGuid,
     "menu": PlacesUtils.bookmarks.menuGuid,
     "tags": PlacesUtils.bookmarks.tagsGuid,
     "unfiled": PlacesUtils.bookmarks.unfiledGuid,
     "toolbar": PlacesUtils.bookmarks.toolbarGuid,
+    "mobile": PlacesUtils.bookmarks.mobileGuid,
   },
 
   _typeMap: new Map([
     [PlacesUtils.TYPE_X_MOZ_PLACE_CONTAINER, PlacesUtils.bookmarks.TYPE_FOLDER],
     [PlacesUtils.TYPE_X_MOZ_PLACE_SEPARATOR, PlacesUtils.bookmarks.TYPE_SEPARATOR],
     [PlacesUtils.TYPE_X_MOZ_PLACE, PlacesUtils.bookmarks.TYPE_BOOKMARK],
   ]),