/external/v8/test/mjsunit/harmony/ |
proxies-keys.js | 19 if (name == "non-enum") return {configurable: true}; 21 return {enumerable: true, configurable: true};
|
reflect-get-own-property-descriptor.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);
|
proxies-object-assign.js | 10 return {enumerable: true, configurable: true}
|
proxies-bind.js | 66 getOwnPropertyDescriptor() {return {configurable: true}} 79 getOwnPropertyDescriptor() {return {configurable: true}} 92 getOwnPropertyDescriptor() {return {configurable: true}} 105 getOwnPropertyDescriptor() {return {configurable: true}} 118 getOwnPropertyDescriptor() {return {configurable: true}}
|
proxies-set.js | 36 return {value: x, writable: true, enumerable: true, configurable: true}; 73 {value: 42, configurable: true, writable: false}); 187 // Trap returns trueish and target property is configurable or writable data. 189 Object.defineProperty(target, p, {configurable: true, writable: true}); 191 Object.defineProperty(target, p, {configurable: true, writable: false}); 193 Object.defineProperty(target, p, {configurable: false, writable: true}); 212 configurable: false, writable: false, value: 0 230 // Trap returns trueish and target property is configurable accessor. 232 Object.defineProperty(target, p, { configurable: true, set: undefined }); 236 // Trap returns trueish and target property is non-configurable accessor [all...] |
block-sloppy-function.js | 212 assertFalse(globalUndefinedHoistedDescriptor.configurable); 222 configurable: true, 229 // BUG(v8:4451): Should be made non-configurable 230 assertTrue(globalNonEnumerableDescriptor.configurable); 240 configurable: true, 247 // BUG(v8:4451): Should be made non-configurable 248 assertTrue(globalNonWritableDescriptor.configurable);
|
proxies-has-own-property.js | 26 handler.getOwnPropertyDescriptor = function() { return {configurable: true} }
|
/external/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-1240.js | 29 // non-configurable getter with a new getter. In addition, we should not 30 // be able to change the configurable flag from false to true. 34 { get: function () { return 42; }, configurable: false }); 39 assertFalse(desc.configurable);
|
regress-3643.js | 9 configurable: true
|
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-crbug-72736.js | 31 // a non-writable property if configurable is true. 34 Object.defineProperty(obj, 'foo', { value: 10, configurable: true }); 36 Object.defineProperty(obj, 'foo', { value: 20, configurable: true });
|
regress-687.js | 34 { value: 5, writable:true, configurable: true })); 37 assertTrue(desc.configurable); 60 assertFalse(desc.configurable); 71 assertTrue(desc.configurable);
|
/external/v8/test/mjsunit/es6/ |
regexp-prototype.js | 9 assertFalse(proto_desc.configurable);
|
object-assign.js | 7 function checkDataProperty(object, propertyKey, value, writable, enumerable, configurable) { 14 assertEquals(desc.configurable, configurable); 81 Object.defineProperty(target, "b", {configurable: false}); 82 Object.defineProperty(target, "c", {enumerable: false, configurable: false}); 105 Object.defineProperty(source, "c", {configurable: false});
|
super.js | 984 configurable: true 988 configurable: true 992 configurable: true 1001 configurable: true 1005 configurable: true 1009 configurable: true 1026 assertFalse(descr.configurable); 1036 assertFalse(descr.configurable); 1042 assertFalse(descr.configurable); 1204 configurable: tru [all...] |
typedarray-proto.js | 66 assertFalse(desc.configurable); 72 assertFalse(desc.configurable);
|
/external/v8/test/mjsunit/ |
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 }); 95 assertTrue(desc.configurable); 111 assertFalse(desc.configurable); 123 assertTrue(desc.configurable); 128 assertTrue(desc.configurable); 142 assertFalse(desc.configurable); [all...] |
element-read-only.js | 7 // Ensure non-configurable argument elements stay non-configurable. 10 Object.defineProperty(args, "0", {value: 10, configurable: false}); 11 assertFalse(Object.getOwnPropertyDescriptor(args, "0").configurable); 15 assertFalse(Object.getOwnPropertyDescriptor(args, "0").configurable);
|
for-in-opt.js | 45 return {value: 10, configurable: true, writable: false, enumerable: true}; 96 return {value: 10, configurable: true, writable: false, enumerable: true}; 146 return {value: 10, configurable: true, writable: false, enumerable: true};
|
/external/v8/src/ |
property-descriptor.cc | 137 factory->ToBoolean(configurable())); 175 // configurable? 176 Handle<Object> configurable; local 179 &configurable)) { 182 // 9c. Set the [[Configurable]] field of desc to conf. 183 if (!configurable.is_null()) { 184 desc->set_configurable(configurable->BooleanValue()); 265 // [[Enumerable]]: false, [[Configurable]]: false}. 293 // 7. If Desc does not have a [[Configurable]] field, set 294 // Desc.[[Configurable]] to like.[[Configurable]] [all...] |
/external/v8/test/webkit/ |
class-syntax-prototype.js | 48 shouldBeFalse('class A {}; descriptor(A, "prototype").configurable'); 55 shouldBeTrue('class A { static foo() {} }; descriptor(A, "foo").configurable'); 63 shouldBeTrue('class A { static get foo() {} }; descriptor(A, "foo").configurable'); 71 shouldBeTrue('class A { foo() {} }; descriptor(A.prototype, "foo").configurable'); 79 shouldBeTrue('class A { get foo() {} }; descriptor(A.prototype, "foo").configurable'); 88 shouldBeTrue('class A { }; descriptor(A.prototype, "constructor").configurable');
|
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.
|
/external/v8/test/mjsunit/strong/ |
load-property-mutate-backing-store.js | 70 {configurable: true, enumerable: true, writable: true, value: x}, 71 {configurable: true, enumerable: true, get: (function() {return x}) }, 127 { configurable: true, enumerable: true, set: (function(){}) }
|