diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-05 20:56:07 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-05 20:56:07 +0100 |
commit | 170dc5d52419450edc440c054a94135c1cc1296a (patch) | |
tree | 0943167d6fa71716bd1cd8936b94cfd02fe10e5c /content/handlers/html | |
parent | bfb1bb119241d85bb9b400881328496e12a39aed (diff) | |
download | netsurf-170dc5d52419450edc440c054a94135c1cc1296a.tar.gz netsurf-170dc5d52419450edc440c054a94135c1cc1296a.tar.bz2 |
Excise the llcache query pathway.
In further preparation for the auth and cert queries being handled
as special contents from `about:` this excises the query pathway
from the llcache pretty much entirely.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'content/handlers/html')
-rw-r--r-- | content/handlers/html/html_css.c | 10 | ||||
-rw-r--r-- | content/handlers/html/html_object.c | 10 | ||||
-rw-r--r-- | content/handlers/html/html_script.c | 30 |
3 files changed, 0 insertions, 50 deletions
diff --git a/content/handlers/html/html_css.c b/content/handlers/html/html_css.c index 37a70fa70..eb80c0e71 100644 --- a/content/handlers/html/html_css.c +++ b/content/handlers/html/html_css.c @@ -129,16 +129,6 @@ html_convert_css_callback(hlcache_handle *css, /* Really don't want this to continue after the switch */ return NSERROR_OK; - case CONTENT_MSG_QUERY: - /** \todo QUERY - Decide what is right here */ - /* For now, the only safe decision is to cancel the fetch */ - event->data.query_msg->cb(false, event->data.query_msg->cb_pw); - return NSERROR_OK; - - case CONTENT_MSG_QUERY_FINISHED: - /** \todo QUERY - Decide what is right here */ - return NSERROR_OK; - default: break; } diff --git a/content/handlers/html/html_object.c b/content/handlers/html/html_object.c index dc8524499..acd32565b 100644 --- a/content/handlers/html/html_object.c +++ b/content/handlers/html/html_object.c @@ -451,16 +451,6 @@ html_object_callback(hlcache_handle *object, } break; - case CONTENT_MSG_QUERY: - /** \todo QUERY - Decide what is right here */ - /* For now, the only safe decision is to cancel the fetch */ - event->data.query_msg->cb(false, event->data.query_msg->cb_pw); - return NSERROR_OK; - - case CONTENT_MSG_QUERY_FINISHED: - /** \todo QUERY - Decide what is right here */ - return NSERROR_OK; - default: break; } diff --git a/content/handlers/html/html_script.c b/content/handlers/html/html_script.c index 6e037251c..f7131e2a2 100644 --- a/content/handlers/html/html_script.c +++ b/content/handlers/html/html_script.c @@ -193,16 +193,6 @@ convert_script_async_cb(hlcache_handle *script, break; - case CONTENT_MSG_QUERY: - /** \todo QUERY - Decide what is right here */ - /* For now, the only safe decision is to cancel the fetch */ - event->data.query_msg->cb(false, event->data.query_msg->cb_pw); - return NSERROR_OK; - - case CONTENT_MSG_QUERY_FINISHED: - /** \todo QUERY - Decide what is right here */ - return NSERROR_OK; - default: break; } @@ -267,16 +257,6 @@ convert_script_defer_cb(hlcache_handle *script, break; - case CONTENT_MSG_QUERY: - /** \todo QUERY - Decide what is right here */ - /* For now, the only safe decision is to cancel the fetch */ - event->data.query_msg->cb(false, event->data.query_msg->cb_pw); - return NSERROR_OK; - - case CONTENT_MSG_QUERY_FINISHED: - /** \todo QUERY - Decide what is right here */ - return NSERROR_OK; - default: break; } @@ -367,16 +347,6 @@ convert_script_sync_cb(hlcache_handle *script, break; - case CONTENT_MSG_QUERY: - /** \todo QUERY - Decide what is right here */ - /* For now, the only safe decision is to cancel the fetch */ - event->data.query_msg->cb(false, event->data.query_msg->cb_pw); - return NSERROR_OK; - - case CONTENT_MSG_QUERY_FINISHED: - /** \todo QUERY - Decide what is right here */ - return NSERROR_OK; - default: break; } |