|
|
Created:
6 years, 9 months ago by yhirano Modified:
6 years, 9 months ago Reviewers:
dcarney CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, sof, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin, Inactive Base URL:
https://chromium.googlesource.com/chromium/blink.git@master Visibility:
Public. |
DescriptionThrow empty error from V8PromiseCustom
Blink and the inspector cannot deal with a stack overflow exception
thrown from V8PromiseCustom.
As a workaround, V8PromiseCustom throws an empty error when some exception
is thrown.
BUG=345088
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169028
Patch Set 1 #
Messages
Total messages: 24 (0 generated)
PTAL I think this is better than another one[1]. If you think [1] is better, please review it. [1] https://codereview.chromium.org/194443004/
> As a workaround, V8PromiseCustom throws an empty error when some exception is thrown. It looks like the CL is throwing nothing instead of throwing "an empty error". Are you intending to "ignore" exceptions thrown by V8PromiseCustom?
> It looks like the CL is throwing nothing instead of throwing "an empty error". > Are you intending to "ignore" exceptions thrown by V8PromiseCustom? Actually I want to throw another Error by using V8ThrowException::throwError or something. But when I do so the original StackOverFlow is thrown, ignoring my operation. It seems catching an exception and throwing another exception is impossible from the V8 public API. Instead of that, If I return an empty value without throwing an exception, an Error other than StackOverFlow is printed on the console and it works for me.
lgtm, but i think this should be handled in the inspector and not like this
On 2014/03/12 08:26:18, dcarney wrote: > lgtm, but i think this should be handled in the inspector and not like this Thanks, I land this for now and will seek a better way.
The CQ bit was checked by yhirano@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/194713006/1
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_blink_compile
The CQ bit was checked by yhirano@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/194713006/1
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_blink_rel
The CQ bit was checked by yhirano@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/194713006/1
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_blink
The CQ bit was checked by yhirano@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/194713006/1
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_blink
The CQ bit was checked by yhirano@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/194713006/1
Message was sent while issue was closed.
Change committed as 169028 |