Bug 822367 - With nsMixedContentBlocker.cpp, mixed content XHR calls are considered mixed active content and yield to a security state of STATE_IS_BROKEN. This fixes this mixed content todo-test to test that passes. r=bsmith

This commit is contained in:
Tanvi Vyas 2013-01-30 00:04:49 -08:00
Родитель 578f6d3c10
Коммит 8195c3a033
2 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -152,11 +152,6 @@ function todo(a, message)
postMsg("TODO: " + message);
}
function todoSecurityState(expectedState, message)
{
isSecurityState(expectedState, message, todo);
}
function isSecurityState(expectedState, message, test)
{
if (!test)

Просмотреть файл

@ -24,7 +24,7 @@
req.send(null);
// Change should be immediate, the request was sent synchronously
todoSecurityState("broken", "security broken after insecure XHR");
isSecurityState("broken", "security broken after insecure XHR");
}
catch (ex)
{