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
parent 10e0c198af
commit 8ecfda5905
2 changed files with 1 additions and 6 deletions

View File

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

View File

@ -24,7 +24,7 @@
req.send(null); req.send(null);
// Change should be immediate, the request was sent synchronously // 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) catch (ex)
{ {