In V8Binding.cpp, throw all exceptions via ExceptionState& argument
In those the conversion functions that take an ExceptionState& argument, always throw via the ExceptionState object, and never directly to V8. Various existing callers assume this, and fail to detect exceptions that were thrown directly to V8. This misbehavior is a regression from https://codereview.chromium.org/313033002/ which changed the definition of the TONATIVE_DEFAULT_EXCEPTIONSTATE() macro, but these functions were somewhat tricky to use even before then, since exceptions were sometimes thrown to V8 and sometimes not, while always stored in the ExceptionState object. Review URL: https://codereview.chromium.org/559553003 git-svn-id: svn://svn.chromium.org/blink/trunk@181709 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment