Hi Jack, On Fri, May 15, 2009 at 2:05 PM, jack <[email protected]> wrote: > I have spent some time playing around the new release of Chrome, > especially building user preference system using the bookmarking and > script/extension communication aspects. I have to say it is not > reliable enough yet to build a real system.
Using the bookmark system for storage was just an idea for a quick hack, but I'm still interested in the bugs you found. > 1) Bookmarking: bookmarking system only works well for directly loaded > extension page (i.e., type or copy "chrome-extension://*/*.html" and > enter). If the extension page is loaded by hyperlink from other pages, > or by communication event (within onMessage), bookmarking is quite > unreliable. e.g., if the extension page contains some javascript > creating a bookmark item in onload(), by merely refreshing the page I > got different results randomly (sometime w/ the item created, sometime > in a different folder, sometime nothing at all). > > 2) chrome.bookmarks.search will not find any folder I'll try and make some test cases for these two bugs and replicate them. Thanks. > 3) Open the communication channel between the script and extension > makes the whole Chrome much more vulnerable to crashing. Hm, if you can come up with a test case for this, I'd appreciate it. Otherwise, we'll just keep an eye out for crashes related to the communication channel. > 4) Transfer large amount of data (say 2K bytes) via postMessage is > extremely slow (multiple sec.) I'll try and create a test case for this, too. > 5) Is the "hidden_pages" in json still working, or not yet, or not any > longer? Hidden page is good for the communication w/o exposing any UI > as toolstrip does, but it didn't work for me so far. It's not fully baked yet, but it will be "background_page". Thanks for the feedback, - a --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
