diff --git a/harness/testBuiltInObject.js b/harness/testBuiltInObject.js index 3a8d24fdc4..197cae36e2 100644 --- a/harness/testBuiltInObject.js +++ b/harness/testBuiltInObject.js @@ -69,8 +69,8 @@ function testBuiltInObject(obj, isFunction, isConstructor, properties, length) { if (desc.enumerable) { $ERROR("The length property of a built-in function must not be enumerable."); } - if (desc.configurable) { - $ERROR("The length property of a built-in function must not be configurable."); + if (!desc.configurable) { + $ERROR("The length property of a built-in function must be configurable."); } }