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

Unified Diff: test/debugger/debug/harmony/async-debug-caught-exception-cases.js

Issue 2546093002: [debugger] use abortjs to quit (Closed)
Patch Set: Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/debugger/debug/harmony/async-debug-caught-exception-cases.js
diff --git a/test/debugger/debug/harmony/async-debug-caught-exception-cases.js b/test/debugger/debug/harmony/async-debug-caught-exception-cases.js
index 99dc515bc25692065c0f50f22c444702e3e7351b..75563a726a1859fedb5cd4fbf970219238a25cff 100644
--- a/test/debugger/debug/harmony/async-debug-caught-exception-cases.js
+++ b/test/debugger/debug/harmony/async-debug-caught-exception-cases.js
@@ -208,9 +208,8 @@ function runPart(n) {
Debug.clearBreakOnUncaughtException();
}
if (expectedEvents != events) {
- print(`producer ${producer} consumer ${consumer} expectedEvents ` +
- `${expectedEvents} caught ${caught} events ${events}`);
- quit(1);
+ %AbortJS(`producer ${producer} consumer ${consumer} expectedEvents ` +
+ `${expectedEvents} caught ${caught} events ${events}`);
}
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698