diff options
Diffstat (limited to 'harness')
-rw-r--r-- | harness/testIntl.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/harness/testIntl.js b/harness/testIntl.js index d0b48fa94..5646e9c2e 100644 --- a/harness/testIntl.js +++ b/harness/testIntl.js @@ -874,19 +874,6 @@ function mustHaveProperty(obj, property, valid) { /** - * Tests whether the given object does not have the named property. - * @param {Object} obj the object to be tested. - * @param {string} property the name of the property - * @exception if the property is present. - */ -function mustNotHaveProperty(obj, property) { - if (obj.hasOwnProperty(property)) { - $ERROR("Object has property it mustn't have: " + property + "."); - } -} - - -/** * Properties of the RegExp constructor that may be affected by use of regular * expressions, and the default values of these properties. Properties are from * https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Deprecated_and_obsolete_features#RegExp_Properties |