| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 6cdc500ceb8fb4101c99840c0f5636f360436f75..cae23e5fdd16c4d2def4b905b10fea45c9e381b6 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_KEY_STRING | PROPERTY_KEY_SYMBOL
|
| + CompileRun("var names = %GetLocalPropertyNames(obj, 3);");
|
|
|
| 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_KEY_STRING | PROPERTY_KEY_SYMBOL
|
| + CheckCorrectThrow("%GetLocalPropertyNames(other, 3)");
|
| CheckCorrectThrow("%DefineOrRedefineAccessorProperty("
|
| "other, 'x', null, null, 1)");
|
|
|
|
|