| Index: test/mjsunit/debug-mirror-cache.js
|
| diff --git a/test/mjsunit/debug-mirror-cache.js b/test/mjsunit/debug-mirror-cache.js
|
| index 5b85306a18c791ba833958c2d7e519d25376532a..a72232e16983cb5ce888335bb4970539c3d10767 100644
|
| --- a/test/mjsunit/debug-mirror-cache.js
|
| +++ b/test/mjsunit/debug-mirror-cache.js
|
| @@ -30,15 +30,15 @@
|
| // testing of source line/column easier.
|
| function f(x, y) {
|
| a=1;
|
| -};
|
| +}
|
|
|
| function g() {
|
| new f(1);
|
| -};
|
| +}
|
|
|
|
|
| // Get the Debug object exposed from the debug context global object.
|
| -Debug = debug.Debug
|
| +Debug = debug.Debug;
|
|
|
| listenerCallCount = 0;
|
| listenerExceptions = [];
|
| @@ -46,8 +46,7 @@ listenerExceptions = [];
|
|
|
| function listener(event, exec_state, event_data, data) {
|
| try {
|
| - if (event == Debug.DebugEvent.Break)
|
| - {
|
| + if (event == Debug.DebugEvent.Break) {
|
| listenerCallCount++;
|
|
|
| // Check that mirror cache is cleared when entering debugger.
|
| @@ -59,7 +58,7 @@ function listener(event, exec_state, event_data, data) {
|
|
|
| // Make a backtrace request to create some mirrors.
|
| var json;
|
| - json = '{"seq":0,"type":"request","command":"backtrace"}'
|
| + json = '{"seq":0,"type":"request","command":"backtrace"}';
|
| dcp.processDebugJSONRequest(json);
|
|
|
| // Some mirrors where cached.
|
| @@ -69,8 +68,8 @@ function listener(event, exec_state, event_data, data) {
|
| } catch (e) {
|
| print(e);
|
| listenerExceptions.push(e);
|
| - };
|
| -};
|
| + }
|
| +}
|
|
|
| // Add the debug event listener.
|
| Debug.setListener(listener);
|
|
|