Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index eeb786518e8d6ca13cb5b915505017c925d98573..b39585422a1a3578afb8e338db376217d1010708 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -10074,7 +10074,8 @@ THREADED_TEST(Regress91517) { |
// Call the runtime version of GetLocalPropertyNames() on the natively |
// created object through JavaScript. |
context->Global()->Set(v8_str("obj"), o4); |
- CompileRun("var names = %GetLocalPropertyNames(obj, true);"); |
+ // PROPERTY_ATTRIBUTES_NONE = 0 |
+ CompileRun("var names = %GetLocalPropertyNames(obj, 0);"); |
ExpectInt32("names.length", 1006); |
ExpectTrue("names.indexOf(\"baz\") >= 0"); |
@@ -10128,7 +10129,8 @@ THREADED_TEST(Regress269562) { |
// the natively created object through JavaScript. |
context->Global()->Set(v8_str("obj"), o2); |
context->Global()->Set(v8_str("sym"), sym); |
- CompileRun("var names = %GetLocalPropertyNames(obj, true);"); |
+ // PROPERTY_ATTRIBUTES_NONE = 0 |
+ CompileRun("var names = %GetLocalPropertyNames(obj, 0);"); |
ExpectInt32("names.length", 7); |
ExpectTrue("names.indexOf(\"foo\") >= 0"); |
@@ -21052,7 +21054,8 @@ TEST(AccessCheckThrows) { |
CheckCorrectThrow("%HasElement(other, 1)"); |
CheckCorrectThrow("%IsPropertyEnumerable(other, 'x')"); |
CheckCorrectThrow("%GetPropertyNames(other)"); |
- CheckCorrectThrow("%GetLocalPropertyNames(other, true)"); |
+ // PROPERTY_ATTRIBUTES_NONE = 0 |
+ CheckCorrectThrow("%GetLocalPropertyNames(other, 0)"); |
CheckCorrectThrow("%DefineOrRedefineAccessorProperty(" |
"other, 'x', null, null, 1)"); |