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

Issue 692313003: Allow uncaught exception messaging in Object.observe callbacks. (Closed)

Created:
6 years, 1 month ago by aandrey
Modified:
6 years, 1 month ago
Reviewers:
adamk, rossberg, yurys, Yang
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Allow uncaught exception messaging in Object.observe callbacks. This also naturally handles pausing on uncaught exceptions in Object.observe callbacks. R=adamk@chromium.org, yangguo@chromium.org, yurys@chromium.org BUG=chromium:335660 LOG=Y Committed: https://code.google.com/p/v8/source/detail?r=25126

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : added cctest/test-api/ApiUncaughtExceptionInObjectObserve #

Patch Set 4 : fixed DCHECK fail #

Patch Set 5 : test stack overflow in O.o callback #

Total comments: 1

Patch Set 6 : addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -3 lines) Patch
M src/object-observe.js View 1 chunk +2 lines, -3 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-observe.cc View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download
M test/cctest/test-debug.cc View 1 chunk +26 lines, -0 lines 0 comments Download
M test/cctest/test-object-observe.cc View 1 chunk +53 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
aandrey
https://codereview.chromium.org/692313003/diff/1/test/cctest/test-object-observe.cc File test/cctest/test-object-observe.cc (right): https://codereview.chromium.org/692313003/diff/1/test/cctest/test-object-observe.cc#newcode161 test/cctest/test-object-observe.cc:161: TEST(DeliveryChangesMutationInCallback) { this test is not related to the ...
6 years, 1 month ago (2014-11-01 15:30:51 UTC) #1
aandrey
6 years, 1 month ago (2014-11-01 15:36:26 UTC) #3
aandrey
Debug build is failing on a DCHECK: Fatal error in ../src/execution.cc, line 112 # CHECK(has_exception ...
6 years, 1 month ago (2014-11-01 16:30:17 UTC) #4
aandrey
On 2014/11/01 16:30:17, aandrey wrote: > Debug build is failing on a DCHECK: > > ...
6 years, 1 month ago (2014-11-02 13:06:43 UTC) #5
Yang
On 2014/11/02 13:06:43, aandrey wrote: > On 2014/11/01 16:30:17, aandrey wrote: > > Debug build ...
6 years, 1 month ago (2014-11-03 12:31:27 UTC) #6
Yang
https://codereview.chromium.org/692313003/diff/80001/src/runtime/runtime-observe.cc File src/runtime/runtime-observe.cc (right): https://codereview.chromium.org/692313003/diff/80001/src/runtime/runtime-observe.cc#newcode61 src/runtime/runtime-observe.cc:61: // We should send a message on uncaught exception ...
6 years, 1 month ago (2014-11-03 12:31:35 UTC) #7
adamk
lgtm, though I wonder how much of a perf hit due to the extra js ...
6 years, 1 month ago (2014-11-04 23:43:52 UTC) #8
aandrey
On 2014/11/04 23:43:52, adamk wrote: > lgtm, though I wonder how much of a perf ...
6 years, 1 month ago (2014-11-05 07:23:11 UTC) #9
aandrey
6 years, 1 month ago (2014-11-05 07:23:39 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 (id:90001) manually as 25126 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698