Bug 1362461 - Use real URL instead of about:support and about:downloads. rs=bustage-fix

This commit is contained in:
Jorg K 2017-05-08 07:23:47 +02:00
Родитель 3425557a86
Коммит 9e69b002f4
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -62,7 +62,7 @@ const ABOUT_SUPPORT_ERROR_STRINGS = new Map([[ "text/html",["undefined", "null"]
*/
function open_about_support() {
let tab = open_content_tab_with_click(mc.menus.helpMenu.aboutsupport_open,
"about:support");
"chrome://messenger/content/about-support/aboutSupport.xhtml");
// We have one variable that's asynchronously populated -- wait for it to be
// populated.
mc.waitFor(() => (tab.browser.contentWindow.gAccountDetails !== undefined),

Просмотреть файл

@ -123,7 +123,7 @@ function open_about_downloads() {
mc.waitFor(() => mc.tabmail.tabContainer.childNodes.length == preCount + 1,
"Timeout waiting for about:downloads tab");
wait_for_browser_load(newTab.browser, "about:downloads");
wait_for_browser_load(newTab.browser, "chrome://messenger/content/downloads/aboutDownloads.xul");
// We append new tabs at the end, so check the last one.
let expectedNewTab = mc.tabmail.tabInfo[preCount];
return expectedNewTab;