New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 717828 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocked on: View detail
issue 543822
issue 717827



Sign in to add a comment

Re-generate chrome.bookmarkManagerPrivate externs

Project Member Reported by michae...@chromium.org, May 3 2017

Issue description

The externs for chrome.bookmarkManagerPrivate[1] were generated 3 years ago, and edited by hand since then. We should be generating these with json_schema_compiler. Otherwise, we have to make manual changes any time the API changes (and we don't always do that, or do it correctly, because we're human).

Blockers:

* Issue 543822 will crop up in the generated externs, since this API references chrome.bookmarks. We could manually replace chrome.bookmarkManagerPrivate.bookmarks with chrome.bookmarks until that issue is resolved, using bluetooth_private.js as an example. (It's a little trickier since chrome.bookmarkManagerPrivate.bookmarks.BookmarkTreeNode will have to be replaced with only BookmarkTreeNode.[2])

* Issue 717827 also occurs, and could also be resolved manually.

* The compiler and the externs generator have changed over the years. A couple (literally two) compiler errors in bookmark_manager JS will need to be fixed, as well as an error in bookmark_manager_private.json, but that's WAI as far as compiling is concerned!


[1] https://cs.chromium.org/chromium/src/third_party/closure_compiler/externs/bookmark_manager_private.js?type=cs&sq=package:chromium
[2] bookmark_manager also uses the externs at chrome_extensions.js, which come from the closure compiler itself. We should instead generate the externs we need, especially for the chrome.bookmarks API (e.g., generate bookmarks.js). Again, we'll have to update our code to conform to the new externs.
 
Blockedon: -717827
Blockedon: 717827
Project Member

Comment 3 by sheriffbot@chromium.org, May 4 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment