mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1065507, part 1 - Remove dead function xpc_qsGetterOnlyPropertyStub.
--HG-- extra : rebase_source : 6dbeb6dd2e69511682b5b3e8582104d06d13766d
This commit is contained in:
parent
4ce87c28cb
commit
6475fbdc4b
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user