Reviewers: rossberg,
Message:
Second patch set is the fix. I was naive. It turns out that we could
actually
get reentry, so that a stack of stored stack handlers and promise getters is
necessary.
Description:
Reland "Trigger exception debug event for promises at the throw site."
Please review this at https://codereview.chromium.org/266533003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+169, -115 lines):
M include/v8-debug.h
M src/debug.h
M src/debug.cc
M src/debug-debugger.js
M src/isolate.cc
M src/mirror-debugger.js
M src/promise.js
M src/runtime.h
M src/runtime.cc
M test/mjsunit/es6/debug-promises-caught-all.js
A + test/mjsunit/es6/debug-promises-caught-late.js
M test/mjsunit/es6/debug-promises-caught-uncaught.js
A test/mjsunit/es6/debug-promises-reentry.js
A + test/mjsunit/es6/debug-promises-throw-in-constructor.js
M test/mjsunit/es6/debug-promises-throw-in-reject.js
M test/mjsunit/es6/debug-promises-uncaught-all.js
M test/mjsunit/es6/debug-promises-uncaught-uncaught.js
M test/mjsunit/es6/debug-promises-undefined-reject.js
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.