Backed out changeset 714e6e7b8eef (bug 789550) for causing failures in browser_default_audio_filename.js CLOSED TREE

This commit is contained in:
Noemi Erli
2021-04-21 01:17:20 +03:00
parent 5f402dca54
commit 9f3821cda5
6 changed files with 9 additions and 127 deletions

View File

@@ -1053,8 +1053,7 @@ function getDefaultFileName(
// This is something like a data: and so forth URI... no filename here.
}
// Don't use the title if it's from a data URI
if (docTitle && aURI?.scheme != "data") {
if (docTitle) {
// 4) Use the document title
return docTitle;
}