Index: test/mjsunit/debug-mirror-cache.js |
diff --git a/test/mjsunit/debug-mirror-cache.js b/test/mjsunit/debug-mirror-cache.js |
index 07aaf880dccbcdbfc3371fd327c38f28fcc9f3db..c690aa01332f98ebd79b8e2685733d5d452164c2 100644 |
--- a/test/mjsunit/debug-mirror-cache.js |
+++ b/test/mjsunit/debug-mirror-cache.js |
@@ -62,6 +62,9 @@ function listener(event, exec_state, event_data, data) { |
json = '{"seq":0,"type":"request","command":"backtrace"}' |
dcp.processDebugJSONRequest(json); |
+ // Make sure looking up loaded scripts does not clear the cache. |
+ Debug.scripts(); |
+ |
// Some mirrors where cached. |
assertFalse(debug.next_handle_ == 0, "Mirror cache not used"); |
assertFalse(debug.mirror_cache_.length == 0, "Mirror cache not used"); |