ensure default action fetcher is set to NULL

This commit is contained in:
Vincent Sanders 2012-12-06 19:33:25 +00:00
parent 646aed64ff
commit 912b9de928
2 changed files with 3 additions and 0 deletions

View File

@ -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,

View File

@ -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) {