зеркало из https://github.com/mozilla/pjs.git
Bug#368532 --> inline table editing controls aren't being displayed because the content policy is blocking resource urls. sr=bienvenu
This commit is contained in:
Родитель
40e2fd46a8
Коммит
a79d5a42c1
|
@ -290,11 +290,11 @@ nsMsgContentPolicy::ShouldLoad(PRUint32 aContentType,
|
|||
contentScheme.LowerCaseEqualsLiteral("about"))
|
||||
isExposedProtocol = PR_TRUE;
|
||||
#endif
|
||||
|
||||
rv = aContentLocation->SchemeIs("chrome", &isChrome);
|
||||
NS_ENSURE_SUCCESS(rv, NS_OK);
|
||||
|
||||
if (isExposedProtocol || isChrome)
|
||||
rv = aContentLocation->SchemeIs("chrome", &isChrome);
|
||||
rv |= aContentLocation->SchemeIs("resource", &isRes);
|
||||
|
||||
if (isExposedProtocol || (NS_SUCCEEDED(rv) && (isChrome || isRes)))
|
||||
{
|
||||
*aDecision = nsIContentPolicy::ACCEPT;
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче