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

Unified Diff: test/mjsunit/debug-mirror-cache.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments 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
« no previous file with comments | « test/mjsunit/debug-liveedit-utils.js ('k') | test/mjsunit/debug-multiple-breakpoints.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « test/mjsunit/debug-liveedit-utils.js ('k') | test/mjsunit/debug-multiple-breakpoints.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698