Repro for crbug.com/1270780
This checks that the debugger breaks correctly on promise rejections in async generators
Steps
- Open DevTools
- Turn on Pause on exceptions in the Sources panel (while leaving Pause on uncaught exceptions turned off)
- Click
- Observe that the debugger doesn't stop
- Turn on Pause on uncaught exceptions
- Click
- Observe that the debugger stops in
crbug-1270780.js:6
- Hit Resume
- Observe that the script finishes execution