summaryrefslogtreecommitdiffstats
path: root/js/src/js.msg
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 /js/src/js.msg
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 'js/src/js.msg')
-rw-r--r--js/src/js.msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/js.msg b/js/src/js.msg
index 246e363c3..cb5fc383b 100644
--- a/js/src/js.msg
+++ b/js/src/js.msg
@@ -65,7 +65,7 @@ MSG_DEF(JSMSG_BAD_GETTER_OR_SETTER, 1, JSEXN_TYPEERR, "invalid {0} usage")
MSG_DEF(JSMSG_BAD_ARRAY_LENGTH, 0, JSEXN_RANGEERR, "invalid array length")
MSG_DEF(JSMSG_REDECLARED_VAR, 2, JSEXN_SYNTAXERR, "redeclaration of {0} {1}")
MSG_DEF(JSMSG_UNDECLARED_VAR, 1, JSEXN_REFERENCEERR, "assignment to undeclared variable {0}")
-MSG_DEF(JSMSG_GETTER_ONLY, 0, JSEXN_TYPEERR, "setting a property that has only a getter")
+MSG_DEF(JSMSG_GETTER_ONLY, 1, JSEXN_TYPEERR, "setting getter-only property {0}")
MSG_DEF(JSMSG_OVERWRITING_ACCESSOR, 1, JSEXN_TYPEERR, "can't overwrite accessor property {0}")
MSG_DEF(JSMSG_UNDEFINED_PROP, 1, JSEXN_REFERENCEERR, "reference to undefined property {0}")
MSG_DEF(JSMSG_INVALID_MAP_ITERABLE, 1, JSEXN_TYPEERR, "iterable for {0} should have array-like objects")