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

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

Issue 2781443003: Fix #28120, strong mode allows field overrides (Closed)
Patch Set: fix Created 3 years, 8 months 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 'compare_to2_test': fail, 301 'compare_to2_test': fail,
302 'const_list_literal_test': fail, 302 'const_list_literal_test': fail,
303 'const_list_remove_range_test': fail, 303 'const_list_remove_range_test': fail,
304 'const_list_set_range_test': fail, 304 'const_list_set_range_test': fail,
305 'data_uri_test': fail, 305 'data_uri_test': fail,
306 'double_parse_test_01_multi': fail, 306 'double_parse_test_01_multi': fail,
307 'double_parse_test_02_multi': firefox_fail, 307 'double_parse_test_02_multi': firefox_fail,
308 'error_stack_trace1_test': fail, 308 'error_stack_trace1_test': fail,
309 'error_stack_trace2_test': fail, 309 'error_stack_trace2_test': fail,
310 'for_in_test': is.firefox('<=50') ? fail : pass, 310 'for_in_test': is.firefox('<=50') ? fail : pass,
311 'growable_list_test': fail,
311 'hash_map2_test': skip_timeout, 312 'hash_map2_test': skip_timeout,
312 'hash_set_test_01_multi': fail, 313 'hash_set_test_01_multi': fail,
313 'hidden_library2_test_01_multi': fail, 314 'hidden_library2_test_01_multi': fail,
314 'int_modulo_arith_test_bignum_multi': fail, 315 'int_modulo_arith_test_bignum_multi': fail,
315 'int_modulo_arith_test_modPow_multi': fail, 316 'int_modulo_arith_test_modPow_multi': fail,
316 'int_modulo_arith_test_none_multi': fail, 317 'int_modulo_arith_test_none_multi': fail,
317 'int_parse_radix_test_01_multi': fail, // JS implementations disagree on U +0085 being whitespace. 318 'int_parse_radix_test_01_multi': fail, // JS implementations disagree on U +0085 being whitespace.
318 'int_parse_radix_test_02_multi': ['fail', 'timeout', 'skip'], // No bigint s. 319 'int_parse_radix_test_02_multi': ['fail', 'timeout', 'skip'], // No bigint s.
319 'int_parse_radix_test_none_multi': ['slow'], 320 'int_parse_radix_test_none_multi': ['slow'],
320 'integer_to_radix_string_test': fail, 321 'integer_to_radix_string_test': fail,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 'string_trimlr_test_none_multi': is.chrome('<=58') ? fail : pass, 353 'string_trimlr_test_none_multi': is.chrome('<=58') ? fail : pass,
353 'symbol_reserved_word_test_06_multi': fail, 354 'symbol_reserved_word_test_06_multi': fail,
354 'symbol_reserved_word_test_09_multi': fail, 355 'symbol_reserved_word_test_09_multi': fail,
355 'symbol_reserved_word_test_12_multi': fail, 356 'symbol_reserved_word_test_12_multi': fail,
356 'throw_half_surrogate_pair_test_01_multi': fail, 357 'throw_half_surrogate_pair_test_01_multi': fail,
357 'unicode_test': firefox_fail, 358 'unicode_test': firefox_fail,
358 'uri_parameters_all_test': is.firefox('<=50') ? fail : pass, 359 'uri_parameters_all_test': is.firefox('<=50') ? fail : pass,
359 // TODO(rnystrom): Times out because it tests a huge number of 360 // TODO(rnystrom): Times out because it tests a huge number of
360 // combinations of URLs (4 * 5 * 5 * 8 * 6 * 6 * 4 = 115200). 361 // combinations of URLs (4 * 5 * 5 * 8 * 6 * 6 * 4 = 115200).
361 'uri_parse_test': skip_timeout, 362 'uri_parse_test': skip_timeout,
362
363 // this is timing out on Chrome Canary only 363 // this is timing out on Chrome Canary only
364 // pinning this skip in case it's a transient canary issue 364 // pinning this skip in case it's a transient canary issue
365 'uri_test': is.chrome('59') ? ['skip'] : ['slow'], 365 'uri_test': is.chrome('59') ? ['skip'] : ['slow'],
366 366
367 'list_insert_test': fail, 367 'list_insert_test': fail,
368 'list_removeat_test': fail, 368 'list_removeat_test': fail,
369 }, 369 },
370 370
371 'corelib/regexp': { 371 'corelib/regexp': {
372 'default_arguments_test': fail, 372 'default_arguments_test': fail,
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 'reflected_type_special_types_test': fail, 658 'reflected_type_special_types_test': fail,
659 'reflected_type_test_none_multi': fail, 659 'reflected_type_test_none_multi': fail,
660 'reflected_type_typedefs_test': fail, 660 'reflected_type_typedefs_test': fail,
661 'reflected_type_typevars_test': fail, 661 'reflected_type_typevars_test': fail,
662 'reflectively_instantiate_uninstantiated_class_test': fail, 662 'reflectively_instantiate_uninstantiated_class_test': fail,
663 'regress_14304_test': fail, 663 'regress_14304_test': fail,
664 'regress_26187_test': fail, 664 'regress_26187_test': fail,
665 'relation_assignable_test': fail, 665 'relation_assignable_test': fail,
666 'relation_subtype_test': fail, 666 'relation_subtype_test': fail,
667 'set_field_with_final_test': fail, 667 'set_field_with_final_test': fail,
668 'set_field_with_final_inheritance_test': fail,
668 'symbol_validation_test_01_multi': fail, 669 'symbol_validation_test_01_multi': fail,
669 'symbol_validation_test_none_multi': fail, 670 'symbol_validation_test_none_multi': fail,
670 'to_string_test': fail, 671 'to_string_test': fail,
671 'type_argument_is_type_variable_test': fail, 672 'type_argument_is_type_variable_test': fail,
672 'type_variable_is_static_test': fail, 673 'type_variable_is_static_test': fail,
673 'type_variable_owner_test_01_multi': fail, 674 'type_variable_owner_test_01_multi': fail,
674 'type_variable_owner_test_none_multi': fail, 675 'type_variable_owner_test_none_multi': fail,
675 'typedef_deferred_library_test': fail, // Isolate spawn not support 676 'typedef_deferred_library_test': fail, // Isolate spawn not support
676 'typedef_library_test': fail, 677 'typedef_library_test': fail,
677 'typedef_metadata_test': fail, 678 'typedef_metadata_test': fail,
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 919
919 for (let action of unittest_tests) { 920 for (let action of unittest_tests) {
920 try { 921 try {
921 action(); 922 action();
922 } catch (e) { 923 } catch (e) {
923 console.error("Caught error tying to setup test:", e); 924 console.error("Caught error tying to setup test:", e);
924 } 925 }
925 } 926 }
926 }); 927 });
927 }); 928 });
OLDNEW
« no previous file with comments | « pkg/dev_compiler/lib/src/compiler/property_model.dart ('k') | pkg/dev_compiler/test/codegen_expected/BenchmarkBase.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698