summaryrefslogtreecommitdiffstats
path: root/dom/workers/WorkerScope.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2017-08-24 10:34:22 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-03-12 10:12:53 +0100
commitc43c8f17629f2dde26f91d69f241fa7bd2165dab (patch)
tree864ca7027308ba80a30f46e085f7f1f26f51cb3f /dom/workers/WorkerScope.cpp
parentea44e60b7ed5f674b6de65fad669ac43a45438cc (diff)
downloadUXP-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/WorkerScope.cpp')
-rw-r--r--dom/workers/WorkerScope.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/dom/workers/WorkerScope.cpp b/dom/workers/WorkerScope.cpp
index d9a987b62..54252e53b 100644
--- a/dom/workers/WorkerScope.cpp
+++ b/dom/workers/WorkerScope.cpp
@@ -968,11 +968,4 @@ IsDebuggerSandbox(JSObject* object)
SimpleGlobalObject::GlobalType::WorkerDebuggerSandbox;
}
-bool
-GetterOnlyJSNative(JSContext* aCx, unsigned aArgc, JS::Value* aVp)
-{
- JS_ReportErrorNumberASCII(aCx, js::GetErrorMessage, nullptr, JSMSG_GETTER_ONLY);
- return false;
-}
-
END_WORKERS_NAMESPACE