| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index 1e43d8b1a31e08226745d052dbfdacecf1799781..adab79bdbafda9d0f68889ae79729e597f3d57a2 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -2429,7 +2429,11 @@ void ReleaseStackTraceDataTest(const char* source) {
|
| CHECK(!resource->IsDisposed());
|
| }
|
| HEAP->CollectAllAvailableGarbage();
|
| + // External source is being retained by the stack trace.
|
| + CHECK(!resource->IsDisposed());
|
|
|
| + CompileRun("error.stack;");
|
| + HEAP->CollectAllAvailableGarbage();
|
| // External source has been released.
|
| CHECK(resource->IsDisposed());
|
| delete resource;
|
|
|