diff --git a/toolkit/mozapps/downloads/content/downloads.js b/toolkit/mozapps/downloads/content/downloads.js index a4ee0e7dc808..05d1b72bf48c 100644 --- a/toolkit/mozapps/downloads/content/downloads.js +++ b/toolkit/mozapps/downloads/content/downloads.js @@ -504,15 +504,6 @@ let gDownloadObserver = { break; case "private-browsing": if (aData == "enter" || aData == "exit") { - // We need to reset the title here, because otherwise the title of - // the download manager would still reflect the progress of current - // active downloads, if any, after switchiung the private browsing - // mode, even though the downloads will no longer be accessible. - // If any download is auto-started after switching the private - // browsing mode, the title will be updated as needed by the progress - // listener. - document.title = document.documentElement.getAttribute("statictitle"); - // We might get this notification before the download manager // service, so the new database connection might not be ready // yet. Defer this until all private-browsing notifications diff --git a/toolkit/mozapps/downloads/tests/chrome/Makefile.in b/toolkit/mozapps/downloads/tests/chrome/Makefile.in index cf4431193740..0661b4468a78 100644 --- a/toolkit/mozapps/downloads/tests/chrome/Makefile.in +++ b/toolkit/mozapps/downloads/tests/chrome/Makefile.in @@ -62,7 +62,6 @@ _CHROME_FILES = \ test_search_keys.xul \ test_select_all.xul \ test_space_key_pauses_resumes.xul \ - test_privatebrowsing_title.xul \ test_ui_stays_open_on_alert_clickback.xul \ test_unkownContentType_dialog_layout.xul \ test_bug_412360.xul \ diff --git a/toolkit/mozapps/downloads/tests/chrome/test_privatebrowsing_title.xul b/toolkit/mozapps/downloads/tests/chrome/test_privatebrowsing_title.xul deleted file mode 100644 index dca24ce6a33b..000000000000 --- a/toolkit/mozapps/downloads/tests/chrome/test_privatebrowsing_title.xul +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - -

- -

-  
-