summaryrefslogtreecommitdiff
path: root/content/handlers/html/html.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2020-02-21 14:26:33 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2020-02-21 14:26:33 +0000
commitfa520638fa0d3bed48171b78655639a0baf0a962 (patch)
tree15952f81997d1a1422677ca7691c27472e6bd168 /content/handlers/html/html.c
parent2f8868309af93a15131e3564320760c432f6daae (diff)
downloadnetsurf-fa520638fa0d3bed48171b78655639a0baf0a962.tar.gz
netsurf-fa520638fa0d3bed48171b78655639a0baf0a962.tar.bz2
HTML: Ignore LOADING status in html_proceed_to_done()
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'content/handlers/html/html.c')
-rw-r--r--content/handlers/html/html.c4
1 files changed, 3 insertions, 1 deletions
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;