| Index: test/mjsunit/debug-continue.js
|
| diff --git a/test/mjsunit/debug-continue.js b/test/mjsunit/debug-continue.js
|
| index a501aa925c40ddb41566774dd4c8557ea049b99a..6512117b7357168a3b130db5be606ff9dd126e6c 100644
|
| --- a/test/mjsunit/debug-continue.js
|
| +++ b/test/mjsunit/debug-continue.js
|
| @@ -27,13 +27,13 @@
|
|
|
| // Flags: --expose-debug-as debug
|
| // Get the Debug object exposed from the debug context global object.
|
| -Debug = debug.Debug
|
| +Debug = debug.Debug;
|
|
|
| // Simple function which stores the last debug event.
|
| listenerComplete = false;
|
| exception = false;
|
|
|
| -var base_request = '"seq":0,"type":"request","command":"continue"'
|
| +var base_request = '"seq":0,"type":"request","command":"continue"';
|
|
|
| function safeEval(code) {
|
| try {
|
| @@ -53,7 +53,7 @@ function testArguments(exec_state, arguments, success) {
|
| if (arguments) {
|
| request = '{' + base_request + ',"arguments":' + arguments + '}';
|
| } else {
|
| - request = '{' + base_request + '}'
|
| + request = '{' + base_request + '}';
|
| }
|
| var response = safeEval(dcp.processDebugJSONRequest(request));
|
| if (success) {
|
| @@ -90,25 +90,25 @@ function listener(event, exec_state, event_data, data) {
|
| listenerComplete = true;
|
| }
|
| } catch (e) {
|
| - exception = e
|
| - };
|
| -};
|
| + exception = e;
|
| + }
|
| +}
|
|
|
| // Add the debug event listener.
|
| Debug.setListener(listener);
|
|
|
| function f() {
|
| - a=1
|
| -};
|
| + a=1;
|
| +}
|
|
|
| function g() {
|
| f();
|
| -};
|
| +}
|
|
|
| // Set a break point and call to invoke the debug event listener.
|
| Debug.setBreakPoint(g, 0, 0);
|
| g();
|
|
|
| -assertFalse(exception, "exception in listener")
|
| +assertFalse(exception, "exception in listener");
|
| // Make sure that the debug event listener vas invoked.
|
| assertTrue(listenerComplete, "listener did not run to completion");
|
|
|