| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 6cdc500ceb8fb4101c99840c0f5636f360436f75..f03b76c33f86882393a74d5f3a9671e032492f0e 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -9947,7 +9947,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");
|
| @@ -20706,7 +20707,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)");
|
|
|
|
|