summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorbolms@chromium.org <bolms@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-30 21:42:13 +0000
committerbolms@chromium.org <bolms@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-30 21:42:13 +0000
commit74ff512f1db84e95f0a4a3e695a6fe5466bcdbeb (patch)
tree6f0f21b69e86579961aa098f73a09693bc17b279 /chrome/common
parentc3fea5f8118111c0263ea7a6404e64da121194d3 (diff)
downloadchromium_src-74ff512f1db84e95f0a4a3e695a6fe5466bcdbeb.zip
chromium_src-74ff512f1db84e95f0a4a3e695a6fe5466bcdbeb.tar.gz
chromium_src-74ff512f1db84e95f0a4a3e695a6fe5466bcdbeb.tar.bz2
Use correct error message when someone attempts to create a new child of the root bookmarks folder.
BUG=29190 TEST=chrome.bookmarks.create({parentId:"0", ...}) fails with the message "Can't modify the root bookmark folders." Review URL: http://codereview.chromium.org/6659020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79900 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/extensions/docs/bookmarks.html7
-rw-r--r--chrome/common/extensions/docs/static/bookmarks.html7
2 files changed, 10 insertions, 4 deletions
diff --git a/chrome/common/extensions/docs/bookmarks.html b/chrome/common/extensions/docs/bookmarks.html
index 71ff4c2..2937e60 100644
--- a/chrome/common/extensions/docs/bookmarks.html
+++ b/chrome/common/extensions/docs/bookmarks.html
@@ -391,8 +391,8 @@ For example:</p>
<p>
Bookmarks are organized in a tree,
where each node in the tree
-is either a bookmark or a group
-(a folder that can contain nodes).
+is either a bookmark or a folder
+(sometimes called a <em>group</em>).
Each node in the tree
is represented by a
<a href="#type-BookmarkTreeNode"><code>BookmarkTreeNode</code></a> object.
@@ -410,6 +410,9 @@ See <a href="#type-BookmarkTreeNode"><code>BookmarkTreeNode</code></a>
for information about the properties a node can have.
</p>
+<p class="note"><b>Note:</b> You cannot use this API to add or remove entries
+in the root folder. You also cannot rename, move, or remove the special
+"Bookmarks Bar" and "Other Bookmarks" folders.</p>
<h2 id="overview-examples">Examples</h2>
diff --git a/chrome/common/extensions/docs/static/bookmarks.html b/chrome/common/extensions/docs/static/bookmarks.html
index 04a4376..8e9ecd5 100644
--- a/chrome/common/extensions/docs/static/bookmarks.html
+++ b/chrome/common/extensions/docs/static/bookmarks.html
@@ -30,8 +30,8 @@ For example:</p>
<p>
Bookmarks are organized in a tree,
where each node in the tree
-is either a bookmark or a group
-(a folder that can contain nodes).
+is either a bookmark or a folder
+(sometimes called a <em>group</em>).
Each node in the tree
is represented by a
<a href="#type-BookmarkTreeNode"><code>BookmarkTreeNode</code></a> object.
@@ -49,6 +49,9 @@ See <a href="#type-BookmarkTreeNode"><code>BookmarkTreeNode</code></a>
for information about the properties a node can have.
</p>
+<p class="note"><b>Note:</b> You cannot use this API to add or remove entries
+in the root folder. You also cannot rename, move, or remove the special
+"Bookmarks Bar" and "Other Bookmarks" folders.</p>
<h2 id="overview-examples">Examples</h2>