/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-define-property.js | 127 assertFalse(desc.enumerable); 152 assertFalse(desc.enumerable); 167 assertFalse(desc.enumerable); 200 assertFalse(desc.enumerable); 217 assertFalse(desc.enumerable); 229 assertFalse(desc.enumerable); 244 assertFalse(desc.enumerable); 261 assertFalse(desc.enumerable); 278 assertFalse(desc.enumerable); 293 assertFalse(desc.enumerable); [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 } [all...] |
get-own-property-descriptor.js | 29 // configurable, enumerable, and writable set to true. 44 assertTrue(descIsData.enumerable); 49 assertTrue(descIsAccessor.enumerable); 61 assertTrue(descArray.enumerable); 67 assertTrue(descObjectElement.enumerable); 76 assertFalse(descStringObject.enumerable); 86 assertTrue(descStringProperty.enumerable); 92 assertTrue(descStringElement.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.
|
regexp.js | 600 assertEquals(false, desc.enumerable); 606 assertEquals(false, desc.enumerable); 612 assertEquals(false, desc.enumerable); 618 assertEquals(false, desc.enumerable);
|
/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");
|
regress-992.js | 29 // should just update enumerable/configurable flags. 35 Object.defineProperty(obj, 'p', {enumerable: false }); 38 assertFalse(desc.enumerable);
|
regress-900.js | 45 assertFalse(desc['enumerable']);
|
/external/webkit/Source/JavaScriptCore/runtime/ |
PropertyDescriptor.cpp | 44 bool PropertyDescriptor::enumerable() const function in class:JSC::PropertyDescriptor 124 void PropertyDescriptor::setEnumerable(bool enumerable) 126 if (enumerable)
|
CommonIdentifiers.h | 42 macro(enumerable) \
|
PropertyDescriptor.h | 40 bool enumerable() const;
|
ObjectConstructor.cpp | 160 description->putDirect(exec->globalData(), exec->propertyNames().enumerable, jsBoolean(descriptor.enumerable()), 0); 204 if (description->getPropertySlot(exec, exec->propertyNames().enumerable, enumerableSlot)) { 205 desc.setEnumerable(enumerableSlot.getValue(exec, exec->propertyNames().enumerable).toBoolean(exec));
|
JSObject.cpp | 425 return descriptor.enumerable(); 685 if (descriptor.enumerablePresent() && descriptor.enumerable() != current.enumerable()) { 687 throwError(exec, createTypeError(exec, "Attempting to change enumerable attribute of unconfigurable property."));
|
/external/v8/src/ |
v8natives.js | 163 // Setup non-enumerable function on the global object. 325 obj.enumerable = desc.isEnumerable(); 337 if ("enumerable" in obj) { 338 desc.setEnumerable(ToBoolean(obj.enumerable)); 414 PropertyDescriptor.prototype.setEnumerable = function(enumerable) { 415 this.enumerable_ = enumerable; 650 // Send flags - enumerable and configurable are common - writable is 652 // Take special care if enumerable and configurable is not defined on 939 // Setup non-enumerable functions on the Object.prototype object. 1137 // Setup non-enumerable functions on the Number prototype object [all...] |
prettyprinter.cc | 194 Visit(node->enumerable()); 854 PrintIndentedVisit("IN", node->enumerable()); 1247 Visit(stmt->enumerable()); [all...] |
math.js | 239 // Setup non-enumerable functions of the Math object and
|
ast.h | 534 void Initialize(Expression* each, Expression* enumerable, Statement* body) { 537 enumerable_ = enumerable; 541 Expression* enumerable() const { return enumerable_; } function in class:v8::internal::ForInStatement [all...] |
data-flow.cc | 292 ProcessExpression(stmt->enumerable());
|
string.js | 868 // Setup the non-enumerable functions on the String object. 874 // Setup the non-enumerable functions on the String prototype object.
|
uri.js | 390 // Setup non-enumerable URI functions on the global object and set
|
array.js | [all...] |
/external/chromium/net/data/proxy_resolver_v8_unittest/ |
pac_library_unittest.js | 346 // Unfortunately Date()'s methods are non-enumerable, therefore list manually.
|