| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 7c7fed5cda40c2c73393c623efb2f36935a09c74..a6d1de705aca385323251e0d3fd46f70fda25dde 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -12870,6 +12870,19 @@ THREADED_TEST(VariousGetPropertiesAndThrowingCallbacks) {
|
| CHECK(try_catch.HasCaught());
|
| try_catch.Reset();
|
| CHECK(result.IsEmpty());
|
| +
|
| + Local<Object> target = CompileRun("({})").As<Object>();
|
| + Local<Object> handler = CompileRun("({})").As<Object>();
|
| + Local<v8::Proxy> proxy =
|
| + v8::Proxy::New(context.local(), target, handler).ToLocalChecked();
|
| +
|
| + result = target->GetRealNamedProperty(context.local(), v8_str("f"));
|
| + CHECK(!try_catch.HasCaught());
|
| + CHECK(result.IsEmpty());
|
| +
|
| + result = proxy->GetRealNamedProperty(context.local(), v8_str("f"));
|
| + CHECK(!try_catch.HasCaught());
|
| + CHECK(result.IsEmpty());
|
| }
|
|
|
|
|
|
|