From fa520638fa0d3bed48171b78655639a0baf0a962 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 21 Feb 2020 14:26:33 +0000 Subject: HTML: Ignore LOADING status in html_proceed_to_done() Signed-off-by: Daniel Silverstone --- content/handlers/html/html.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'content') diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c index c7a9afebd..d9fe904c0 100644 --- a/content/handlers/html/html.c +++ b/content/handlers/html/html.c @@ -285,9 +285,11 @@ html_proceed_to_done(html_content *html) } break; case CONTENT_STATUS_DONE: + /* fallthrough */ + case CONTENT_STATUS_LOADING: return NSERROR_OK; default: - NSLOG(netsurf, ERROR, "Content status unexpectedly not READY/DONE"); + NSLOG(netsurf, ERROR, "Content status unexpectedly not LOADING/READY/DONE"); break; } return NSERROR_UNKNOWN; -- cgit v1.2.3