aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/deserialize-script-id.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/deserialize-script-id.js')
-rw-r--r--deps/v8/test/mjsunit/deserialize-script-id.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/deps/v8/test/mjsunit/deserialize-script-id.js b/deps/v8/test/mjsunit/deserialize-script-id.js
deleted file mode 100644
index 5dca9f353a..0000000000
--- a/deps/v8/test/mjsunit/deserialize-script-id.js
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2015 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Flags: --allow-natives-syntax --cache=code
-// Test that script ids are unique and we found the correct ones.
-
-var Debug = %GetDebugContext().Debug;
-Debug.setListener(function(){});
-
-var scripts = %DebugGetLoadedScripts();
-scripts.sort(function(a, b) { return a.id - b.id; });
-scripts.reduce(function(prev, cur) {
- assertTrue(prev === undefined || prev.id != cur.id);
-});
-
-Debug.setListener(null);