Our current plan is to not implement synchronous versions of alert, confirm or prompt for extensions, but instead to implement asynchronous versions. In the multi-process, multi-tab world of Chrome, synchronous APIs generally cause more problems than they're worth.
For extensions, given how much of the APIs are already asynchronous, my advice is to go with the flow and not try to fight it. :-) Callbacks and closures are your friends. Erik On Sun, Jun 14, 2009 at 9:59 AM, disya2 <[email protected]> wrote: > > Hi, > > It seems that alert(), confirm(), prompt() still missing in extension > scripts. Is there any workaround? I'd like to have a modal dialog, > i.e. dialog which would pause extension script execution until dialog > is closed. Maybe some option in window.open()? > > > Thanks, > Denis > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Discussion mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-discuss -~----------~----~----~----~------~----~------~--~---
