mshtml/tests: Skip postMessage test on IE7.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8bcd54d7b5
commit
caa3c43272
|
@ -362,7 +362,12 @@ function test_xhr() {
|
|||
ok(typeof(xhr) === "object", "typeof(xhr) = " + typeof(xhr));
|
||||
}
|
||||
|
||||
function test_sendMessage() {
|
||||
function test_postMessage() {
|
||||
if(!("postMessage" in window)) {
|
||||
win_skip("postMessage not available");
|
||||
return;
|
||||
}
|
||||
|
||||
var onmessage_called = false;
|
||||
window.onmessage = function() {
|
||||
onmessage_called = true;
|
||||
|
@ -397,7 +402,7 @@ function runTests() {
|
|||
test_language_attribute();
|
||||
test_text_node();
|
||||
test_xhr();
|
||||
test_sendMessage();
|
||||
test_postMessage();
|
||||
|
||||
var r = window.execScript("globalVar = true;");
|
||||
ok(r === undefined, "execScript returned " + r);
|
||||
|
|
Loading…
Reference in New Issue