Merge pull request #25973 from KevinGrandon/bug_1095187_debug_download_intermittent_test

Bug 1095187 - Software Home Button - File Open Error Proper layout for file error dialog - Wait for download success +autoland
(cherry picked from commit c680e54411a729a2ed040432cec4247fa2a8b44d) a=test-only