Bug 1605737, remove XUL cached type r=bzbarsky

Differential Revision: https://phabricator.services.mozilla.com/D58140
This commit is contained in:
Emma Malysz
2019-12-23 17:10:15 +00:00
parent 85cd463eff
commit ba7491424c
6 changed files with 1 additions and 7 deletions

View File

@@ -427,7 +427,6 @@ 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(APPLICATION_CACHED_XUL) ||
contentType.EqualsLiteral(TEXT_XUL));
mIsPlainText =
!html && !xhtml && nsContentUtils::IsPlainTextType(contentType);