533:101606d3eb84 | 537:b5ff11e00050 |
---|---|
27 * @test | 27 * @test |
28 * @run | 28 * @run |
29 */ | 29 */ |
30 | 30 |
31 // check that we cannot create __proto__ cycle | 31 // check that we cannot create __proto__ cycle |
32 load("nashorn:mozilla_compat.js"); | |
33 | 32 |
34 var obj = {}; | 33 var obj = {}; |
35 var obj2 = Object.create(obj); | 34 var obj2 = Object.create(obj); |
36 | 35 |
37 // attempt to create __proto__ cycle | 36 // attempt to create __proto__ cycle |