Bug 1460580 - Drop remaining references to the 'placesInternal/READ_ONLY' annotation. r=mak
authorMark Banner <standard8@mozilla.com>
Thu, 10 May 2018 13:53:58 +0100
changeset 417731 e270833ea4f86a1fea0076fb6007f8b7c865bfc8
parent 417730 10596e952c66a92d7d2ada24ebb589571e2c5f2b
child 417732 1fb6a87debfa0b498144406271c81e96fdc4270a
push id33978
push userdluca@mozilla.com
push dateThu, 10 May 2018 21:54:47 +0000
treeherdermozilla-central@d302824da0ea [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak
bugs1460580
milestone62.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 1460580 - Drop remaining references to the 'placesInternal/READ_ONLY' annotation. r=mak MozReview-Commit-ID: JlZFgKWEH4V
toolkit/components/places/PlacesUtils.jsm
toolkit/components/places/tests/unit/bookmarks.json
--- a/toolkit/components/places/PlacesUtils.jsm
+++ b/toolkit/components/places/PlacesUtils.jsm
@@ -319,17 +319,16 @@ var PlacesUtils = {
   TYPE_HTML: "text/html",
   // Place entries as raw URL text
   TYPE_UNICODE: "text/unicode",
   // Used to track the action that populated the clipboard.
   TYPE_X_MOZ_PLACE_ACTION: "text/x-moz-place-action",
 
   LMANNO_FEEDURI: "livemark/feedURI",
   LMANNO_SITEURI: "livemark/siteURI",
-  READ_ONLY_ANNO: "placesInternal/READ_ONLY",
   CHARSET_ANNO: "URIProperties/characterSet",
   // Deprecated: This is only used for supporting import from older datasets.
   MOBILE_ROOT_ANNO: "mobile/bookmarksRoot",
 
   TOPIC_SHUTDOWN: "places-shutdown",
   TOPIC_INIT_COMPLETE: "places-init-complete",
   TOPIC_DATABASE_LOCKED: "places-database-locked",
   TOPIC_EXPIRATION_FINISHED: "places-expiration-finished",
--- a/toolkit/components/places/tests/unit/bookmarks.json
+++ b/toolkit/components/places/tests/unit/bookmarks.json
@@ -197,24 +197,16 @@
           "title": "Latest Headlines",
           "id": 16,
           "parent": 3,
           "dateAdded": 1361551979451584,
           "lastModified": 1361551979457086,
           "livemark": 1,
           "annos": [
             {
-              "name": "placesInternal/READ_ONLY",
-              "flags": 0,
-              "expires": 4,
-              "mimeType": null,
-              "type": 1,
-              "value": 1
-            },
-            {
               "name": "livemark/feedURI",
               "flags": 0,
               "expires": 4,
               "mimeType": null,
               "type": 3,
               "value": "http://en-us.fxfeeds.mozilla.com/en-US/firefox/headlines.xml"
             },
             {