| Index: test/mjsunit/undeletable-functions.js
|
| ===================================================================
|
| --- test/mjsunit/undeletable-functions.js (revision 9531)
|
| +++ test/mjsunit/undeletable-functions.js (working copy)
|
| @@ -76,6 +76,8 @@
|
| "execScript"];
|
| CheckEcmaSemantics(this, array, "Global");
|
| CheckReadOnlyAttr(this, "Infinity");
|
| +CheckReadOnlyAttr(this, "NaN");
|
| +CheckReadOnlyAttr(this, "undefined");
|
|
|
| array = ["exec", "test", "toString", "compile"];
|
| CheckEcmaSemantics(RegExp.prototype, array, "RegExp prototype");
|
| @@ -189,7 +191,7 @@
|
| assertFalse(deleted, "delete operator returned true: " + prop);
|
| assertTrue(type.hasOwnProperty(prop), "not there after delete: " + prop);
|
| type[prop] = "foo";
|
| - assertEquals("foo", type[prop], "overwritable: " + prop);
|
| + assertEquals(old, type[prop], "overwritable: " + prop);
|
| }
|
|
|
| print("OK");
|
|
|