Lines Matching full:stringify
26 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1}), 'foo'))",
27 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false})");
28 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {}), 'foo'))",
29 "JSON.stringify({writable: false, enumerable: false, configurable: false})");
30 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {get:undefined}), 'foo'))",
31 "JSON.stringify({enumerable: false, configurable: false})");
32 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1, writable: false}), 'foo'))",
33 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false})");
34 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1, writable: true}), 'foo'))",
35 "JSON.stringify({value: 1, writable: true, enumerable: false, configurable: false})");
36 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1, enumerable: false}), 'foo'))",
37 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false})");
38 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1, enumerable: true}), 'foo'))",
39 "JSON.stringify({value: 1, writable: false, enumerable: true, configurable: false})");
40 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1, configurable: false}), 'foo'))",
41 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false})");
42 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty({}, 'foo', {value:1, configurable: true}), 'foo'))",
43 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: true})");
44 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty([1,2,3], 'foo', {value:1, configurable: true}), 'foo'))",
45 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: true})");
69 shouldBe("JSON.stringify(Object.getOwnPropertyDescriptor(Object.defineProperty(createUnconfigurableProperty({}, 'foo', true), 'foo', {writable: false}), 'foo'))",
70 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false})");