Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(594)

Issue 23600034: Use TRYCATCH_FOR_V8STRINGRESOURCE in AbstractEventListener::invokeEventHandler() (Closed)

Created:
7 years, 3 months ago by do-not-use
Modified:
7 years, 3 months ago
CC:
blink-reviews, Nils Barth (inactive), kojih, jsbell+bindings_chromium.org, eae+blinkwatch, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, adamk+blink_chromium.org, haraken, Nate Chapin
Visibility:
Public.

Description

Use TRYCATCH_FOR_V8STRINGRESOURCE in AbstractEventListener::invokeEventHandler() Use TRYCATCH_FOR_V8STRINGRESOURCE in AbstractEventListener::invokeEventHandler() instead of toWebCoreString() so that exceptions raised by ToString() are no longer ignored. This affects the string returned by the onbeforeunload callback. R=haraken BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157673

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fix nits #

Patch Set 3 : Fix nits #

Patch Set 4 : Use a frame in the test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -2 lines) Patch
A LayoutTests/fast/events/before-unload-return-bad-value.html View 1 2 3 1 chunk +32 lines, -0 lines 1 comment Download
A LayoutTests/fast/events/before-unload-return-bad-value-expected.txt View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M Source/bindings/v8/V8AbstractEventListener.cpp View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
do-not-use
https://codereview.chromium.org/23600034/diff/1/LayoutTests/fast/events/before-unload-return-bad-value.html File LayoutTests/fast/events/before-unload-return-bad-value.html (right): https://codereview.chromium.org/23600034/diff/1/LayoutTests/fast/events/before-unload-return-bad-value.html#newcode20 LayoutTests/fast/events/before-unload-return-bad-value.html:20: setTimeout(finishJSTest, 0); I am not quite sure why this ...
7 years, 3 months ago (2013-09-11 09:00:42 UTC) #1
haraken
LGTM https://codereview.chromium.org/23600034/diff/1/LayoutTests/fast/events/before-unload-return-bad-value.html File LayoutTests/fast/events/before-unload-return-bad-value.html (right): https://codereview.chromium.org/23600034/diff/1/LayoutTests/fast/events/before-unload-return-bad-value.html#newcode20 LayoutTests/fast/events/before-unload-return-bad-value.html:20: setTimeout(finishJSTest, 0); On 2013/09/11 09:00:43, Christophe Dumez wrote: ...
7 years, 3 months ago (2013-09-11 09:08:43 UTC) #2
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/23600034/diff/1/LayoutTests/fast/events/before-unload-return-bad-value.html File LayoutTests/fast/events/before-unload-return-bad-value.html (right): https://codereview.chromium.org/23600034/diff/1/LayoutTests/fast/events/before-unload-return-bad-value.html#newcode11 LayoutTests/fast/events/before-unload-return-bad-value.html:11: setTimeout(finishJSTest, 0); Why is this needed? window.onerror calls ...
7 years, 3 months ago (2013-09-11 13:42:18 UTC) #3
do-not-use
https://codereview.chromium.org/23600034/diff/1/LayoutTests/fast/events/before-unload-return-bad-value.html File LayoutTests/fast/events/before-unload-return-bad-value.html (right): https://codereview.chromium.org/23600034/diff/1/LayoutTests/fast/events/before-unload-return-bad-value.html#newcode11 LayoutTests/fast/events/before-unload-return-bad-value.html:11: setTimeout(finishJSTest, 0); On 2013/09/11 13:42:19, arv wrote: > Why ...
7 years, 3 months ago (2013-09-11 14:12:28 UTC) #4
arv (Not doing code reviews)
On 2013/09/11 14:12:28, Christophe Dumez wrote: > https://codereview.chromium.org/23600034/diff/1/LayoutTests/fast/events/before-unload-return-bad-value.html > File LayoutTests/fast/events/before-unload-return-bad-value.html (right): > > https://codereview.chromium.org/23600034/diff/1/LayoutTests/fast/events/before-unload-return-bad-value.html#newcode11 ...
7 years, 3 months ago (2013-09-11 14:16:53 UTC) #5
do-not-use
On 2013/09/11 14:16:53, arv wrote: > On 2013/09/11 14:12:28, Christophe Dumez wrote: > > > ...
7 years, 3 months ago (2013-09-11 14:39:07 UTC) #6
do-not-use
https://codereview.chromium.org/23600034/diff/16001/LayoutTests/fast/events/before-unload-return-bad-value.html File LayoutTests/fast/events/before-unload-return-bad-value.html (right): https://codereview.chromium.org/23600034/diff/16001/LayoutTests/fast/events/before-unload-return-bad-value.html#newcode15 LayoutTests/fast/events/before-unload-return-bad-value.html:15: setTimeout(finishJSTest, 0); I updated the test to use an ...
7 years, 3 months ago (2013-09-11 15:13:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/23600034/16001
7 years, 3 months ago (2013-09-12 11:06:05 UTC) #8
commit-bot: I haz the power
7 years, 3 months ago (2013-09-12 11:42:58 UTC) #9
Message was sent while issue was closed.
Change committed as 157673

Powered by Google App Engine
This is Rietveld 408576698