Don't use messages for errors by default

Use empty string for message property of builtin error objects
by default. Add ERROR_MESSAGES build option.

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
László Langó
2016-03-07 16:04:24 +01:00
parent 81d4c97a3a
commit ab26d57841
37 changed files with 166 additions and 148 deletions
-3
View File
@@ -20,7 +20,6 @@ try {
catch (e)
{
assert (e instanceof TypeError);
assert (e.message === "Incomplete RegExp type");
}
try {
@@ -30,7 +29,6 @@ try {
catch (e)
{
assert (e instanceof TypeError);
assert (e.message === "Incomplete RegExp type");
}
try {
@@ -40,5 +38,4 @@ try {
catch (e)
{
assert (e instanceof TypeError);
assert (e.message === "Incomplete RegExp type");
}