diff --git a/browser/base/content/test/general/browser_bug676619.js b/browser/base/content/test/general/browser_bug676619.js index 890d6c20b6c10..cab141751592a 100644 --- a/browser/base/content/test/general/browser_bug676619.js +++ b/browser/base/content/test/general/browser_bug676619.js @@ -54,6 +54,7 @@ async function testLink(link, name) { await BrowserTestUtils.closeWindow(win); } + async function testLocation(link, url) { let tabPromise = BrowserTestUtils.waitForNewTab(gBrowser); @@ -78,11 +79,12 @@ async function runTest(url) { await testLink("link4", "with-target.txt"); await testLink("link5", "javascript.txt"); await testLink("link6", "test.blob"); - await testLocation("link7", "http://example.com/"); + await testLink("link7", "test.file"); await testLink("link8", "download_page_3.txt"); await testLink("link9", "download_page_3.txt"); await testLink("link10", "download_page_4.txt"); await testLink("link11", "download_page_4.txt"); + await testLocation("link12", "http://example.com/"); BrowserTestUtils.removeTab(tab); } diff --git a/browser/base/content/test/general/download_page.html b/browser/base/content/test/general/download_page.html index 464697bb36201..b486633fb18db 100644 --- a/browser/base/content/test/general/download_page.html +++ b/browser/base/content/test/general/download_page.html @@ -21,6 +21,8 @@ download="with-target.txt" id="link4">Download "with-target.txt"