/external/chromium_org/v8/test/mjsunit/bugs/ |
bug-2615.js | 43 Object.defineProperty(a, "1", {writable:false, configurable:false, value: 100}); 48 assertEquals(false, desc.configurable); 56 assertEquals(false, desc.configurable); 67 assertEquals(false, desc.configurable); 71 Object.defineProperty(a, "1", {configurable:false, value:10}); 75 assertEquals(false, desc.configurable); 78 Object.defineProperty(a, "3", {configurable:false, writable:false, value:3}); 82 assertEquals(false, desc.configurable); 86 Object.defineProperty(a, "5", {configurable:false, value:5}); 90 assertEquals(false, desc.configurable); [all...] |
/external/chromium_org/v8/test/mjsunit/harmony/ |
proxies-with.js | 72 return k === "a" ? {value: "onproxy", configurable: true} : undefined 81 return k === "a" ? {value: "onproxy", configurable: true} : undefined 88 return k === "a" ? {value: "onproxy", configurable: true} : undefined 96 return k === "a" ? {value: "onproxy", configurable: true} : undefined 104 {get value() { return "onproxy" }, configurable: true} : undefined 112 return k === "a" ? {value: "onproxy", configurable: true} : undefined 156 return k === "a" ? {value: onproxy, configurable: true} : undefined 165 return k === "a" ? {value: onproxy, configurable: true} : undefined 172 return k === "a" ? {value: onproxy, configurable: true} : undefined 180 return k === "a" ? {value: onproxy, configurable: true} : undefine [all...] |
proxies-for.js | 65 case "a": return {enumerable: false, value: "3", configurable: true}; 66 case "b": return {enumerable: true, get get() {}, configurable: true}; 67 case "c": return {value: 4, configurable: true}; 68 case "d": return {get enumerable() { return true }, configurable: true}; 106 return k == "0" || k == "a" ? {configurable: true} : undefined 114 return k == "null" || k == "a" ? {configurable: true} : undefined 122 case "a": return {enumerable: false, value: "3", configurable: true}; 123 case "b": return {enumerable: true, get get() {}, configurable: true}; 124 case "c": return {value: 4, configurable: true}; 125 case "d": return {get enumerable() { return true }, configurable: true} [all...] |
proxies.js | 59 return {value: 42, configurable: true} 69 return {value: 42, configurable: true} 76 return {get value() { return 42 }, get configurable() { return true }} 82 return function(k) { key = k; return {value: 42, configurable: true} } 659 case "p_writable": return {writable: true, configurable: true} 660 case "p_nonwritable": return {writable: false, configurable: true} 663 configurable: true 667 configurable: true 687 ? {get: function() { return 5 }, configurable: true} 688 : {set: function() { return false }, configurable: true [all...] |
/external/chromium_org/v8/test/mjsunit/ |
object-define-property.js | 86 configurable: true 92 configurable: false 97 configurable: true 102 configurable: true 107 var dataConfigurable = { value: 1000, configurable: true }; 109 var dataNoConfigurable = { value: 2000, configurable: false }; 132 assertFalse(desc.configurable); 145 // Make sure that foo can't be reset (as configurable is false). 157 assertTrue(desc.configurable); 169 // Redefine bar with non configurable tes [all...] |
object-freeze.js | 61 assertTrue(desc.configurable); 66 assertTrue(desc.configurable); 83 assertFalse(desc.configurable); 88 assertFalse(desc.configurable); 102 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true }); 105 assertTrue(desc.configurable); 117 assertFalse(desc.configurable); 130 assertTrue(desc.configurable); 135 assertTrue(desc.configurable); 146 assertFalse(desc.configurable); [all...] |
accessor-map-sharing.js | 81 dp(obj1, "golf", { get: getter, configurable: true }); 82 dp(obj1, "golf", { set: setter, configurable: true }); 84 dp(obj2, "golf", { get: getter, configurable: true }); 85 dp(obj2, "golf", { set: setter, configurable: true }); 99 dp(obj1, "india", { get: getter, configurable: true, enumerable: true }); 101 assertTrue(gop(obj1, "india").configurable); 105 assertTrue(gop(obj1, "india").configurable); 110 dp(obj1, "juliet", { set: setter, configurable: true, enumerable: false }); 112 assertTrue(gop(obj1, "juliet").configurable); 115 dp(obj2, "juliet", { set: setter, configurable: true, enumerable: false }) [all...] |
object-seal.js | 60 assertTrue(desc.configurable); 65 assertTrue(desc.configurable); 87 assertFalse(desc.configurable); 92 assertFalse(desc.configurable); 104 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true }); 107 assertTrue(desc.configurable); 123 assertFalse(desc.configurable); 135 assertTrue(desc.configurable); 140 assertTrue(desc.configurable); 154 assertFalse(desc.configurable); [all...] |
get-own-property-descriptor.js | 29 // configurable, enumerable, and writable set to true. 46 assertTrue(descIsData.configurable); 50 assertTrue(descIsAccessor.configurable); 62 assertTrue(descArray.configurable); 68 assertTrue(descObjectElement.configurable); 77 assertFalse(descStringObject.configurable); 87 assertTrue(descStringProperty.configurable); 93 assertTrue(descStringElement.configurable);
|
function-prototype.js | 103 assertFalse(desc.configurable); 109 assertFalse(desc.configurable); 115 assertFalse(desc.configurable);
|
/external/v8/test/mjsunit/ |
object-define-property.js | 86 configurable: true 92 configurable: false 97 configurable: true 102 configurable: true 107 var dataConfigurable = { value: 1000, configurable: true }; 109 var dataNoConfigurable = { value: 2000, configurable: false }; 132 assertFalse(desc.configurable); 145 // Make sure that foo can't be reset (as configurable is false). 157 assertTrue(desc.configurable); 169 // Redefine bar with non configurable tes [all...] |
object-freeze.js | 60 assertTrue(desc.configurable); 65 assertTrue(desc.configurable); 82 assertFalse(desc.configurable); 87 assertFalse(desc.configurable); 101 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true }); 104 assertTrue(desc.configurable); 116 assertFalse(desc.configurable); 129 assertTrue(desc.configurable); 134 assertTrue(desc.configurable); 145 assertFalse(desc.configurable); [all...] |
object-seal.js | 60 assertTrue(desc.configurable); 65 assertTrue(desc.configurable); 87 assertFalse(desc.configurable); 92 assertFalse(desc.configurable); 104 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true }); 107 assertTrue(desc.configurable); 123 assertFalse(desc.configurable); 135 assertTrue(desc.configurable); 140 assertTrue(desc.configurable); 154 assertFalse(desc.configurable); [all...] |
get-own-property-descriptor.js | 29 // configurable, enumerable, and writable set to true. 46 assertTrue(descIsData.configurable); 50 assertTrue(descIsAccessor.configurable); 62 assertTrue(descArray.configurable); 68 assertTrue(descObjectElement.configurable); 77 assertFalse(descStringObject.configurable); 87 assertTrue(descStringProperty.configurable); 93 assertTrue(descStringElement.configurable);
|
/external/chromium_org/v8/test/webkit/fast/js/ |
Object-defineProperty.js | 27 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false})"); 29 "JSON.stringify({writable: false, enumerable: false, configurable: false})"); 31 "JSON.stringify({enumerable: false, configurable: false})"); 33 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false})"); 35 "JSON.stringify({value: 1, writable: true, enumerable: false, configurable: false})"); 37 "JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false})"); 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'))" [all...] |
primitive-property-access-edge-cases.js | 69 Object.defineProperty(constructor.prototype, "foo", { get: function() { checkOkay = typeof this === 'object'; }, configurable: true }); 78 Object.defineProperty(constructor.prototype, "foo", { set: function() { checkOkay = typeof this === 'object'; }, configurable: true }); 87 Object.defineProperty(constructor.prototype, "foo", { get: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true }); 96 Object.defineProperty(constructor.prototype, "foo", { set: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true }); 155 Object.defineProperty(constructor.prototype, 42, { get: function() { checkOkay = typeof this === 'object'; }, configurable: true }); 164 Object.defineProperty(constructor.prototype, 42, { set: function() { checkOkay = typeof this === 'object'; }, configurable: true }); 173 Object.defineProperty(constructor.prototype, 42, { get: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true }); 182 Object.defineProperty(constructor.prototype, 42, { set: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true });
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2346.js | 29 // configurable, enumerable, and writable set to true. 48 assertTrue(descIsData.configurable); 52 assertTrue(descIsAccessor.configurable); 64 assertTrue(descArray.configurable); 70 assertTrue(descObjectElement.configurable); 79 assertFalse(descStringObject.configurable); 89 assertTrue(descStringProperty.configurable); 95 assertTrue(descStringElement.configurable);
|
regress-crbug-137689.js | 37 Object.defineProperty(o, "foo", { get: getter, configurable: true }); 38 Object.defineProperty(o2, "foo", { get: getter, configurable: true }); 45 Object.defineProperty(o, "foo", { set: setter, configurable: true }); 46 Object.defineProperty(o2, "foo", { set: setter, configurable: true });
|
regress-2606.js | 31 assertTrue(desc.configurable); 40 assertTrue(desc.configurable); 48 assertTrue(desc.configurable); 52 Object.defineProperty(Object.prototype, "__proto__", { configurable:false }); 55 assertFalse(desc.configurable);
|
regress-992.js | 29 // should just update enumerable/configurable flags. 39 assertTrue(desc.configurable);
|
/external/chromium_org/v8/test/webkit/ |
function-prototype-descriptor.js | 30 // test function.prototype has the correct attributes - writable, enumerable, non-configurable. 34 shouldBeFalse("descriptor['configurable']"); 46 // Given that prototype is non-configurable, defineProperty should not be able to assign a getter to it.
|
array-defineOwnProperty.js | 36 // The length property can be replaced with an accessor, or made either enumerable or configurable. 39 shouldThrow("Object.defineProperty([], 'length', { configurable: true })"); 44 // An indexed property can be made non-writable/enumerable/configurable. 47 shouldBe("var a = Object.defineProperty([42], '0', { configurable: false }); a.length = 0; a[0]", '42'); 51 // A configurable, non-writable property can be made writable, but a non-configurable one cannot. 52 shouldBeTrue("Object.defineProperty(Object.defineProperty([true], '0', { configurable:true, writable: false }), '0', { writable: true })[0]"); 53 shouldThrow("Object.defineProperty(Object.defineProperty([true], '0', { configurable:false, writable: false }), '0', { writable: true })[0]");
|
/external/v8/test/mjsunit/regress/ |
regress-992.js | 29 // should just update enumerable/configurable flags. 39 assertTrue(desc.configurable);
|
/external/v8/test/mjsunit/harmony/ |
proxies.js | 59 return {value: 42, configurable: true} 69 return {value: 42, configurable: true} 76 return {get value() { return 42 }, get configurable() { return true }} 82 return function(k) { key = k; return {value: 42, configurable: true} } 642 case "p_writable": return {writable: true, configurable: true} 643 case "p_nonwritable": return {writable: false, configurable: true} 644 case "p_setter":return {set: function(x) { val = x }, configurable: true} 645 case "p_nosetter": return {get: function() { return 1 }, configurable: true} 664 ? {get: function() { return 5 }, configurable: true} 665 : {set: function() { return false }, configurable: true [all...] |
/external/chromium_org/v8/src/extensions/i18n/ |
overrides.js | 91 configurable: true, 119 configurable: true, 165 configurable: true, 190 configurable: true, 215 configurable: true,
|