Make deserialize-script-id test more robust.

R=machenbach@chromium.org
BUG=v8:4127
LOG=N

Review URL: https://codereview.chromium.org/1215123002

Cr-Commit-Position: refs/heads/master@{#29464}
This commit is contained in:
yangguo 2015-07-03 04:11:22 -07:00 committed by Commit bot
parent 619570b3dd
commit 787de93f4c
2 changed files with 0 additions and 8 deletions

View File

@ -10,13 +10,8 @@ Debug.setListener(function(){});
var scripts = %DebugGetLoadedScripts();
scripts.sort(function(a, b) { return a.id - b.id; });
var user_script_count = 0;
scripts.reduce(function(prev, cur) {
assertTrue(prev === undefined || prev.id != cur.id);
if (cur.type == 2) user_script_count++;
});
// Found mjsunit.js and this script.
assertEquals(2, user_script_count);
Debug.setListener(null);

View File

@ -592,9 +592,6 @@
# BUG(v8:3435)
'debug-script-breakpoints': [PASS, FAIL],
# BUG(v8:4127)
'deserialize-script-id': [PASS, ['no_snap == True', FLAKY]],
}], # 'system == windows'
##############################################################################