DescriptionIn 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.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181709
Patch Set 1 #
Total comments: 7
Patch Set 2 : #Messages
Total messages: 13 (2 generated)
|