| Index: test/mjsunit/indexed-accessors.js
|
| diff --git a/test/mjsunit/indexed-accessors.js b/test/mjsunit/indexed-accessors.js
|
| index b69695a99f11d0ee075120c84ac2f9632c781c9b..decdb91356cb4fd785d7450b2ccaf8a7562ae7b9 100644
|
| --- a/test/mjsunit/indexed-accessors.js
|
| +++ b/test/mjsunit/indexed-accessors.js
|
| @@ -44,7 +44,7 @@ assertEquals(7, o.x);
|
| function Pair(x, y) {
|
| this.x = x;
|
| this.y = y;
|
| -};
|
| +}
|
| Pair.prototype.__defineGetter__('0', function() { return this.x; });
|
| Pair.prototype.__defineGetter__('1', function() { return this.y; });
|
| Pair.prototype.__defineSetter__('0', function(x) { this.x = x; });
|
| @@ -102,7 +102,7 @@ assertEquals(q1.b, 17);
|
|
|
| a = function() {};
|
| __defineSetter__("0", function() {});
|
| -if (a |= '') {};
|
| +if (a |= '') {}
|
| assertThrows('this[a].__parent__');
|
| assertEquals(a, 0);
|
| assertEquals(this[a], undefined);
|
|
|