| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 7fac9fd6180d08fe554ad264a16ca3aa21d6fa28..1e12652c0a70aafe527b40be717e5f7c5b876cec 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -17435,6 +17435,16 @@ THREADED_TEST(Regress137496) {
|
| }
|
|
|
|
|
| +THREADED_TEST(Regress149912) {
|
| + v8::HandleScope scope;
|
| + LocalContext context;
|
| + Handle<FunctionTemplate> templ = FunctionTemplate::New();
|
| + AddInterceptor(templ, EmptyInterceptorGetter, EmptyInterceptorSetter);
|
| + context->Global()->Set(v8_str("Bug"), templ->GetFunction());
|
| + CompileRun("Number.prototype.__proto__ = new Bug; var x = 0; x.foo();");
|
| +}
|
| +
|
| +
|
| #ifndef WIN32
|
| class ThreadInterruptTest {
|
| public:
|
|
|