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:
Jacek Caban 2021-03-26 16:33:08 +01:00 committed by Alexandre Julliard
parent 6c7db4ba5e
commit 8979458f45
1 changed files with 4 additions and 0 deletions

View File

@ -323,6 +323,10 @@ img.onload = function() {
trace("img.onload");
img_onload_called = true;
}
img.onerror = function() {
trace("img.onerror");
img_onload_called = true;
}
</script>
</head>
<body>