mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-08 02:24:41 +03:00
HTML object hlcache callback: Errorcode without box is OK.
This commit is contained in:
parent
4a014fecde
commit
2ad990f3d5
@ -125,7 +125,9 @@ html_object_callback(hlcache_handle *object,
|
||||
struct box *box;
|
||||
|
||||
box = o->box;
|
||||
if (box == NULL && event->type != CONTENT_MSG_ERROR) {
|
||||
if (box == NULL &&
|
||||
event->type != CONTENT_MSG_ERROR &&
|
||||
event->type != CONTENT_MSG_ERRORCODE) {
|
||||
return NSERROR_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user