fix dom parser error return check

This commit is contained in:
Vincent Sanders 2012-07-31 12:49:41 +01:00
parent 4182685d1e
commit d763e57d30

View File

@ -483,7 +483,7 @@ exec_src_script(html_content *c,
switch (script_type) {
case HTML_SCRIPT_SYNC:
ret = DOM_HUBBUB_PAUSED;
ret = DOM_HUBBUB_HUBBUB_ERR | HUBBUB_PAUSED;
case HTML_SCRIPT_ASYNC:
break;