mshtml/tests: Allow error when loading an image in events.html.
Fixes tests on win8. Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6c7db4ba5e
commit
8979458f45
|
@ -323,6 +323,10 @@ img.onload = function() {
|
||||||
trace("img.onload");
|
trace("img.onload");
|
||||||
img_onload_called = true;
|
img_onload_called = true;
|
||||||
}
|
}
|
||||||
|
img.onerror = function() {
|
||||||
|
trace("img.onerror");
|
||||||
|
img_onload_called = true;
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in New Issue