Index: test/mjsunit/es6/debug-promises/throw-caught-by-default-reject-handler.js |
diff --git a/test/mjsunit/es6/debug-promises/throw-caught-by-default-reject-handler.js b/test/mjsunit/es6/debug-promises/throw-caught-by-default-reject-handler.js |
index 89fc060c9f2778f1f3fc1dabf88659292ac78a05..36b5565e5f807dcf5ef4e763167ce0d5155775d7 100644 |
--- a/test/mjsunit/es6/debug-promises/throw-caught-by-default-reject-handler.js |
+++ b/test/mjsunit/es6/debug-promises/throw-caught-by-default-reject-handler.js |
@@ -5,8 +5,10 @@ |
// Flags: --expose-debug-as debug --allow-natives-syntax |
// Test debug events when we only listen to uncaught exceptions and |
-// there is a catch handler for the to-be-rejected Promise. |
-// We expect an Exception debug event with a promise to be triggered. |
+// there is only a default reject handler for the to-be-rejected Promise. |
+// We expect two Exception debug events: |
+// - when the first Promise is rejected and only has default reject handlers. |
+// - when the default reject handler passes the rejection on. |
Debug = debug.Debug; |