DescriptionRemove V8TryCatchRethrowScope from private script bindings
When a private script throws an exception, what the private script binding does is:
- if the exception is the one supported in private scripts,
the private script binding clones the exception in the user's script and throws it.
- if the exception is the one not (yet) supported in private scripts,
the private script binding dies.
Since these operations are done explicitly, we should use ReThrow()
instead of relying on V8TryCatchRethrowScope. (V8TryCatchRethrowScope is not
a proper mechanism for doing this because V8TryCatchRethrowScope is intended
to be used to rethrow an exception the way it is without doing any conversion.)
BUG=341031
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179955
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 10 (0 generated)
|