/external/webkit/LayoutTests/fast/js/resources/ |
getOwnPropertyDescriptor.js | 16 shouldBe(test+'.enumerable', '' + expected.enumerable); 21 descriptorShouldBe("{definedProperty:'defined'}", "'definedProperty'", {writable: true, enumerable: true, configurable: true, value:'"defined"'}); 22 descriptorShouldBe("Array.prototype", "'concat'", {writable: true, enumerable: false, configurable: true, value:"Array.prototype.concat"}); 23 descriptorShouldBe("Date.prototype", "'toISOString'", {writable: true, enumerable: false, configurable: true, value: "Date.prototype.toISOString"}); 24 descriptorShouldBe("String.prototype", "'concat'", {writable: true, enumerable: false, configurable: true, value:"String.prototype.concat"}); 25 descriptorShouldBe("RegExp.prototype", "'exec'", {writable: true, enumerable: false, configurable: true, value:"RegExp.prototype.exec"}); 26 descriptorShouldBe("document.__proto__.__proto__", "'createElement'", {writable: true, enumerable: true, configurable: false, value:"document.createElement"}); 27 descriptorShouldBe("Number", "'NEGATIVE_INFINITY'", {writable: false, enumerable: false, configurable: false, value:"Number.NEGATIVE_INFINITY"}); 28 descriptorShouldBe("RegExp", "'$_'", {writable: true, enumerable: false, configurable: true, value:"RegExp.$_"}) [all...] |
/external/v8/test/mjsunit/ |
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 } [all...] |
object-define-property.js | 117 assertFalse(desc.enumerable); 142 assertFalse(desc.enumerable); 157 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); [all...] |
get-own-property-descriptor.js | 37 assertTrue(descIsData.enumerable); 42 assertTrue(descIsAccessor.enumerable);
|
mirror-object.js | 176 // Test that non enumerable properties are part of the mirror 179 assertFalse(global_mirror.property("Math").isEnum(), "Math is enumerable" + global_mirror.property("Math").attributes()); 183 assertFalse(math_mirror.property("E").isEnum(), "Math.E is enumerable");
|
function-prototype.js | 93 // Check the prototype is not enumerable, for compatibility with
|
object-get-own-property-names.js | 54 // Check that non-enumerable properties are being returned.
|
/external/v8/test/mjsunit/regress/ |
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");
|
/external/webkit/JavaScriptCore/runtime/ |
PropertyDescriptor.cpp | 44 bool PropertyDescriptor::enumerable() const function in class:JSC::PropertyDescriptor 124 void PropertyDescriptor::setEnumerable(bool enumerable) 126 if (enumerable)
|
PropertyDescriptor.h | 40 bool enumerable() const;
|
CommonIdentifiers.h | 45 macro(enumerable) \
|
ObjectConstructor.cpp | 124 description->putDirect(exec->propertyNames().enumerable, jsBoolean(descriptor.enumerable()), 0); 168 if (description->getPropertySlot(exec, exec->propertyNames().enumerable, enumerableSlot)) { 169 desc.setEnumerable(enumerableSlot.getValue(exec, exec->propertyNames().enumerable).toBoolean(exec));
|
JSObject.cpp | 412 return descriptor.enumerable(); 596 if (descriptor.enumerablePresent() && descriptor.enumerable() != current.enumerable()) { 598 throwError(exec, TypeError, "Attempting to change enumerable attribute of unconfigurable property.");
|
/external/v8/src/ |
v8natives.js | 163 // Setup non-enumerable function on the global object. 320 obj.enumerable = desc.isEnumerable(); 332 if ("enumerable" in obj) { 333 desc.setEnumerable(ToBoolean(obj.enumerable)); 405 PropertyDescriptor.prototype.setEnumerable = function(enumerable) { 406 this.enumerable_ = enumerable; 486 // obj is a data property [false, value, Writeable, Enumerable, Configurable] 487 // obj is an accessor [true, Get, Set, Enumerable, Configurable] 560 // Send flags - enumerable and configurable are common - writable is 562 // Take special care if enumerable and configurable is not defined o [all...] |
usage-analyzer.cc | 189 Read(node->enumerable());
|
ast.h | 452 void Initialize(Expression* each, Expression* enumerable, Statement* body) { 455 enumerable_ = enumerable; 461 Expression* enumerable() const { return enumerable_; } function in class:v8::internal::ForInStatement [all...] |
prettyprinter.cc | 194 Visit(node->enumerable()); 884 PrintIndentedVisit("IN", node->enumerable()); [all...] |
math.js | 238 // Setup non-enumerable functions of the Math object and
|
rewriter.cc | 135 Visit(node->enumerable());
|
uri.js | 402 // Setup non-enumerable URI functions on the global object and set
|
array.js | [all...] |
date.js | 1114 // Setup non-enumerable properties of the Date object itself. 1121 // Setup non-enumerable constructor property of the Date prototype object. 1124 // Setup non-enumerable functions of the Date prototype object and [all...] |
parser.cc | 2695 Expression* enumerable = ParseExpression(true, CHECK_OK); local 2729 Expression* enumerable = ParseExpression(true, CHECK_OK); local [all...] |
string.js | 865 // Setup the non-enumerable functions on the String object. 871 // Setup the non-enumerable functions on the String prototype object.
|
/external/chromium/net/data/proxy_resolver_v8_unittest/ |
pac_library_unittest.js | 265 // Unfortunately Date()'s methods are non-enumerable, therefore list manually.
|