Lines Matching full:__proto__
46 assertTrue(Object.prototype === JSON.__proto__);
390 oddball.__proto__ = { __proto__: null, toString: function() { return true; } };
407 oddball3.__proto__ = { __proto__: null,
410 oddball2.__proto__ = { __proto__: null,
416 falseNum.__proto__ = Number.prototype;
420 // We don't currently allow plain properties called __proto__ in JSON
424 // Parse a non-object value as __proto__. This must not create a
425 // __proto__ property different from the original, and should not
427 var o = JSON.parse('{"__proto__":5}');
428 assertEquals(Object.prototype, o.__proto__); // __proto__ isn't changed.
429 assertEquals(0, Object.keys(o).length); // __proto__ isn't added as enumerable.