| Index: test/mjsunit/debug-scripts-request.js
|
| ===================================================================
|
| --- test/mjsunit/debug-scripts-request.js (revision 11446)
|
| +++ test/mjsunit/debug-scripts-request.js (working copy)
|
| @@ -78,8 +78,10 @@
|
| var response = safeEval(dcp.processDebugJSONRequest(request));
|
| assertTrue(response.success);
|
|
|
| - // Test filtering by id.
|
| - assertEquals(2, response.body.length);
|
| + // Test filtering by id. We have to get at least one script back, but
|
| + // the exact number depends on the timing of GC.
|
| + assertTrue(response.body.length >= 1);
|
| +
|
| var script = response.body[0];
|
| var request = '{' + base_request + ',"arguments":{"ids":[' +
|
| script.id + ']}}';
|
|
|