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); |
} |