/external/v8/test/mjsunit/regress/ |
regress-4534.js | 11 dp(obj1, "golf", { get: getter, configurable: true }); 12 dp(obj1, "golf", { set: setter, configurable: true }); 15 dp(obj2, "golf", { get: getter, configurable: true }); 16 dp(obj2, "golf", { set: setter, configurable: true });
|
regress-2615.js | 29 Object.defineProperty(a, "1", {writable:false, configurable:false, value: 100}); 34 assertEquals(false, desc.configurable); 42 assertEquals(false, desc.configurable); 53 assertEquals(false, desc.configurable); 57 Object.defineProperty(a, "1", {configurable:false, value:10}); 61 assertEquals(false, desc.configurable); 64 Object.defineProperty(a, "3", {configurable:false, writable:false, value:3}); 68 assertEquals(false, desc.configurable); 72 Object.defineProperty(a, "5", {configurable:false, value:5}); 76 assertEquals(false, desc.configurable); [all...] |
regress-3404.js | 6 // Reconfigure e.stack to be non-configurable 9 {get: desc1.get, set: desc1.set, configurable: false}); 12 assertFalse(desc2.configurable);
|
cross-script-vars.js | 118 ' configurable: true ' + 129 ' configurable: true ' + 145 ' enumerable: true, configurable: true' + 156 ' enumerable: true, configurable: true' + 176 assertEquals(false, GetDescriptor().configurable); 181 assertEquals(false, GetDescriptor().configurable); 200 assertEquals(true, GetDescriptor().configurable); 203 assertEquals(true, GetDescriptor().configurable); 214 assertEquals(true, GetDescriptor().configurable); 242 assertEquals(true, GetDescriptor().configurable); [all...] |
regress-539875.js | 13 assertFalse(desc.configurable); 26 assertFalse(desc.configurable);
|
regress-350887.js | 8 Object.defineProperty(arr, '2501866687', { value: 4, configurable: false });
|
regress-3612.js | 16 configurable: true,
|
regress-shift-enumerable.js | 8 configurable: true,
|
/external/v8/test/mjsunit/harmony/ |
proxies-get-own-property-descriptor.js | 10 configurable: true, 14 Object.defineProperty(target, "configurable", configurable_desc); 17 configurable: false, 25 configurable: true 46 Object.getOwnPropertyDescriptor(proxy, "configurable")); 50 configurable: proxied_desc.configurable, 56 "configurable")); 65 Object.getOwnPropertyDescriptor(proxy, "configurable")); 70 // non-configurable own property of the target object. 9 value: 123, property in class:configurable_desc 16 value: 234, property in class:nonconfigurable_desc 24 value: 345, property in class:proxied_desc [all...] |
reflect-define-property.js | 88 configurable: true 94 configurable: false 99 configurable: true 104 configurable: true 109 var dataConfigurable = { value: 1000, configurable: true }; property in class:dataConfigurable 111 var dataNoConfigurable = { value: 2000, configurable: false }; property in class:dataNoConfigurable 130 assertFalse(desc.configurable); 143 // Make sure that foo can't be reset (as configurable is false). 151 assertTrue(desc.configurable); 163 // Redefine bar with non configurable tes 87 get: getter1, property in class:accessorConfigurable 93 get: getter2, property in class:accessorNoConfigurable 98 set: setter3, property in class:accessorOnlySet 103 get: getter3, property in class:accessorOnlyGet 505 var descDifferent = { property in class:set.descDifferent 515 descDifferent = { property in class:descDifferent 525 descDifferent = { property in class:descDifferent 535 descDifferent = { property in class:descDifferent 545 descDifferent = { property in class:descDifferent 570 descDifferent = { property in class:descDifferent 580 descDifferent = { property in class:descDifferent 591 descDifferent = { property in class:descDifferent 602 descDifferent = { property in class:descDifferent 612 descDifferent = { property in class:descDifferent 657 var descElementNonConfigurable = { value: 'barfoo', configurable: false }; property in class:set.descElementNonConfigurable 660 var descElementAllFalse = { value: 'foofalse', property in class:set.descElementAllFalse 749 var descElementNonConfigurable = { value: 'barfoo', configurable: false }; property in class:set.descElementNonConfigurable 752 var descElementAllFalse = { value: 'foofalse', property in class:set.descElementAllFalse [all...] |
proxies-define-property.js | 20 var desc = { value: 1, writable: true, configurable: true, enumerable: true }; property in class:desc 65 // Step 15b: Trap returns true for adding a non-configurable property. 68 desc = {value: 1, writable: true, configurable: false, enumerable: true}; property in class:desc 70 // No exception is thrown if a non-configurable property exists on the target. 72 {value: 1, writable: true, configurable: false}); 73 Object.defineProperty(proxy, "nonconf", {value: 2, configurable: false}); 77 {value: 1, writable: false, configurable: false}); 80 // Step 16b: Trap returns true for overwriting a configurable property 81 // with a non-configurable descriptor. 83 assertThrows("Object.defineProperty(proxy, 'bar', {configurable: false})" [all...] |
proxies-delete-property.js | 26 Object.defineProperty(target, p, {value: 42, configurable: false}); 91 // Trap returns trueish and target property is configurable. 97 // Trap returns trueish but target property is not configurable. 99 Object.defineProperty(target, p, {value: 42, configurable: false}); 118 Object.defineProperty(target, p, {configurable: false}); 125 // Trap returns trueish but target property is not configurable. In contrast 126 // to above, here the target property was configurable before the trap call. 161 // Trap returns falsish and target property is configurable. 171 // Trap returns falsish and target property is not configurable. 173 Object.defineProperty(target, p, {value: 42, configurable: false}) [all...] |
proxies-get.js | 62 // Define a non-configurable, non-writeable property on the target for 65 configurable: false, 74 // Define a non-configurable getter on the target for which the handler 77 configurable: false, 85 // Define a non-configurable setter without a corresponding getter on the 88 configurable: false, 96 // Define a non-configurable setter without a corresponding getter on the 99 configurable: false,
|
proxies-property-is-enumerable.js | 17 return { configurable: true, enumerable: true, value: 10 }; 25 return { configurable: true, enumerable: false, value: 10 };
|
/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 }; property in class:dataConfigurable 109 var dataNoConfigurable = { value: 2000, configurable: false }; property in class:dataNoConfigurable 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 85 get: getter1, property in class:accessorConfigurable 91 get: getter2, property in class:accessorNoConfigurable 96 set: setter3, property in class:accessorOnlySet 101 get: getter3, property in class:accessorOnlyGet 531 var descDifferent = { property in class:set.descDifferent 546 descDifferent = { property in class:descDifferent 561 descDifferent = { property in class:descDifferent 576 descDifferent = { property in class:descDifferent 591 descDifferent = { property in class:descDifferent 616 descDifferent = { property in class:descDifferent 631 descDifferent = { property in class:descDifferent 647 descDifferent = { property in class:descDifferent 663 descDifferent = { property in class:descDifferent 678 descDifferent = { property in class:descDifferent 737 var descElementNonConfigurable = { value: 'barfoo', configurable: false }; property in class:set.descElementNonConfigurable 740 var descElementAllFalse = { value: 'foofalse', property in class:set.descElementAllFalse 836 var descElementNonConfigurable = { value: 'barfoo', configurable: false }; property in class:set.descElementNonConfigurable 839 var descElementAllFalse = { value: 'foofalse', property in class:set.descElementAllFalse [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-freeze.js | 48 assertTrue(desc.configurable); 53 assertTrue(desc.configurable); 70 assertFalse(desc.configurable); 75 assertFalse(desc.configurable); 89 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true }); 92 assertTrue(desc.configurable); 104 assertFalse(desc.configurable); 117 assertTrue(desc.configurable); 122 assertTrue(desc.configurable); 133 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/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...] |
/external/v8/test/mjsunit/es6/regress/ |
regress-3902.js | 6 assertTrue(Object.getOwnPropertyDescriptor(g.__proto__, "constructor").configurable); 7 assertTrue(Object.getOwnPropertyDescriptor(g.prototype.__proto__, "constructor").configurable);
|
/external/v8/src/ |
property-descriptor.h | 67 bool configurable() const { return configurable_; } function in class:v8::internal::PropertyDescriptor 68 void set_configurable(bool configurable) { 69 configurable_ = configurable; 99 (has_configurable() && !configurable() ? DONT_DELETE : NONE) |
|
/external/v8/test/mjsunit/es6/ |
json.js | 11 assertTrue(desc.configurable);
|
math.js | 11 assertTrue(desc.configurable);
|
generators-runtime.js | 55 assertEquals(f_desc.configurable, g_desc.configurable, prop); 81 assertTrue(constructor_desc.configurable); 89 assertTrue(prototype_desc.configurable); 116 assertTrue(constructor_desc.configurable); 123 assertTrue(next_desc.configurable); 130 assertTrue(throw_desc.configurable); 158 assertFalse(prototype_desc.configurable);
|
/external/v8/test/mjsunit/harmony/regress/ |
regress-crbug-461520.js | 14 return {value: function() {}, configurable: true};
|