Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: test/mjsunit/deserialize-script-id.js

Issue 1215123002: Make deserialize-script-id test more robust. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: update status file Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698