 Chromium Code Reviews
 Chromium Code Reviews Issue 8818005:
  Use the old handler for low frequency idle notifications.  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
    
  
    Issue 8818005:
  Use the old handler for low frequency idle notifications.  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge| Index: test/cctest/test-api.cc | 
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc | 
| index 87e322c96ab06d3259d6adfa2d4e23b9d0f0203f..3f444b3708a833715d383878312928404c338943 100644 | 
| --- a/test/cctest/test-api.cc | 
| +++ b/test/cctest/test-api.cc | 
| @@ -13454,16 +13454,12 @@ THREADED_TEST(IdleNotification) { | 
| "};" | 
| "binom(1000, 500)"); | 
| bool rv = false; | 
| - intptr_t old_size = HEAP->SizeOfObjects(); | 
| - bool no_idle_work = v8::V8::IdleNotification(); | 
| for (int i = 0; i < 100; i++) { | 
| rv = v8::V8::IdleNotification(); | 
| if (rv) | 
| break; | 
| } | 
| CHECK(rv == true); | 
| - intptr_t new_size = HEAP->SizeOfObjects(); | 
| - CHECK(no_idle_work || new_size < 3 * old_size / 4); | 
| 
ulan
2011/12/06 14:29:09
Restoring this test to the state before I added th
 | 
| } | 
| // Test that idle notification can be handled and eventually returns true. |