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:
parent
619570b3dd
commit
787de93f4c
@ -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);
|
||||
|
@ -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'
|
||||
|
||||
##############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user