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

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

Issue 2636313002: Throw TypeError on arg mismatch (Closed)
Patch Set: Created 3 years, 11 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 'const_list_remove_range_test': fail, 286 'const_list_remove_range_test': fail,
287 'const_list_set_range_test': fail, 287 'const_list_set_range_test': fail,
288 'double_parse_test_01_multi': fail, 288 'double_parse_test_01_multi': fail,
289 'double_parse_test_02_multi': firefox_fail, 289 'double_parse_test_02_multi': firefox_fail,
290 'error_stack_trace1_test': fail, 290 'error_stack_trace1_test': fail,
291 'error_stack_trace2_test': fail, 291 'error_stack_trace2_test': fail,
292 'for_in_test': firefox_fail, 292 'for_in_test': firefox_fail,
293 'hash_map2_test': skip_timeout, 293 'hash_map2_test': skip_timeout,
294 'hash_set_test_01_multi': fail, 294 'hash_set_test_01_multi': fail,
295 'hidden_library2_test_01_multi': fail, 295 'hidden_library2_test_01_multi': fail,
296 'indexed_list_access_test': fail,
297 'int_modulo_arith_test_bignum_multi': fail, 296 'int_modulo_arith_test_bignum_multi': fail,
298 'int_modulo_arith_test_modPow_multi': fail, 297 'int_modulo_arith_test_modPow_multi': fail,
299 'int_modulo_arith_test_none_multi': fail, 298 'int_modulo_arith_test_none_multi': fail,
300 'int_parse_radix_test_01_multi': fail, // JS implementations disagree on U +0085 being whitespace. 299 'int_parse_radix_test_01_multi': fail, // JS implementations disagree on U +0085 being whitespace.
301 'int_parse_radix_test_02_multi': ['fail', 'timeout', 'skip'], // No bigint s. 300 'int_parse_radix_test_02_multi': ['fail', 'timeout', 'skip'], // No bigint s.
302 'int_parse_radix_test_none_multi': ['slow'], 301 'int_parse_radix_test_none_multi': ['slow'],
303 'integer_to_radix_string_test': fail, 302 'integer_to_radix_string_test': fail,
304 'integer_to_string_test_01_multi': fail, 303 'integer_to_string_test_01_multi': fail,
305 'iterable_generate_test': fail, 304 'iterable_generate_test': fail,
306 'iterable_return_type_test_02_multi': fail, 305 'iterable_return_type_test_02_multi': fail,
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 875
877 for (let action of unittest_tests) { 876 for (let action of unittest_tests) {
878 try { 877 try {
879 action(); 878 action();
880 } catch (e) { 879 } catch (e) {
881 console.error("Caught error tying to setup test:", e); 880 console.error("Caught error tying to setup test:", e);
882 } 881 }
883 } 882 }
884 }); 883 });
885 }); 884 });
OLDNEW
« no previous file with comments | « pkg/dev_compiler/lib/js/legacy/dart_sdk.js ('k') | pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698