Fix bug #57544. Add text/plain to the list of types that we support for the embedding widget. r=valeski sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82013 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
51ddcc8533
commit
233ab5406c
@ -491,6 +491,7 @@ NS_IMETHODIMP GtkMozEmbedChrome::IsPreferred(const char *aContentType, nsURILoad
|
||||
{
|
||||
PR_LOG(mozEmbedLm, PR_LOG_DEBUG, ("checking content type %s\n", aContentType));
|
||||
if (nsCRT::strcasecmp(aContentType, "text/html") == 0
|
||||
|| nsCRT::strcasecmp(aContentType, "text/plain") == 0
|
||||
|| nsCRT::strcasecmp(aContentType, "text/xul") == 0
|
||||
|| nsCRT::strcasecmp(aContentType, "text/rdf") == 0
|
||||
|| nsCRT::strcasecmp(aContentType, "text/xml") == 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user