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

Unified Diff: test/debugger/test-api.js

Issue 2480293009: [debug-wrapper] Add caught/uncaught to exception pauses (Closed)
Patch Set: Created 4 years, 1 month 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/debugger/debug/es6/debug-promises/stepin-handler.js ('k') | test/mjsunit/debug-event-listener.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/debugger/test-api.js
diff --git a/test/debugger/test-api.js b/test/debugger/test-api.js
index b1f1db8ccd4af59f6884ac4e61791e8b1bf30190..3bb56f736b260c3fbcd60429f018705864b66487 100644
--- a/test/debugger/test-api.js
+++ b/test/debugger/test-api.js
@@ -303,7 +303,12 @@ class DebugWrapper {
: params.callFrames[0]),
frameCount : () => params.callFrames.length
};
+
let eventData = this.execStateFrame(params.callFrames[0]);
+ if (debugEvent == this.DebugEvent.Exception) {
+ eventData.uncaught = () => params.data.uncaught;
+ }
+
this.invokeListener(debugEvent, execState, eventData);
}
« no previous file with comments | « test/debugger/debug/es6/debug-promises/stepin-handler.js ('k') | test/mjsunit/debug-event-listener.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698