diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-11-09 22:24:22 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-11-09 22:27:22 +0100 |
commit | 3dcc9b93e1e4d80aa15a40a9d82a6b9f0bef0ec0 (patch) | |
tree | 2d1ef0b3d37dba578ebf018111273ede35546543 /deps | |
parent | ac2263b77f3f346458d06fc019de27e24c63cee0 (diff) | |
download | android-node-v8-3dcc9b93e1e4d80aa15a40a9d82a6b9f0bef0ec0.tar.gz android-node-v8-3dcc9b93e1e4d80aa15a40a9d82a6b9f0bef0ec0.tar.bz2 android-node-v8-3dcc9b93e1e4d80aa15a40a9d82a6b9f0bef0ec0.zip |
v8: unbreak `make native` build
The security fix from commit 6b92a713 also back-ported the test case.
Said test case relies on API that is only available in newer versions
of V8 and, as a result, broke the `make native` and `make <arch.mode>`
builds. This commit reverts that part of the back-port. Fixes the
following build error:
../test/cctest/test-api.cc: In function ‘void TestRegress260106()’:
../test/cctest/test-api.cc:17712:34: error: ‘class v8::Context’ has
no member named ‘GetIsolate’
Diffstat (limited to 'deps')
-rw-r--r-- | deps/v8/test/cctest/test-api.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/deps/v8/test/cctest/test-api.cc b/deps/v8/test/cctest/test-api.cc index bcd28bd673..728a8f7b42 100644 --- a/deps/v8/test/cctest/test-api.cc +++ b/deps/v8/test/cctest/test-api.cc @@ -17707,17 +17707,6 @@ THREADED_TEST(Regress157124) { } -THREADED_TEST(Regress260106) { - LocalContext context; - v8::HandleScope scope(context->GetIsolate()); - Local<FunctionTemplate> templ = FunctionTemplate::New(DummyCallHandler); - CompileRun("for (var i = 0; i < 128; i++) Object.prototype[i] = 0;"); - Local<Function> function = templ->GetFunction(); - CHECK(!function.IsEmpty()); - CHECK(function->IsFunction()); -} - - #ifndef WIN32 class ThreadInterruptTest { public: |