See the ClickAppModalDialogButton automation IPC message (implementation is in chrome/browser/automation_provider.cc). I don't see any specifically testing just that message, and I don't see any in-process browser tests covering javascript alerts. Creating chrome/browser/app_modal_dialog_unittest.cc might be a good place to start start.
-- Evan Stade @ chromium On Sun, Jan 3, 2010 at 11:28 PM, n179911 <[email protected]> wrote: > Hi, > > Is there any Unit test in chromium which test javascript alert? > Does it have automated test case which automatically clicks the pop up > dialog cased by javascript alert? > > Thank you. > > -- > Chromium Developers mailing list: [email protected] > View archives, change email options, or unsubscribe: > http://groups.google.com/group/chromium-dev > -- Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
