| Index: test/mjsunit/object-freeze.js
|
| diff --git a/test/mjsunit/object-freeze.js b/test/mjsunit/object-freeze.js
|
| index c3a9278bbd9c4629489f143e52cedba78684ddb4..797d378e5aaf3f2945cd4a170edf1bf975240832 100644
|
| --- a/test/mjsunit/object-freeze.js
|
| +++ b/test/mjsunit/object-freeze.js
|
| @@ -91,13 +91,13 @@ assertEquals("foobar", desc.value);
|
| // not changed.
|
| obj.x = "tete";
|
| assertEquals(42, obj.x);
|
| -obj.x = { get: function() {return 43}, set: function() {} };
|
| +obj.x = { get: function() {return 43;}, set: function() {} };
|
| assertEquals(42, obj.x);
|
|
|
| // Test on accessors.
|
| var obj2 = {};
|
| -function get() { return 43; };
|
| -function set() {};
|
| +function get() { return 43; }
|
| +function set() {}
|
| Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true });
|
|
|
| desc = Object.getOwnPropertyDescriptor(obj2, 'x');
|
| @@ -189,5 +189,5 @@ Object.preventExtensions(obj5);
|
| assertFalse(Object.isFrozen(obj5));
|
|
|
| // Make sure that Object.freeze returns the frozen object.
|
| -var obj6 = {}
|
| -assertTrue(obj6 === Object.freeze(obj6))
|
| +var obj6 = {};
|
| +assertTrue(obj6 === Object.freeze(obj6));
|
|
|