From 5046a3f40008e64094cf136f12e335243613e223 Mon Sep 17 00:00:00 2001 From: Rob Wu Date: Tue, 5 Jun 2018 15:06:07 +0200 Subject: [PATCH] fix: Remove non-existing bookmarks.{export,import} These APIs are not supported by Firefox: https://searchfox.org/mozilla-central/rev/292d295d6b084b43b70de26a42e68513bb7b36a3/browser/components/extensions/schemas/bookmarks.json#436-465 In Chrome the APIs are not available either, except to some internal components: https://chromium.googlesource.com/chromium/src/+/b7963dca6a9903ab439c89d102463b0268c5997e/chrome/common/extensions/api/_api_features.json#138 Also moved "getTree" to ensure that the keys are alphabetically sorted. --- api-metadata.json | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/api-metadata.json b/api-metadata.json index 174c143..b259c22 100644 --- a/api-metadata.json +++ b/api-metadata.json @@ -22,10 +22,6 @@ "minArgs": 1, "maxArgs": 1 }, - "export": { - "minArgs": 0, - "maxArgs": 0 - }, "get": { "minArgs": 1, "maxArgs": 1 @@ -38,15 +34,11 @@ "minArgs": 1, "maxArgs": 1 }, - "getTree": { - "minArgs": 0, - "maxArgs": 0 - }, "getSubTree": { "minArgs": 1, "maxArgs": 1 }, - "import": { + "getTree": { "minArgs": 0, "maxArgs": 0 },