On Wed, May 20, 2009 at 2:54 PM, Aaron Boodman <[email protected]> wrote:
> > On Tue, May 19, 2009 at 11:35 AM, jack <[email protected]> wrote: > > Sorry for this late response. I was piled up in the past days. I did > > some additional trials. It's quite random and it is hard to get unique > > results. But let's handle it one by one. I am attaching a sample > > toolstrip.html file. For a clean test make sure your bookmark list is > > empty. > > > > When the page is loaded it will check the existence of a folder and > > create it (together w/ an item) if needed. In my test, the item will > > never be created in the folder. It will be either created in the > > bookmark bar, or under the root folder, or not at all. > > > > You can also click on the icon in the toolstrip to manually check the > > folder. In this case, I got correct result in one machine, but random > > (as aforementioned) in another machine (note this another machine is > > using a different language version). > > > > Also, a folder is never found by chrome.bookmarks.search(). It is easy > > for you to test it so I didn't include it in the html file. > > Hi Jack, I can repro this. The problem is a race at startup. If you > delay calling the APIs awhile, it would work correctly. > > I've created a bug for this, if you're interested: > http://code.google.com/p/chromium/issues/detail?id=12353 > > As for searching for bookmark folders, I'm not sure we want to add it. > If it wasn't for this weird use case of using the bookmark system as > storage, I don't know if anybody would ever need that. > > Hopefully real storage appears soon, and we can use that instead. I'm currently doing some refactoring work on the WebKit LocalStorage implementation so that it can fit into Chromium's multi-processs model. It's hard to say exactly how long it'll take, but I'm definitely working on it. :-) I think Dumi's pretty far along on Databases as well. --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
