mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1065507, part 4 - Remove js_GetterOnlyPropertyStub.
--HG-- extra : rebase_source : daa17eaccddce4bcb510d2bd83799396d564728a
This commit is contained in:
parent
bf1f882acd
commit
dd1e0a71ca
@ -156,10 +156,6 @@ JS_CloneObject(JSContext *cx, JS::HandleObject obj, JS::HandleObject proto,
|
||||
extern JS_FRIEND_API(JSString *)
|
||||
JS_BasicObjectToString(JSContext *cx, JS::HandleObject obj);
|
||||
|
||||
extern JS_FRIEND_API(bool)
|
||||
js_GetterOnlyPropertyStub(JSContext *cx, JS::HandleObject obj, JS::HandleId id, bool strict,
|
||||
JS::MutableHandleValue vp);
|
||||
|
||||
JS_FRIEND_API(void)
|
||||
js_ReportOverRecursed(JSContext *maybecx);
|
||||
|
||||
|
@ -6152,14 +6152,6 @@ js_ReportGetterOnlyAssignment(JSContext *cx, bool strict)
|
||||
JSMSG_GETTER_ONLY);
|
||||
}
|
||||
|
||||
JS_FRIEND_API(bool)
|
||||
js_GetterOnlyPropertyStub(JSContext *cx, HandleObject obj, HandleId id, bool strict,
|
||||
MutableHandleValue vp)
|
||||
{
|
||||
JS_ReportErrorNumber(cx, js_GetErrorMessage, nullptr, JSMSG_GETTER_ONLY);
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user