mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Merge pull request #2932 from Ms2ger/fixme-347
Add pointers to the relevant issue for some bugs; r=jdm
This commit is contained in:
commit
9937b77dee
2 changed files with 2 additions and 1 deletions
|
@ -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(());
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue