Skip to content

Commit 3dcc9b9

Browse files
committed
v8: unbreak make native build
The security fix from commit 6b92a71 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’
1 parent ac2263b commit 3dcc9b9

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

deps/v8/test/cctest/test-api.cc

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17707,17 +17707,6 @@ THREADED_TEST(Regress157124) {
1770717707
}
1770817708

1770917709

17710-
THREADED_TEST(Regress260106) {
17711-
LocalContext context;
17712-
v8::HandleScope scope(context->GetIsolate());
17713-
Local<FunctionTemplate> templ = FunctionTemplate::New(DummyCallHandler);
17714-
CompileRun("for (var i = 0; i < 128; i++) Object.prototype[i] = 0;");
17715-
Local<Function> function = templ->GetFunction();
17716-
CHECK(!function.IsEmpty());
17717-
CHECK(function->IsFunction());
17718-
}
17719-
17720-
1772117710
#ifndef WIN32
1772217711
class ThreadInterruptTest {
1772317712
public:

0 commit comments

Comments
 (0)