Skip to content
Snippets Groups Projects
Commit c9d20151 authored by rswindell's avatar rswindell
Browse files

Report terminated scripts as a JavaScript warning rather than error.

parent 10eec1b2
No related branches found
No related tags found
No related merge requests found
......@@ -214,7 +214,7 @@ js_CommonBranchCallback(JSContext *cx, js_branch_t* branch)
/* Terminated? */
if(branch->auto_terminate &&
(branch->terminated!=NULL && *branch->terminated)) {
JS_ReportError(cx,"Terminated");
JS_ReportWarning(cx,"Terminated");
branch->counter=0;
return(JS_FALSE);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment