From c2f9bcac19d53eff2e01152c190d3727b224660c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 6 May 2020 22:54:52 +0100 Subject: remove junk content_add_error api --- content/handlers/html/css.c | 1 - content/handlers/html/object.c | 1 - content/handlers/html/script.c | 3 --- 3 files changed, 5 deletions(-) (limited to 'content/handlers') diff --git a/content/handlers/html/css.c b/content/handlers/html/css.c index 575898134..d7c9b3c41 100644 --- a/content/handlers/html/css.c +++ b/content/handlers/html/css.c @@ -127,7 +127,6 @@ html_convert_css_callback(hlcache_handle *css, s->sheet = NULL; parent->base.active--; NSLOG(netsurf, INFO, "%d fetches active", parent->base.active); - content_add_error(&parent->base, "?", 0); break; case CONTENT_MSG_POINTER: diff --git a/content/handlers/html/object.c b/content/handlers/html/object.c index 36726f1c5..e6edf840d 100644 --- a/content/handlers/html/object.c +++ b/content/handlers/html/object.c @@ -229,7 +229,6 @@ html_object_callback(hlcache_handle *object, c->base.active--; NSLOG(netsurf, INFO, "%d fetches active", c->base.active); - content_add_error(&c->base, "?", 0); html_object_failed(box, c, o->background); break; diff --git a/content/handlers/html/script.c b/content/handlers/html/script.c index 99275c0e9..faab08ba6 100644 --- a/content/handlers/html/script.c +++ b/content/handlers/html/script.c @@ -195,7 +195,6 @@ convert_script_async_cb(hlcache_handle *script, s->data.handle = NULL; parent->base.active--; NSLOG(netsurf, INFO, "%d fetches active", parent->base.active); - content_add_error(&parent->base, "?", 0); break; @@ -259,7 +258,6 @@ convert_script_defer_cb(hlcache_handle *script, s->data.handle = NULL; parent->base.active--; NSLOG(netsurf, INFO, "%d fetches active", parent->base.active); - content_add_error(&parent->base, "?", 0); break; @@ -348,7 +346,6 @@ convert_script_sync_cb(hlcache_handle *script, parent->base.active--; NSLOG(netsurf, INFO, "%d fetches active", parent->base.active); - content_add_error(&parent->base, "?", 0); s->already_started = true; -- cgit v1.2.3