diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2017-08-24 10:34:22 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-12 10:12:53 +0100 |
commit | c43c8f17629f2dde26f91d69f241fa7bd2165dab (patch) | |
tree | 864ca7027308ba80a30f46e085f7f1f26f51cb3f /dom/workers/Workers.h | |
parent | ea44e60b7ed5f674b6de65fad669ac43a45438cc (diff) | |
download | UXP-c43c8f17629f2dde26f91d69f241fa7bd2165dab.tar UXP-c43c8f17629f2dde26f91d69f241fa7bd2165dab.tar.gz UXP-c43c8f17629f2dde26f91d69f241fa7bd2165dab.tar.lz UXP-c43c8f17629f2dde26f91d69f241fa7bd2165dab.tar.xz UXP-c43c8f17629f2dde26f91d69f241fa7bd2165dab.zip |
JS - Object - "TypeError: setting a property that has only a getter" without mentioning file and property name
Diffstat (limited to 'dom/workers/Workers.h')
-rw-r--r-- | dom/workers/Workers.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/dom/workers/Workers.h b/dom/workers/Workers.h index ad083d3b8..cd15a4d7c 100644 --- a/dom/workers/Workers.h +++ b/dom/workers/Workers.h @@ -362,14 +362,6 @@ IsDebuggerGlobal(JSObject* global); bool IsDebuggerSandbox(JSObject* object); -// Throws the JSMSG_GETTER_ONLY exception. This shouldn't be used going -// forward -- getter-only properties should just use JS_PSG for the setter -// (implying no setter at all), which will not throw when set in non-strict -// code but will in strict code. Old code should use this only for temporary -// compatibility reasons. -extern bool -GetterOnlyJSNative(JSContext* aCx, unsigned aArgc, JS::Value* aVp); - END_WORKERS_NAMESPACE #endif // mozilla_dom_workers_workers_h__ |