DescriptionFix a double-throw in JSReceiver::DefineProperties
If ToObject() has thrown, do not throw another exception. The reason
this does not currently fail is that 1. Errors used to be created
through JS natives, and 2. the JSEntryStub clears any pending
exceptions. So, when calling into JS to create the new error, the old
exception was cleared.
BUG=5259
Committed: https://crrev.com/588eefef6d6eb04b6e19ed4bbb0b82dc5a601ccf
Cr-Commit-Position: refs/heads/master@{#38300}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|