Beginnings of a unit test for downloads that occur in a new window.
For now this works for IE regularly (no cf in the picture) and triggers a download in a new window.
It is disabled since support for this scenario is not yet ready in CF.
I'm adding a couple of things to WebBrowserEventSink:
- A way to gracefully close IE. This way we allow IE to quit on its own and don't go the "kill" route unless necessary.
This should help with reducing cases where we've killed IE and the next time it is started it presents the user with an "IE crashed" dialog which could cause subsequent unit tests to fail.
Another thing this adds is support for the OnQuit event that can be useful to add to unit tests as an expected event.
- A new OnFileDownload event. I also updated several tests to expect this event.
TEST=Adds a unit test.
BUG=none
Review URL: http://codereview.chromium.org/569011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39190 0039d316-1c4b-4281-b951-d872f2087c98
6 files changed