/external/v8/test/mjsunit/regress/ |
regress-1692.js | 32 a : { value : 42, enumerable : true }, 33 b : { value : 42, enumerable : false }, 34 1 : { value : 42, enumerable : true }, 35 2 : { value : 42, enumerable : false }, 36 f : { get: function(){}, enumerable: true }, 37 g : { get: function(){}, enumerable: false }, 38 11 : { get: function(){}, enumerable: true }, 39 12 : { get: function(){}, enumerable: false } 42 c : { value : 42, enumerable : true }, 43 d : { value : 42, enumerable : false } [all...] |
regress-crbug-549162.js | 7 Object.defineProperty( __v_13, s, {value: {}, enumerable: true}); 10 Object.defineProperty( __v_13, s, {value: {}, enumerable: true});
|
regress-shift-enumerable.js | 10 enumerable: false 16 assertFalse(desc.enumerable);
|
regress-crbug-382143.js | 16 assertTrue(Object.getOwnPropertyDescriptor(b, "a").enumerable);
|
regress-334.js | 46 function enumerable(obj) { function 56 assertArrayEquals(["baz", "bif"], enumerable(object), "enum0"); 67 assertArrayEquals(["baz", "bif"], enumerable(object), "enum1"); 71 assertArrayEquals(["baz", "bif"], enumerable(object), "enum2"); 81 assertArrayEquals(["bar", "baz", "bif"], enumerable(object), "enum3"); 85 assertArrayEquals(["bar", "baz"], enumerable(object), "enum4"); 89 assertArrayEquals(["bar", "baz"], enumerable(object), "enum5");
|
regress-992.js | 29 // should just update enumerable/configurable flags. 35 Object.defineProperty(obj, 'p', {enumerable: false }); 38 assertFalse(desc.enumerable);
|
regress-cnlt-enum-indices.js | 36 // Adds a non-field enumerable property. 37 Object.defineProperty(o, "b", { get: f, enumerable: true }); 38 Object.defineProperty(o2, "b", { get: f, enumerable: true });
|
/external/v8/test/mjsunit/es6/ |
throw-type-error-function-restrictions.js | 18 assertFalse(lengthDesc.enumerable, 'enumerable');
|
function-prototype-name.js | 8 assertFalse(descr.enumerable);
|
regexp-prototype.js | 8 assertFalse(proto_desc.enumerable);
|
/external/v8/test/mjsunit/ |
get-own-property-descriptor-non-objects.js | 17 enumerable: false, 25 enumerable: true,
|
object-define-property.js | 133 assertFalse(desc.enumerable); 158 assertFalse(desc.enumerable); 173 assertFalse(desc.enumerable); 206 assertFalse(desc.enumerable); 223 assertFalse(desc.enumerable); 235 assertFalse(desc.enumerable); 250 assertFalse(desc.enumerable); 267 assertFalse(desc.enumerable); 284 assertFalse(desc.enumerable); 299 assertFalse(desc.enumerable); 532 configurable:false, property in class:set.descDifferent 547 configurable:false, property in class:descDifferent 562 configurable:false, property in class:descDifferent 577 configurable:false, property in class:descDifferent 592 configurable:false, property in class:descDifferent 617 configurable:false, property in class:descDifferent 632 configurable:false, property in class:descDifferent 648 configurable:false, property in class:descDifferent 664 configurable:true, property in class:descDifferent 679 configurable:false, property in class:descDifferent 739 var descElementNonEnumerable = { value: 'barbar', enumerable: false }; property in class:set.descElementNonEnumerable 742 writable: false, property in class:set.descElementAllFalse 838 var descElementNonEnumerable = { value: 'barbar', enumerable: false }; property in class:set.descElementNonEnumerable 841 writable: false, property in class:set.descElementAllFalse [all...] |
object-create.js | 30 // tested. We do test getters, setters, writable, enumerable and value. 124 enumerable: { get: function() { 187 // Test enumerable flag. 190 Object.create({fizz: 14}, {foo: {value: 3, enumerable: false}, 191 bar: {value: 4, enumerable: true}, 223 // Ensure that only enumerable own properties on the descriptor are used. 225 { foo: { value: 1, enumerable: true }}, 226 { bar: { value: { value: 2, enumerable: true }, enumerable: false }, 227 baz: { value: { value: 4, enumerable: false }, enumerable: true } 123 var metaProps = { property in class:metaProps [all...] |
accessor-map-sharing.js | 99 dp(obj1, "india", { get: getter, configurable: true, enumerable: true }); 102 assertTrue(gop(obj1, "india").enumerable); 103 dp(obj1, "india", { enumerable: false }); 106 assertFalse(gop(obj1, "india").enumerable); 110 dp(obj1, "juliet", { set: setter, configurable: true, enumerable: false }); 113 assertFalse(gop(obj1, "juliet").enumerable); 115 dp(obj2, "juliet", { set: setter, configurable: true, enumerable: false }); 118 assertFalse(gop(obj2, "juliet").enumerable); 119 dp(obj1, "juliet", { set: setter, configurable: false, enumerable: true }); 122 assertTrue(gop(obj1, "juliet").enumerable); [all...] |
/external/v8/test/webkit/ |
Object-defineProperties.js | 29 shouldBe("JSON.stringify(Object.defineProperties({},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\''); 30 shouldBe("JSON.stringify(Object.defineProperties({},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\''); 31 shouldBe("JSON.stringify(Object.defineProperties({property:'foo'},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\''); 32 shouldBe("JSON.stringify(Object.defineProperties({property:'foo'},{property:{value:'foo', enumerable:false}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\''); 33 shouldBe("JSON.stringify(Object.defineProperties({property:'foo'},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\'');
|
Object-defineProperties-expected.txt | 32 PASS JSON.stringify(Object.defineProperties({},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}})) is '{"property":"foo","property2":"foo"}' 33 PASS JSON.stringify(Object.defineProperties({},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}})) is '{"property2":"foo"}' 34 PASS JSON.stringify(Object.defineProperties({property:'foo'},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}})) is '{"property":"foo","property2":"foo"}' 35 PASS JSON.stringify(Object.defineProperties({property:'foo'},{property:{value:'foo', enumerable:false}, property2:{value:'foo', enumerable:true}})) is '{"property2":"foo"}' 36 PASS JSON.stringify(Object.defineProperties({property:'foo'},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}})) is '{"property":"foo","property2":"foo"}'
|
Object-create.js | 30 shouldBe("JSON.stringify(Object.create(null,{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\''); 31 shouldBe("JSON.stringify(Object.create({},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\''); 32 shouldBe("JSON.stringify(Object.create({},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\''); 33 shouldBe("JSON.stringify(Object.create(null,{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\''); 38 var DescriptorWithEnumerableGetter = { foo: Object.create(null, { value: {value: true}, enumerable: { get: valueGet }})};
|
Object-create-expected.txt | 33 PASS JSON.stringify(Object.create(null,{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}})) is '{"property":"foo","property2":"foo"}' 34 PASS JSON.stringify(Object.create({},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}})) is '{"property":"foo","property2":"foo"}' 35 PASS JSON.stringify(Object.create({},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}})) is '{"property2":"foo"}' 36 PASS JSON.stringify(Object.create(null,{property:{value:'foo'}, property2:{value:'foo', enumerable:true}})) is '{"property2":"foo"}'
|
class-syntax-prototype-expected.txt | 8 PASS class A {}; descriptor(A, "prototype").enumerable is false 15 PASS class A { static foo() {} }; descriptor(A, "foo").enumerable is false 21 PASS class A { static get foo() {} }; descriptor(A, "foo").enumerable is false 28 PASS class A { foo() {} }; descriptor(A.prototype, "foo").enumerable is false 35 PASS class A { get foo() {} }; descriptor(A.prototype, "foo").enumerable is false 43 PASS class A { }; descriptor(A.prototype, "constructor").enumerable is false
|
function-prototype-descriptor-expected.txt | 30 PASS descriptor['enumerable'] is false 33 PASS descriptor['enumerable'] is false 37 PASS descriptor['enumerable'] is false
|
/external/v8/test/mjsunit/harmony/ |
reflect-define-property.js | 131 assertFalse(desc.enumerable); 152 assertFalse(desc.enumerable); 167 assertFalse(desc.enumerable); 190 assertFalse(desc.enumerable); 207 assertFalse(desc.enumerable); 219 assertFalse(desc.enumerable); 234 assertFalse(desc.enumerable); 251 assertFalse(desc.enumerable); 268 assertFalse(desc.enumerable); 283 assertFalse(desc.enumerable); 506 configurable:false, property in class:set.descDifferent 516 configurable:false, property in class:descDifferent 526 configurable:false, property in class:descDifferent 536 configurable:false, property in class:descDifferent 546 configurable:false, property in class:descDifferent 571 configurable:false, property in class:descDifferent 581 configurable:false, property in class:descDifferent 592 configurable:false, property in class:descDifferent 603 configurable:true, property in class:descDifferent 613 configurable:false, property in class:descDifferent 659 var descElementNonEnumerable = { value: 'barbar', enumerable: false }; property in class:set.descElementNonEnumerable 662 writable: false, property in class:set.descElementAllFalse 751 var descElementNonEnumerable = { value: 'barbar', enumerable: false }; property in class:set.descElementNonEnumerable 754 writable: false, property in class:set.descElementAllFalse [all...] |
proxies-property-is-enumerable.js | 17 return { configurable: true, enumerable: true, value: 10 }; 25 return { configurable: true, enumerable: false, value: 10 };
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/blink/ |
keyframe-properties.html | 14 enumerable: true}); 23 'enumerable keyframe properties tests', 26 assert: 'Only enumerable properties on keyframes are considered', 37 enumerable: 'true'});
|
/external/clang/test/SemaObjCXX/ |
instantiate-stmt.mm | 41 // expected-error{{the type 'vector' is not a pointer to a fast-enumerable object}} 47 // expected-error{{the type 'vector' is not a pointer to a fast-enumerable object}} 50 for (NSString *str in collection) // expected-error{{the type 'vector' is not a pointer to a fast-enumerable object}} 54 for (str in collection) // expected-error{{the type 'vector' is not a pointer to a fast-enumerable object}}
|
/external/v8/src/ |
property-descriptor.h | 60 bool enumerable() const { return enumerable_; } function in class:v8::internal::PropertyDescriptor 61 void set_enumerable(bool enumerable) { 62 enumerable_ = enumerable; 98 (has_enumerable() && !enumerable() ? DONT_ENUM : NONE) |
|