Updates:
        Summary: chrome.bookmarks API events not fired when no bookmark api  
functions called first
        Labels: -OS-Linux OS-All

Comment #4 on issue 28136 by [email protected]: chrome.bookmarks API  
events not fired when no bookmark api functions called first
http://code.google.com/p/chromium/issues/detail?id=28136

The problem is the BookmarkModel observer is only registered when you call  
a bookmark
api function, not when you register your event listener.  As a workaround  
for now you
can add an extra call to any one of the other bookmark api functions.  For  
example if
you add the following it should work:

chrome.bookmarks.search("foobar", function(results) { })


I'm looking into the proper fix so that calling addListener is all that  
will be
necessary.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to