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

Unified Diff: test/mjsunit/debug-compile-event.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years 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
Index: test/mjsunit/debug-compile-event.js
diff --git a/test/mjsunit/debug-compile-event.js b/test/mjsunit/debug-compile-event.js
index 94dddfa1049f8ec9a5415aa55701364eb8eaf673..36302935d5ee75056ad08ca1da15903425fc943b 100644
--- a/test/mjsunit/debug-compile-event.js
+++ b/test/mjsunit/debug-compile-event.js
@@ -27,7 +27,7 @@
// Flags: --expose-debug-as debug
// Get the Debug object exposed from the debug context global object.
-Debug = debug.Debug
+Debug = debug.Debug;
var exception = false; // Exception in debug event listener.
var before_compile_count = 0;
@@ -86,9 +86,9 @@ function listener(event, exec_state, event_data, data) {
event_data.script().name());
}
} catch (e) {
- exception = e
+ exception = e;
}
-};
+}
// Add the debug event listener.
@@ -106,7 +106,7 @@ compileSource('JSON.parse(\'{"a":1,"b":2}\')');
compileSource('x=1; //@ sourceURL=myscript.js');
// Make sure that the debug event listener was invoked.
-assertFalse(exception, "exception in listener")
+assertFalse(exception, "exception in listener");
// Number of before and after compile events should be the same.
assertEquals(before_compile_count, after_compile_count);

Powered by Google App Engine
This is Rietveld 408576698