mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-22 01:14:15 +03:00
ensure default action fetcher is set to NULL
This commit is contained in:
parent
646aed64ff
commit
912b9de928
@ -378,6 +378,7 @@ html_create_html_data(html_content *c, const http_parameter *params)
|
||||
parse_params.msg = NULL;
|
||||
parse_params.script = html_process_script;
|
||||
parse_params.ctx = c;
|
||||
parse_params.daf = NULL;
|
||||
|
||||
error = dom_hubbub_parser_create(&parse_params,
|
||||
&c->parser,
|
||||
@ -495,6 +496,7 @@ html_process_encoding_change(struct content *c,
|
||||
parse_params.msg = NULL;
|
||||
parse_params.script = html_process_script;
|
||||
parse_params.ctx = html;
|
||||
parse_params.daf = NULL;
|
||||
|
||||
/* Create new binding, using the new encoding */
|
||||
error = dom_hubbub_parser_create(&parse_params,
|
||||
|
@ -343,6 +343,7 @@ nserror libdom_parse_file(const char *filename, const char *encoding, dom_docume
|
||||
parse_params.msg = ignore_dom_msg;
|
||||
parse_params.script = NULL;
|
||||
parse_params.ctx = NULL;
|
||||
parse_params.daf = NULL;
|
||||
|
||||
error = dom_hubbub_parser_create(&parse_params, &parser, &document);
|
||||
if (error != DOM_HUBBUB_OK) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user