Bug 1455306 - Add "mobile" bookmark folder to TPS for testing device sync; r=tcsc
authorDave Hunt <dhunt@mozilla.com>
Thu, 19 Apr 2018 14:33:38 +0100
changeset 468186 c313d03ea48ac4f5996582914da1748620e6fb16
parent 468185 83921643241a46c747f33c84db6d6d7126835636
child 468187 a8a951f488d297e7f3d5c7ac846496e4b9868062
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstcsc
bugs1455306
milestone61.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 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],
   ]),