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

Issue 1383213002: Make dart2js code retain the original stack trace for uncaught async errors. (Closed)

Created:
5 years, 2 months ago by Lasse Reichstein Nielsen
Modified:
5 years, 1 month ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make dart2js code retain the original stack trace for uncaught async errors. R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/5363e5c9453b096900d3a9bbc37012a4ea65f754

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -1 line) Patch
M sdk/lib/_internal/js_runtime/lib/async_patch.dart View 1 2 chunks +4 lines, -1 line 0 comments Download
A tests/lib/async/dart2js_uncaught_error_test.dart View 1 1 chunk +46 lines, -0 lines 0 comments Download
M tests/lib/lib.status View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Lasse Reichstein Nielsen
This tries to match the VM's new behavior, where an uncaught async error retains its ...
5 years, 2 months ago (2015-10-05 08:08:06 UTC) #2
Siggi Cherem (dart-lang)
Thanks Lasse! could you add a test to ensure we get the expected behavior across ...
5 years, 2 months ago (2015-10-05 17:09:33 UTC) #3
Lasse Reichstein Nielsen
I will try to add a test (in the browser it might actually be possible ...
5 years, 2 months ago (2015-10-06 07:57:26 UTC) #4
Lasse Reichstein Nielsen
I am having difficulties creating a test that tests the contents of an uncaught error. ...
5 years, 2 months ago (2015-10-14 14:54:50 UTC) #5
Siggi Cherem (dart-lang)
Good point, window.onerror is used by the test_controller as well. Some random ideas: a) we ...
5 years, 2 months ago (2015-10-14 20:18:39 UTC) #6
Lasse Reichstein Nielsen
Finally made a test that runs. PTAL!
5 years, 1 month ago (2015-11-16 13:40:55 UTC) #7
Siggi Cherem (dart-lang)
lgtm!
5 years, 1 month ago (2015-11-16 17:15:50 UTC) #8
Lasse Reichstein Nielsen
5 years, 1 month ago (2015-11-17 14:17:15 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
5363e5c9453b096900d3a9bbc37012a4ea65f754 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698