Open Bug 1506473 Opened 7 years ago Updated 1 year ago

Cleanup JS_Utf8BufferIsCompilableUnit

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: tcampbell, Unassigned)

References

(Blocks 1 open bug)

Details

JS_Utf8BufferIsCompilableUnit exists for making interactive shells but its interface is pretty inconsistent with how we normally make JSAPI functions. - Remove |obj| argument. Other parse functions don't require passing the global - Add an |incomplete| out param to signal incomplete parse - Use return value to indicate if there is an exception pending - Maybe rename, but I'm not sure to what.
Depends on: 1506475
Severity: normal → S3
Assignee: tcampbell → nobody
You need to log in before you can comment on or make changes to this bug.