From 084861a31b885c52d87ea0a3d99ebe42af27a713 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 17 Apr 2020 22:43:44 +0100 Subject: Implement javascript scheme url script https://wiki.whatwg.org/wiki/URL_schemes --- content/handlers/html/html_internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'content/handlers/html/html_internal.h') diff --git a/content/handlers/html/html_internal.h b/content/handlers/html/html_internal.h index 7340bd25c..d9810177b 100644 --- a/content/handlers/html/html_internal.h +++ b/content/handlers/html/html_internal.h @@ -300,6 +300,9 @@ bool html_redraw_inline_borders(struct box *box, struct rect b, /* in html/html_script.c */ dom_hubbub_error html_process_script(void *ctx, dom_node *node); +/* in html/html.c */ +bool html_exec(struct content *c, const char *src, size_t srclen); + /** * Attempt script execution for defer and async scripts * -- cgit v1.2.3