mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
ensure completion of async js scripts completes the fetch
When the fetch of asynchronous javascript scripts completed the completion of html rendering was not processed leaving the state machine waiting forever.
This commit is contained in:
parent
33264e012b
commit
9ebdc7dd7a
@ -183,6 +183,13 @@ convert_script_async_cb(hlcache_handle *script,
|
||||
break;
|
||||
}
|
||||
|
||||
/* if there are no active fetches remaining begin post parse
|
||||
* conversion
|
||||
*/
|
||||
if (html_can_begin_conversion(parent)) {
|
||||
html_begin_conversion(parent);
|
||||
}
|
||||
|
||||
return NSERROR_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user