Chromium Code Reviews

Issue 693183002: Show correct location of unhandled promise rejection messages when DevTools closed. (Closed)

Created:
6 years, 1 month ago by aandrey
Modified:
6 years, 1 month ago
Reviewers:
vsevik, pfeldman, yurys
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, blink-reviews-bindings_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, arv+blink, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Project:
blink
Visibility:
Public.

Description

Show correct location of unhandled promise rejection messages when DevTools closed. BUG=427954 R=yurys, pfeldman Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185363

Patch Set 1 #

Total comments: 12

Patch Set 2 : addressed #

Total comments: 4

Patch Set 3 : addressed #

Patch Set 4 : rebased #

Patch Set 5 : rebased #

Total comments: 3
Unified diffs Side-by-side diffs Stats (+134 lines, -90 lines)
A + LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html View 4 chunks +24 lines, -37 lines 1 comment
A LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector-expected.txt View 1 chunk +18 lines, -0 lines 0 comments
M LayoutTests/inspector/console/console-uncaught-promise.html View 1 chunk +1 line, -1 line 0 comments
M LayoutTests/inspector/console/console-uncaught-promise-in-worker-expected.txt View 1 chunk +4 lines, -4 lines 1 comment
M Source/bindings/core/v8/V8Initializer.cpp View 8 chunks +87 lines, -48 lines 1 comment

Messages

Total messages: 38 (12 generated)
aandrey
Depends on https://codereview.chromium.org/696703002/ patch to V8.
6 years, 1 month ago (2014-10-31 16:30:58 UTC) #1
aandrey
ping
6 years, 1 month ago (2014-11-06 20:42:46 UTC) #3
vsevik
https://codereview.chromium.org/693183002/diff/1/LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html File LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html (right): https://codereview.chromium.org/693183002/diff/1/LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html#newcode18 LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html:18: m0.catch(function() { { on the next line https://codereview.chromium.org/693183002/diff/1/LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html#newcode49 LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html:49: ...
6 years, 1 month ago (2014-11-07 06:26:39 UTC) #4
yurys
https://codereview.chromium.org/693183002/diff/1/LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html File LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html (right): https://codereview.chromium.org/693183002/diff/1/LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html#newcode49 LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html:49: function runTest() On 2014/11/07 06:26:38, vsevik wrote: > Why ...
6 years, 1 month ago (2014-11-07 12:49:27 UTC) #5
vsevik
> I believe the intent was to run this test without inspector being opened first. ...
6 years, 1 month ago (2014-11-07 12:54:48 UTC) #6
vsevik
On 2014/11/07 12:49:27, yurys wrote: > https://codereview.chromium.org/693183002/diff/1/LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html > File LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html > https://codereview.chromium.org/693183002/diff/1/Source/bindings/core/v8/V8Initializer.cpp#newcode330 > Source/bindings/core/v8/V8Initializer.cpp:330: scriptId ...
6 years, 1 month ago (2014-11-07 12:57:16 UTC) #7
aandrey
PTAL https://codereview.chromium.org/693183002/diff/1/LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html File LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html (right): https://codereview.chromium.org/693183002/diff/1/LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html#newcode49 LayoutTests/inspector/console/console-uncaught-promise-no-inspector.html:49: function runTest() On 2014/11/07 12:49:27, yurys wrote: > ...
6 years, 1 month ago (2014-11-10 11:44:33 UTC) #8
yurys
lgtm https://codereview.chromium.org/693183002/diff/20001/LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html File LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html (right): https://codereview.chromium.org/693183002/diff/20001/LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html#newcode67 LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html:67: var test = function() function test() ? https://codereview.chromium.org/693183002/diff/20001/Source/bindings/core/v8/V8Initializer.cpp ...
6 years, 1 month ago (2014-11-10 12:40:10 UTC) #9
aandrey
https://codereview.chromium.org/693183002/diff/20001/LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html File LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html (right): https://codereview.chromium.org/693183002/diff/20001/LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html#newcode67 LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html:67: var test = function() On 2014/11/10 12:40:10, yurys wrote: ...
6 years, 1 month ago (2014-11-10 13:17:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/693183002/40001
6 years, 1 month ago (2014-11-10 13:17:39 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/builds/25339)
6 years, 1 month ago (2014-11-10 13:37:09 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/693183002/40001
6 years, 1 month ago (2014-11-10 15:45:39 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/35607)
6 years, 1 month ago (2014-11-10 16:13:55 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/693183002/40001
6 years, 1 month ago (2014-11-10 20:19:04 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/35666)
6 years, 1 month ago (2014-11-10 20:44:13 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/693183002/40001
6 years, 1 month ago (2014-11-11 08:40:26 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/35765)
6 years, 1 month ago (2014-11-11 08:57:02 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/693183002/60001
6 years, 1 month ago (2014-11-11 09:56:43 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/builds/25469)
6 years, 1 month ago (2014-11-11 10:11:15 UTC) #30
aandrey
Depends on https://codereview.chromium.org/711353002/ patch to V8.
6 years, 1 month ago (2014-11-11 10:55:16 UTC) #31
vsevik
https://codereview.chromium.org/693183002/diff/80001/Source/bindings/core/v8/V8Initializer.cpp File Source/bindings/core/v8/V8Initializer.cpp (right): https://codereview.chromium.org/693183002/diff/80001/Source/bindings/core/v8/V8Initializer.cpp#newcode304 Source/bindings/core/v8/V8Initializer.cpp:304: promiseRejectMessageQueue().append(PromiseRejectMessage(ScriptValue(scriptState, promise), resourceName, scriptId, lineNumber, columnNumber, callStack)); Please see ...
6 years, 1 month ago (2014-11-12 15:43:00 UTC) #32
vsevik
https://codereview.chromium.org/693183002/diff/80001/LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html File LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html (right): https://codereview.chromium.org/693183002/diff/80001/LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html#newcode69 LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector.html:69: InspectorTest.expandConsoleMessages(onExpanded); They should be useful even before expanding. https://codereview.chromium.org/693183002/diff/80001/LayoutTests/inspector/console/console-uncaught-promise-in-worker-expected.txt ...
6 years, 1 month ago (2014-11-12 15:46:12 UTC) #33
aandrey
Yes, we should certainly improve here on console messaging. Let's discuss and do this work ...
6 years, 1 month ago (2014-11-13 11:22:23 UTC) #34
vsevik
> Let's discuss and do this work separately. Sure, np.
6 years, 1 month ago (2014-11-13 12:47:35 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/693183002/80001
6 years, 1 month ago (2014-11-14 08:27:10 UTC) #37
commit-bot: I haz the power
6 years, 1 month ago (2014-11-14 10:34:46 UTC) #38
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as 185363

Powered by Google App Engine