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

Issue 22859009: Changes to how we handle fancy stacks: (Closed)

Created:
7 years, 4 months ago by gram
Modified:
7 years, 4 months ago
CC:
reviews_dartlang.org, dgrove, ahe
Visibility:
Public.

Description

Changes to how we handle fancy stacks: - in the base config they are disabled - in htmnl config they are enabled unless a certain meta tag is present in the page. - in vm config they are enabled unless a --no-fancy-stacks flag is in the Options. The test runner adds a fancy_stacks flag that can be used to control this behavior, but by default turns off fancy stacks for all tests. There were a couple of test runner tests that were affected and have kludgy fixes where I strip out the new argument from Options first. This has passed a baseline set of tests; I'm still running a more comprehensive set. R=kustermann@google.com, nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=26560

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Patch Set 4 : #

Total comments: 3

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Total comments: 1

Patch Set 15 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -13 lines) Patch
pkg/unittest/lib/html_config.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
pkg/unittest/lib/src/config.dart View 1 2 3 4 3 chunks +8 lines, -3 lines 0 comments Download
pkg/unittest/lib/src/test_case.dart View 1 2 3 4 5 6 7 8 9 10 5 chunks +8 lines, -6 lines 0 comments Download
pkg/unittest/lib/unittest.dart View 1 2 3 4 5 6 7 8 9 10 2 chunks +12 lines, -3 lines 0 comments Download
pkg/unittest/lib/vm_config.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
tools/testing/dart/browser_test.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
gram
Peter should also weigh in on whether we should disabling both filtering and reformatting, or ...
7 years, 4 months ago (2013-08-14 23:40:48 UTC) #1
nweiz
I'm still in favor of having fancy-but-unfiltered traces be the default for test.dart. https://codereview.chromium.org/22859009/diff/1/pkg/unittest/lib/src/test_case.dart File ...
7 years, 4 months ago (2013-08-14 23:56:59 UTC) #2
gram
PTAL. https://codereview.chromium.org/22859009/diff/1/pkg/unittest/lib/src/test_case.dart File pkg/unittest/lib/src/test_case.dart (right): https://codereview.chromium.org/22859009/diff/1/pkg/unittest/lib/src/test_case.dart#newcode46 pkg/unittest/lib/src/test_case.dart:46: get stackTrace => _stackTrace; On 2013/08/14 23:56:59, nweiz ...
7 years, 4 months ago (2013-08-15 22:36:43 UTC) #3
nweiz
https://codereview.chromium.org/22859009/diff/8001/pkg/unittest/lib/src/config.dart File pkg/unittest/lib/src/config.dart (right): https://codereview.chromium.org/22859009/diff/8001/pkg/unittest/lib/src/config.dart#newcode58 pkg/unittest/lib/src/config.dart:58: final _testLogBuffer = <Pair<String, String>>[]; Trace implements StackTrace, so ...
7 years, 4 months ago (2013-08-15 23:03:25 UTC) #4
gram
PTAL https://codereview.chromium.org/22859009/diff/8001/pkg/unittest/lib/src/config.dart File pkg/unittest/lib/src/config.dart (right): https://codereview.chromium.org/22859009/diff/8001/pkg/unittest/lib/src/config.dart#newcode58 pkg/unittest/lib/src/config.dart:58: final _testLogBuffer = <Pair<String, String>>[]; On 2013/08/15 23:03:25, ...
7 years, 4 months ago (2013-08-16 16:56:45 UTC) #5
nweiz
lgtm
7 years, 4 months ago (2013-08-16 19:09:39 UTC) #6
gram
PTAL; I have made a few changes. In particular, test.dart now supports two separate flags: ...
7 years, 4 months ago (2013-08-21 00:18:59 UTC) #7
nweiz
lgtm
7 years, 4 months ago (2013-08-21 01:03:53 UTC) #8
ahe
Martin + Rico, could one of you take a look at these changes to the ...
7 years, 4 months ago (2013-08-21 11:36:57 UTC) #9
ricow1
https://codereview.chromium.org/22859009/diff/31001/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/22859009/diff/31001/tools/testing/dart/test_suite.dart#newcode798 tools/testing/dart/test_suite.dart:798: if (configuration['raw-stacks']) { does this work, adding flags _after_ ...
7 years, 4 months ago (2013-08-21 12:44:10 UTC) #10
ahe
https://codereview.chromium.org/22859009/diff/31001/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/22859009/diff/31001/tools/testing/dart/test_suite.dart#newcode798 tools/testing/dart/test_suite.dart:798: if (configuration['raw-stacks']) { On 2013/08/21 12:44:10, ricow1 wrote: > ...
7 years, 4 months ago (2013-08-21 12:48:21 UTC) #11
gram
https://codereview.chromium.org/22859009/diff/31001/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/22859009/diff/31001/tools/testing/dart/test_suite.dart#newcode798 tools/testing/dart/test_suite.dart:798: if (configuration['raw-stacks']) { On 2013/08/21 12:48:21, ahe wrote: > ...
7 years, 4 months ago (2013-08-21 17:12:38 UTC) #12
gram
(Sorry for all the apparent patches; every time I try to do a gcl upload ...
7 years, 4 months ago (2013-08-22 17:56:05 UTC) #13
kustermann
LGTM https://codereview.chromium.org/22859009/diff/60007/tools/testing/dart/browser_test.dart File tools/testing/dart/browser_test.dart (right): https://codereview.chromium.org/22859009/diff/60007/tools/testing/dart/browser_test.dart#newcode47 tools/testing/dart/browser_test.dart:47: <meta name="dart.unittest" content="full-stack-traces"> You removed accidentally </head>!
7 years, 4 months ago (2013-08-22 21:40:52 UTC) #14
gram
Committed patchset #15 manually as r26560 (presubmit successful).
7 years, 4 months ago (2013-08-22 21:47:57 UTC) #15
kevmoo-old
Looks like you checked lib/src/config.dart back in after my rename?
7 years, 4 months ago (2013-08-22 22:30:58 UTC) #16
gram
7 years, 4 months ago (2013-08-22 22:32:41 UTC) #17
Message was sent while issue was closed.
On 2013/08/22 22:30:58, kevmoo wrote:
> Looks like you checked lib/src/config.dart back in after my rename?

Ah, the joys of svn.

Powered by Google App Engine
This is Rietveld 408576698