Fix pyauto downloads tests to trigger dangerous downloads to match expectation
It used to be possible to navigate to a dnagerous file type to trigger its download. Not anymore. Now all downloads where the user initiated it (by navigating to a URL or clicking on a link) are not marked unsafe even for unsafe filetypes. Update the tests to trigger dangerous downloads by navigating to a file which in turn triggers the dangerous files to download. BUG=66081, 57875 Review URL: http://codereview.chromium.org/5781006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69093 0039d316-1c4b-4281-b951-d872f2087c98
Showing
- chrome/test/data/downloads/dangerous/download-dangerous.html 19 additions, 0 deletionschrome/test/data/downloads/dangerous/download-dangerous.html
- chrome/test/functional/PYAUTO_TESTS 0 additions, 14 deletionschrome/test/functional/PYAUTO_TESTS
- chrome/test/functional/downloads.py 32 additions, 9 deletionschrome/test/functional/downloads.py
Please register or sign in to comment