Reviewers: Michael Achenbach,
Description:
Make deserialize-script-id test more robust.
[email protected]
BUG=v8:4127
LOG=N
Please review this at https://codereview.chromium.org/1215123002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+0, -5 lines):
M test/mjsunit/deserialize-script-id.js
Index: test/mjsunit/deserialize-script-id.js
diff --git a/test/mjsunit/deserialize-script-id.js
b/test/mjsunit/deserialize-script-id.js
index
83658126bc072c530bf0895622065831ed9f9774..5dca9f353abcc26f98f43cf136cf27a5a0591114
100644
--- a/test/mjsunit/deserialize-script-id.js
+++ b/test/mjsunit/deserialize-script-id.js
@@ -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);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.