Bug 1601110, remove handling and references to vnd.mozilla.xul+xml r=bzbarsky

Differential Revision: https://phabricator.services.mozilla.com/D57567
This commit is contained in:
Emma Malysz
2019-12-23 23:02:05 +00:00
parent 957ad31f04
commit 82d2389e71
10 changed files with 4 additions and 14 deletions

View File

@@ -426,8 +426,7 @@ nsresult nsHTMLDocument::StartDocumentLoad(const char* aCommand,
bool html = contentType.EqualsLiteral(TEXT_HTML);
bool xhtml = !html && (contentType.EqualsLiteral(APPLICATION_XHTML_XML) ||
contentType.EqualsLiteral(APPLICATION_WAPXHTML_XML) ||
contentType.EqualsLiteral(TEXT_XUL));
contentType.EqualsLiteral(APPLICATION_WAPXHTML_XML));
mIsPlainText =
!html && !xhtml && nsContentUtils::IsPlainTextType(contentType);
if (!(html || xhtml || mIsPlainText || viewSource)) {