Merge pull request #2932 from Ms2ger/fixme-347

Add pointers to the relevant issue for some bugs; r=jdm
This commit is contained in:
Manish Goregaokar 2014-07-26 22:54:12 +05:30
commit 9937b77dee
2 changed files with 2 additions and 1 deletions

View file

@ -103,6 +103,7 @@ impl CallbackInterface {
if !callable.is_object() || if !callable.is_object() ||
JS_ObjectIsCallable(cx, callable.to_object()) == 0 { JS_ObjectIsCallable(cx, callable.to_object()) == 0 {
// FIXME(#347)
//ThrowErrorMessage(cx, MSG_NOT_CALLABLE, description.get()); //ThrowErrorMessage(cx, MSG_NOT_CALLABLE, description.get());
return Err(()); return Err(());
} }

View file

@ -405,7 +405,7 @@ fn CreateInterfacePrototypeObject(cx: *mut JSContext, global: *mut JSObject,
/// A throwing constructor, for those interfaces that have neither /// A throwing constructor, for those interfaces that have neither
/// `NoInterfaceObject` nor `Constructor`. /// `NoInterfaceObject` nor `Constructor`.
pub extern fn ThrowingConstructor(_cx: *mut JSContext, _argc: c_uint, _vp: *mut JSVal) -> JSBool { pub extern fn ThrowingConstructor(_cx: *mut JSContext, _argc: c_uint, _vp: *mut JSVal) -> JSBool {
//XXX should trigger exception here // FIXME(#347) should trigger exception here
return 0; return 0;
} }