| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 3f444b3708a833715d383878312928404c338943..8b618d4906125d77c88361235bedac41405f0226 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -13438,6 +13438,8 @@ TEST(SourceURLInStackTrace) {
|
|
|
|
|
| // Test that idle notification can be handled and eventually returns true.
|
| +// This just checks the contract of the IdleNotification() function,
|
| +// and does not verify that it does reasonable work.
|
| THREADED_TEST(IdleNotification) {
|
| v8::HandleScope scope;
|
| LocalContext env;
|
| @@ -13463,6 +13465,8 @@ THREADED_TEST(IdleNotification) {
|
| }
|
|
|
| // Test that idle notification can be handled and eventually returns true.
|
| +// This just checks the contract of the IdleNotification() function,
|
| +// and does not verify that it does reasonable work.
|
| THREADED_TEST(IdleNotificationWithHint) {
|
| v8::HandleScope scope;
|
| LocalContext env;
|
| @@ -13488,7 +13492,7 @@ THREADED_TEST(IdleNotificationWithHint) {
|
| }
|
| CHECK(rv == true);
|
| intptr_t new_size = HEAP->SizeOfObjects();
|
| - CHECK(no_idle_work || new_size < 3 * old_size / 4);
|
| + CHECK(no_idle_work || new_size < old_size);
|
| }
|
|
|
|
|
|
|