diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-04-17 22:43:44 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-04-17 22:43:44 +0100 |
commit | 084861a31b885c52d87ea0a3d99ebe42af27a713 (patch) | |
tree | 09b73150ff5dac515b53001b7867881be12639f5 /content/handlers/html/html_internal.h | |
parent | 529b94be73a1ba080a72f620c8d1165da02bc66b (diff) | |
download | netsurf-084861a31b885c52d87ea0a3d99ebe42af27a713.tar.gz netsurf-084861a31b885c52d87ea0a3d99ebe42af27a713.tar.bz2 |
Implement javascript scheme url script https://wiki.whatwg.org/wiki/URL_schemes
Diffstat (limited to 'content/handlers/html/html_internal.h')
-rw-r--r-- | content/handlers/html/html_internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 * |