|
Report promise reject with no handler (behind a flag).
Main changes include:
- refactorings of exception handling in isolate.cc.
- explicit marking of whether a reject handler exists/existed.
- explicit marking of already reported promises.
- test cases
R=aandrey@chromium.org, rossberg@chromium.org, yurys@chromium.org
BUG= v8:3093
API=v8::Message::GetPromise(), v8::Promise::HasRejectHandler()
LOG=Y
Total comments: 6
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+436 lines, -158 lines) |
Patch |
 |
M |
include/v8.h
|
View
|
|
4 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/api.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/api.cc
|
View
|
1
|
2 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/bootstrapper.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/contexts.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/debug.h
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
src/debug.cc
|
View
|
1
2
|
5 chunks |
+11 lines, -16 lines |
0 comments
|
Download
|
 |
M |
src/execution.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/execution.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/factory.h
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/factory.cc
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/flag-definitions.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/heap/heap.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/heap/heap.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/isolate.h
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/isolate.cc
|
View
|
|
5 chunks |
+141 lines, -97 lines |
0 comments
|
Download
|
 |
M |
src/messages.h
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/messages.cc
|
View
|
|
2 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
src/objects.h
|
View
|
1
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/objects-inl.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/objects-printer.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/promise.js
|
View
|
|
4 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
src/runtime/runtime.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/runtime.cc
|
View
|
|
1 chunk |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
test/cctest/test-api.cc
|
View
|
|
1 chunk |
+106 lines, -0 lines |
0 comments
|
Download
|
 |
M |
test/cctest/test-debug.cc
|
View
|
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|