Handle the now ordinary error prototype object in stack

This commit is contained in:
janekptacijarabaci 2018-03-17 16:58:26 +01:00 • committed by Roy Tam
commit 4fad420bb8
3 changed files with 48 additions and 31 deletions

View file

@ -106,6 +106,7 @@ class ErrorObject : public NativeObject
// Getter and setter for the Error.prototype.stack accessor.
static bool getStack(JSContext* cx, unsigned argc, Value* vp);
static bool getStack_impl(JSContext* cx, const CallArgs& args);
static bool setStack(JSContext* cx, unsigned argc, Value* vp);
static bool setStack_impl(JSContext* cx, const CallArgs& args);
};