Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the JSOPTION_AUTOJSAPI_OWNS_ERROR_REPORTING constant. #127

Merged
merged 2 commits into from Dec 28, 2014
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Pass the responsibility for error reporting to the embedder.

  • Loading branch information
Ms2ger committed Dec 28, 2014
commit a665204f89a5ede1567b2f567349d51aa067950a
@@ -91,7 +91,9 @@ pub fn new_context(ptr: *mut JSContext, rt: rt) -> rc::Rc<Cx> {
impl Cx {
pub fn set_default_options_and_version(&self) {
self.set_options(JSOPTION_VAROBJFIX | JSOPTION_METHODJIT |
JSOPTION_TYPE_INFERENCE);
JSOPTION_TYPE_INFERENCE |
JSOPTION_DONT_REPORT_UNCAUGHT |
JSOPTION_AUTOJSAPI_OWNS_ERROR_REPORTING);
self.set_version(JSVERSION_LATEST);
}

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.