Home | History | Annotate | Download | only in mjsunit

Lines Matching full:freeze

28 // Tests the Object.freeze and Object.isFrozen methods - ES 19.1.2.5 and
36 assertSame(non_objects[key], Object.freeze(non_objects[key]));
59 Object.freeze(obj);
99 Object.freeze(obj2);
113 // Test freeze on arrays.
128 Object.freeze(arr);
179 // Make sure that Object.freeze returns the frozen object.
181 assertTrue(obj6 === Object.freeze(obj6))
186 Object.freeze(obj);
196 Object.freeze(obj);
204 Object.freeze(obj);
205 Object.freeze(obj2);
214 Object.freeze(obj);
215 Object.freeze(obj2);
222 Object.freeze(obj);
242 Object.freeze(obj);
258 Object.freeze(arguments);
267 Object.freeze(sparseArr);
279 Object.freeze(obj);
289 assertTrue(Object.isFrozen(Object.freeze(function(){"use strict";})));
301 Object.freeze(obj);
305 // Test array built-in functions with freeze.
307 Object.freeze(obj);
327 Object.freeze(obj);
335 Object.freeze(obj);
342 Object.freeze(Frozen);
353 Object.freeze(Constructor.prototype);
362 var func = Object.freeze(function foo(){});
372 var func = Object.freeze(function foo(){ "use strict"; });
382 var array = Object.freeze([0,1,2]);
392 var args = Object.freeze((function(){ return arguments; })(0,1,2));