Bug 1065507, part 1 - Remove dead function xpc_qsGetterOnlyPropertyStub.

--HG--
extra : rebase_source : 6dbeb6dd2e69511682b5b3e8582104d06d13766d
This commit is contained in:
Jason Orendorff 2014-09-10 12:51:09 -05:00
parent 4ce87c28cb
commit 6475fbdc4b
2 changed files with 0 additions and 15 deletions

View File

@ -387,17 +387,6 @@ xpc_qsThrowBadSetterValue(JSContext *cx, nsresult rv, JSObject *obj,
xpc_qsThrowBadSetterValue(cx, rv, obj, xpc_qsStringTable + name_index);
}
bool
xpc_qsGetterOnlyPropertyStub(JSContext *cx, HandleObject obj, HandleId id, bool strict,
MutableHandleValue vp)
{
return JS_ReportErrorFlagsAndNumber(cx,
JSREPORT_WARNING | JSREPORT_STRICT |
JSREPORT_STRICT_MODE_ERROR,
js_GetErrorMessage, nullptr,
JSMSG_GETTER_ONLY);
}
bool
xpc_qsGetterOnlyNativeStub(JSContext *cx, unsigned argc, jsval *vp)
{

View File

@ -124,10 +124,6 @@ xpc_qsThrowBadSetterValue(JSContext *cx, nsresult rv, JSObject *obj,
uint16_t name_index);
bool
xpc_qsGetterOnlyPropertyStub(JSContext *cx, JS::HandleObject obj, JS::HandleId id,
bool strict, JS::MutableHandleValue vp);
bool
xpc_qsGetterOnlyNativeStub(JSContext *cx, unsigned argc, jsval *vp);