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

Side by Side Diff: pkg/dev_compiler/test/browser/language_tests.js

Issue 2545923002: Keep only a single active stack trace, enables traces for thrown non-exceptions (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 define(['dart_sdk', 'async_helper', 'expect', 'unittest', 'is', 'require'], 5 define(['dart_sdk', 'async_helper', 'expect', 'unittest', 'is', 'require'],
6 function(dart_sdk, async_helper, expect, unittest, is, require) { 6 function(dart_sdk, async_helper, expect, unittest, is, require) {
7 'use strict'; 7 'use strict';
8 8
9 async_helper = async_helper.async_helper; 9 async_helper = async_helper.async_helper;
10 let minitest = expect.minitest; 10 let minitest = expect.minitest;
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 'regress_13462_1_test': skip_fail, 268 'regress_13462_1_test': skip_fail,
269 'regress_14105_test': skip_fail, 269 'regress_14105_test': skip_fail,
270 'regress_16640_test': skip_fail, 270 'regress_16640_test': skip_fail,
271 'regress_18535_test': fail, 271 'regress_18535_test': fail,
272 'regress_21795_test': skip_fail, 272 'regress_21795_test': skip_fail,
273 'regress_22443_test': skip_fail, 273 'regress_22443_test': skip_fail,
274 'regress_22666_test': skip_fail, 274 'regress_22666_test': skip_fail,
275 'setter_no_getter_test_01_multi': skip_fail, 275 'setter_no_getter_test_01_multi': skip_fail,
276 'stack_overflow_stacktrace_test': skip_fail, 276 'stack_overflow_stacktrace_test': skip_fail,
277 'stack_overflow_test': skip_fail, 277 'stack_overflow_test': skip_fail,
278 'stack_trace_test': skip_fail,
279 'stacktrace_rethrow_nonerror_test': skip_fail, // mismatch from Karma's fi le hash
280 'stacktrace_rethrow_error_test_none_multi': skip_fail, 278 'stacktrace_rethrow_error_test_none_multi': skip_fail,
281 'stacktrace_rethrow_error_test_withtraceparameter_multi': skip_fail, 279 'stacktrace_rethrow_error_test_withtraceparameter_multi': skip_fail,
282 'stacktrace_test': skip_fail, 280 'stacktrace_test': skip_fail,
283 'string_interpolate_null_test': skip_fail, 281 'string_interpolate_null_test': skip_fail,
284 'super_operator_index3_test': skip_fail, 282 'super_operator_index3_test': skip_fail,
285 'super_operator_index4_test': skip_fail, 283 'super_operator_index4_test': skip_fail,
286 'switch_label2_test': skip_fail, 284 'switch_label2_test': skip_fail,
287 'switch_label_test': skip_fail, 285 'switch_label_test': skip_fail,
288 'switch_try_catch_test': skip_fail, 286 'switch_try_catch_test': skip_fail,
289 'sync_generator1_test_none_multi': skip_fail, 287 'sync_generator1_test_none_multi': skip_fail,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 'map_keys2_test': fail, 368 'map_keys2_test': fail,
371 'map_to_string_test': fail, 369 'map_to_string_test': fail,
372 'map_from_iterable_test': firefox_fail, 370 'map_from_iterable_test': firefox_fail,
373 'nan_infinity_test_01_multi': fail, 371 'nan_infinity_test_01_multi': fail,
374 'null_nosuchmethod_test': fail, 372 'null_nosuchmethod_test': fail,
375 'null_test': fail, 373 'null_test': fail,
376 'num_sign_test': fail, 374 'num_sign_test': fail,
377 'regress_r21715_test': fail, 375 'regress_r21715_test': fail,
378 'throw_half_surrogate_pair_test_02_multi': fail, 376 'throw_half_surrogate_pair_test_02_multi': fail,
379 'splay_tree_from_iterable_test': firefox_fail, 377 'splay_tree_from_iterable_test': firefox_fail,
380 'stacktrace_current_test': chrome_fail,
381 'string_case_test_01_multi': firefox_fail, 378 'string_case_test_01_multi': firefox_fail,
382 'string_fromcharcodes_test': skip_timeout, 379 'string_fromcharcodes_test': skip_timeout,
383 'string_operations_with_null_test': fail, 380 'string_operations_with_null_test': fail,
384 'symbol_reserved_word_test_06_multi': fail, 381 'symbol_reserved_word_test_06_multi': fail,
385 'symbol_reserved_word_test_09_multi': fail, 382 'symbol_reserved_word_test_09_multi': fail,
386 'symbol_reserved_word_test_12_multi': fail, 383 'symbol_reserved_word_test_12_multi': fail,
387 'throw_half_surrogate_pair_test_01_multi': fail, 384 'throw_half_surrogate_pair_test_01_multi': fail,
388 'unicode_test': firefox_fail, 385 'unicode_test': firefox_fail,
389 'uri_parameters_all_test': firefox_fail, 386 'uri_parameters_all_test': firefox_fail,
390 // TODO(rnystrom): Times out because it tests a huge number of 387 // TODO(rnystrom): Times out because it tests a huge number of
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 839
843 for (let action of unittest_tests) { 840 for (let action of unittest_tests) {
844 try { 841 try {
845 action(); 842 action();
846 } catch (e) { 843 } catch (e) {
847 console.error("Caught error tying to setup test:", e); 844 console.error("Caught error tying to setup test:", e);
848 } 845 }
849 } 846 }
850 }); 847 });
851 }); 848 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698