mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
10e0c198af
commit
8ecfda5905
@ -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)
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user