diff options
Diffstat (limited to 'console')
-rw-r--r-- | console/harness/testBuiltInObject.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/console/harness/testBuiltInObject.js b/console/harness/testBuiltInObject.js index e8eb39c67..3a8d24fdc 100644 --- a/console/harness/testBuiltInObject.js +++ b/console/harness/testBuiltInObject.js @@ -58,7 +58,8 @@ function testBuiltInObject(obj, isFunction, isConstructor, properties, length) { } if (obj.length !== length) { - $ERROR("Function's length property doesn't have specified value."); + $ERROR("Function's length property doesn't have specified value; expected " + + length + ", got " + obj.length + "."); } var desc = Object.getOwnPropertyDescriptor(obj, "length"); |