/external/v8/test/mjsunit/ |
D | object-define-property.js | 86 configurable: true property 92 configurable: false property 97 configurable: true property 102 configurable: true property 107 var dataConfigurable = { value: 1000, configurable: true }; property 109 var dataNoConfigurable = { value: 2000, configurable: false }; property 132 assertFalse(desc.configurable); 157 assertTrue(desc.configurable); 172 assertFalse(desc.configurable); 205 assertFalse(desc.configurable); [all …]
|
D | accessor-map-sharing.js | 81 dp(obj1, "golf", { get: getter, configurable: true }); property 82 dp(obj1, "golf", { set: setter, configurable: true }); property 84 dp(obj2, "golf", { get: getter, configurable: true }); property 85 dp(obj2, "golf", { set: setter, configurable: true }); property 99 dp(obj1, "india", { get: getter, configurable: true, enumerable: true }); property 101 assertTrue(gop(obj1, "india").configurable); 105 assertTrue(gop(obj1, "india").configurable); 110 dp(obj1, "juliet", { set: setter, configurable: true, enumerable: false }); property 112 assertTrue(gop(obj1, "juliet").configurable); 115 dp(obj2, "juliet", { set: setter, configurable: true, enumerable: false }); property [all …]
|
D | 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 }); property 92 assertTrue(desc.configurable); 104 assertFalse(desc.configurable); 117 assertTrue(desc.configurable); 122 assertTrue(desc.configurable); 133 assertFalse(desc.configurable); [all …]
|
D | object-seal.js | 48 assertTrue(desc.configurable); 53 assertTrue(desc.configurable); 75 assertFalse(desc.configurable); 80 assertFalse(desc.configurable); 92 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true }); property 95 assertTrue(desc.configurable); 111 assertFalse(desc.configurable); 123 assertTrue(desc.configurable); 128 assertTrue(desc.configurable); 142 assertFalse(desc.configurable); [all …]
|
D | get-own-property-descriptor.js | 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/mjsunit/harmony/ |
D | reflect-define-property.js | 88 configurable: true property 94 configurable: false property 99 configurable: true property 104 configurable: true property 109 var dataConfigurable = { value: 1000, configurable: true }; property 111 var dataNoConfigurable = { value: 2000, configurable: false }; property 130 assertFalse(desc.configurable); 151 assertTrue(desc.configurable); 166 assertFalse(desc.configurable); 189 assertFalse(desc.configurable); [all …]
|
D | proxies-get-own-property-descriptor.js | 10 configurable: true, property 17 configurable: false, property 25 configurable: true property 50 configurable: proxied_desc.configurable, property 79 return {value: 234, configurable: false, enumerable: true}; 85 Object.getOwnPropertyDescriptor(proxy, "nonconfigurable").configurable); 102 {value: "yes", writable: false, enumerable: false, configurable: false}, property 125 return {value: 456, configurable: true, writable: true}
|
D | reflect-get-own-property-descriptor.js | 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);
|
D | proxies-define-property.js | 20 var desc = { value: 1, writable: true, configurable: true, enumerable: true }; property 68 desc = {value: 1, writable: true, configurable: false, enumerable: true}; property 72 {value: 1, writable: true, configurable: false}); property 73 Object.defineProperty(proxy, "nonconf", {value: 2, configurable: false}); property 77 {value: 1, writable: false, configurable: false}); property
|
D | proxies.js | 72 return {value: 42, configurable: true} 82 return {value: 42, configurable: true} 89 return {get value() { return 42 }, get configurable() { return true }} 95 return function(t, k) { key = k; return {value: 42, configurable: true} } 382 return {configurable: true, writable: true} 401 return {configurable: true, writable: true} 415 get configurable() { return true }, 450 ? {get: function() { return 5 }, configurable: true} 451 : {set: function() { return false }, configurable: true} 509 var attributes = {configurable: true, mine: 66, minetoo: 23} property [all …]
|
D | block-sloppy-function.js | 212 assertFalse(globalUndefinedHoistedDescriptor.configurable); 222 configurable: true, property 230 assertTrue(globalNonEnumerableDescriptor.configurable); 240 configurable: true, property 248 assertTrue(globalNonWritableDescriptor.configurable);
|
/external/v8/test/mjsunit/regress/ |
D | regress-2615.js | 29 Object.defineProperty(a, "1", {writable:false, configurable:false, value: 100}); property 34 assertEquals(false, desc.configurable); 42 assertEquals(false, desc.configurable); 53 assertEquals(false, desc.configurable); 57 Object.defineProperty(a, "1", {configurable:false, value:10}); property 61 assertEquals(false, desc.configurable); 64 Object.defineProperty(a, "3", {configurable:false, writable:false, value:3}); property 68 assertEquals(false, desc.configurable); 72 Object.defineProperty(a, "5", {configurable:false, value:5}); property 76 assertEquals(false, desc.configurable); [all …]
|
D | cross-script-vars.js | 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); 255 assertEquals(true, GetDescriptor().configurable); 284 assertEquals(true, GetDescriptor().configurable); 291 assertEquals(true, GetDescriptor().configurable); 336 assertEquals(true, GetDescriptor().configurable); [all …]
|
D | regress-2346.js | 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);
|
D | regress-2606.js | 31 assertTrue(desc.configurable); 40 assertTrue(desc.configurable); 48 assertTrue(desc.configurable); 52 Object.defineProperty(Object.prototype, "__proto__", { configurable:false }); property 55 assertFalse(desc.configurable);
|
D | regress-crbug-502930.js | 8 Object.defineProperty(v, "foo", { get: function() { return 42; }, configurable: true}); property 13 Object.defineProperty(v, "foo", { value: 0, writable: true, configurable: true }); property 20 Object.defineProperty(v, "bar", { value: 0, writable: true, configurable: true }); property 25 Object.defineProperty(v, "bar", { get: function() { return 42; }, configurable: true}); property
|
D | regress-4534.js | 11 dp(obj1, "golf", { get: getter, configurable: true }); property 12 dp(obj1, "golf", { set: setter, configurable: true }); property 15 dp(obj2, "golf", { get: getter, configurable: true }); property 16 dp(obj2, "golf", { set: setter, configurable: true }); property
|
D | regress-crbug-137689.js | 37 Object.defineProperty(o, "foo", { get: getter, configurable: true }); property 38 Object.defineProperty(o2, "foo", { get: getter, configurable: true }); property 45 Object.defineProperty(o, "foo", { set: setter, configurable: true }); property 46 Object.defineProperty(o2, "foo", { set: setter, configurable: true }); property
|
D | regress-687.js | 34 { value: 5, writable:true, configurable: true })); property 37 assertTrue(desc.configurable); 60 assertFalse(desc.configurable); 71 assertTrue(desc.configurable);
|
/external/v8/test/webkit/fast/js/ |
D | Object-defineProperty-expected.txt | 29 …1}), 'foo')) is JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false}) 30 …}, 'foo', {}), 'foo')) is JSON.stringify({writable: false, enumerable: false, configurable: false}) 31 …ty({}, 'foo', {get:undefined}), 'foo')) is JSON.stringify({enumerable: false, configurable: false}) 32 …e}), 'foo')) is JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false}) 33 …ue}), 'foo')) is JSON.stringify({value: 1, writable: true, enumerable: false, configurable: false}) 34 …e}), 'foo')) is JSON.stringify({value: 1, writable: false, enumerable: false, configurable: false}) 35 …ue}), 'foo')) is JSON.stringify({value: 1, writable: false, enumerable: true, configurable: false}) 36 …({}, 'foo', {value:1, configurable: false}), 'foo')) is JSON.stringify({value: 1, writable: false,… 37 …y({}, 'foo', {value:1, configurable: true}), 'foo')) is JSON.stringify({value: 1, writable: false,… 38 …2,3], 'foo', {value:1, configurable: true}), 'foo')) is JSON.stringify({value: 1, writable: false,… [all …]
|
D | primitive-property-access-edge-cases.js | 69 …ototype, "foo", { get: function() { checkOkay = typeof this === 'object'; }, configurable: true }); property 78 …ototype, "foo", { set: function() { checkOkay = typeof this === 'object'; }, configurable: true }); property 87 …, { get: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true }); property 96 …, { set: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true }); property 155 ….prototype, 42, { get: function() { checkOkay = typeof this === 'object'; }, configurable: true }); property 164 ….prototype, 42, { set: function() { checkOkay = typeof this === 'object'; }, configurable: true }); property 173 …, { get: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true }); property 182 …, { set: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true }); property
|
D | Object-defineProperty.js | 62 …return Object.defineProperty(o, prop, {value:1, configurable:false, writable: writable, enumerable… property 183 Object.defineProperty(Object.prototype, 0, {get:function(){ return false; }, configurable:true}) property 188 Object.defineProperty(Object.prototype, 'readOnly', {value:true, configurable:true, writable:false}) property 216 Object.defineProperty(anObj, 'slot4', {value: 'goo', configurable: false}); property 226 …: function() { return this._Slot5; }, set: function(v) { this._Slot5 = v; }, configurable: false}); property
|
/external/v8/test/mjsunit/es6/ |
D | 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);
|
D | object-assign.js | 7 function checkDataProperty(object, propertyKey, value, writable, enumerable, configurable) { argument 14 assertEquals(desc.configurable, configurable); 81 Object.defineProperty(target, "b", {configurable: false}); property 82 Object.defineProperty(target, "c", {enumerable: false, configurable: false}); property 105 Object.defineProperty(source, "c", {configurable: false}); property
|
D | super.js | 984 configurable: true property 988 configurable: true property 992 configurable: true property 1001 configurable: true property 1005 configurable: true property 1009 configurable: true property 1026 assertFalse(descr.configurable); 1036 assertFalse(descr.configurable); 1042 assertFalse(descr.configurable); 1204 configurable: true property [all …]
|