| OLD | NEW |
| 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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 'css_test': async_unittest, | 380 'css_test': async_unittest, |
| 381 | 381 |
| 382 // This is failing with a range error, I'm guessing because it's looking | 382 // This is failing with a range error, I'm guessing because it's looking |
| 383 // for a stylesheet and the page has none. | 383 // for a stylesheet and the page has none. |
| 384 'css_rule_list_test': 'fail', | 384 'css_rule_list_test': 'fail', |
| 385 | 385 |
| 386 'custom_element_method_clash_test': async_unittest, | 386 'custom_element_method_clash_test': async_unittest, |
| 387 'custom_element_name_clash_test': async_unittest, | 387 'custom_element_name_clash_test': async_unittest, |
| 388 'custom_elements_23127_test': async_unittest, | 388 'custom_elements_23127_test': async_unittest, |
| 389 'custom_elements_test': async_unittest, | 389 'custom_elements_test': async_unittest, |
| 390 | |
| 391 // was https://github.com/dart-lang/sdk/issues/27578, needs triage | |
| 392 'dom_constructors_test': 'fail', | |
| 393 | |
| 394 'element_animate_test': 'unittest', | 390 'element_animate_test': 'unittest', |
| 395 | 391 |
| 396 // https://github.com/dart-lang/sdk/issues/27579. | 392 // https://github.com/dart-lang/sdk/issues/27579. |
| 397 'element_classes_test': 'fail', | 393 'element_classes_test': 'fail', |
| 398 'element_classes_svg_test': 'fail', | 394 'element_classes_svg_test': 'fail', |
| 399 | 395 |
| 400 // Failure: 'Expected 56 to be in the inclusive range [111, 160].'. | 396 // Failure: 'Expected 56 to be in the inclusive range [111, 160].'. |
| 401 'element_offset_test': 'fail', | 397 'element_offset_test': 'fail', |
| 402 | 398 |
| 403 'element_test': async_unittest, | 399 'element_test': async_unittest, |
| 404 'element_types_test': firefox_fail, | 400 'element_types_test': firefox_fail, |
| 405 'event_customevent_test': async_unittest, | 401 'event_customevent_test': async_unittest, |
| 406 'events_test': async_unittest, | 402 'events_test': async_unittest, |
| 407 | |
| 408 // Failure: "Failed to execute 'dispatchEvent' on 'EventTarget': parameter | |
| 409 // 1 is not of type 'Event'." | |
| 410 'event_test': 'fail', | |
| 411 | |
| 412 'fileapi_test': async_unittest, | 403 'fileapi_test': async_unittest, |
| 413 'filereader_test': async_unittest, | 404 'filereader_test': async_unittest, |
| 414 'fontface_loaded_test': async_unittest, | 405 'fontface_loaded_test': async_unittest, |
| 415 | 406 'fontface_test': firefox_fail, |
| 416 // Failed because it's expecting "Ahem" but getting null. Maybe sdk#27579? | |
| 417 'fontface_test': 'fail', | |
| 418 | |
| 419 'form_data_test': async_unittest, | 407 'form_data_test': async_unittest, |
| 420 'history_test': async_unittest, | 408 'history_test': async_unittest, |
| 421 'indexeddb_1_test': async_unittest, | 409 'indexeddb_1_test': async_unittest, |
| 422 'indexeddb_2_test': async_unittest, | 410 'indexeddb_2_test': async_unittest, |
| 423 'indexeddb_3_test': async_unittest, | 411 'indexeddb_3_test': async_unittest, |
| 424 'indexeddb_4_test': async_unittest, | 412 'indexeddb_4_test': async_unittest, |
| 425 'indexeddb_5_test': async_unittest, | 413 'indexeddb_5_test': async_unittest, |
| 426 | 414 |
| 427 // was https://github.com/dart-lang/sdk/issues/27578, needs triage | 415 // was https://github.com/dart-lang/sdk/issues/27578, needs triage |
| 428 'input_element_test': 'fail', | 416 'input_element_test': 'fail', |
| 429 | 417 |
| 430 'interactive_test': async_unittest, | 418 'interactive_test': async_unittest, |
| 431 'isolates_test': async_unittest, | 419 'isolates_test': async_unittest, |
| 432 | 420 |
| 433 'js_interop_1_test': async_unittest, | 421 'js_interop_1_test': async_unittest, |
| 434 | 422 |
| 435 // Failing because accessing "zSomeInvalidName" does not throw. | 423 // Failing because accessing "zSomeInvalidName" does not throw. |
| 436 'js_typed_interop_test': 'fail', | 424 'js_typed_interop_test': 'fail', |
| 437 | 425 |
| 438 // The "typed literal" test fails because the object does not have "_c". | 426 // The "typed literal" test fails because the object does not have "_c". |
| 439 'js_util_test': 'fail', | 427 'js_util_test': 'fail', |
| 440 'keyboard_event_test': async_unittest, | 428 'keyboard_event_test': async_unittest, |
| 441 | 429 |
| 442 // was https://github.com/dart-lang/sdk/issues/27578, needs triage | 430 // was https://github.com/dart-lang/sdk/issues/27578, needs triage |
| 443 'mediasource_test': 'fail', | 431 'mediasource_test': 'fail', |
| 444 'media_stream_test': 'fail', | 432 'media_stream_test': 'fail', |
| 445 'messageevent_test': 'fail', | |
| 446 | 433 |
| 447 'mutationobserver_test': async_unittest, | 434 'mutationobserver_test': async_unittest, |
| 448 'native_gc_test': async_unittest, | 435 'native_gc_test': async_unittest, |
| 449 | |
| 450 // was https://github.com/dart-lang/sdk/issues/27578, needs triage | |
| 451 'notification_test': 'fail', | |
| 452 | |
| 453 'postmessage_structured_test': async_unittest, | 436 'postmessage_structured_test': async_unittest, |
| 454 'queryall_test': ['slow'], // see sdk #27794 | 437 'queryall_test': ['slow'], // see sdk #27794 |
| 455 'request_animation_frame_test': async_unittest, | 438 'request_animation_frame_test': async_unittest, |
| 456 'resource_http_test': async_unittest, | 439 'resource_http_test': async_unittest, |
| 457 | 440 |
| 458 // was https://github.com/dart-lang/sdk/issues/27578, needs triage | 441 // was https://github.com/dart-lang/sdk/issues/27578, needs triage |
| 459 'rtc_test': is.chrome('<=55') ? fail : pass, | 442 'rtc_test': is.chrome('<=55') ? fail : pass, |
| 460 | |
| 461 // Expected 1, got null. | |
| 462 'serialized_script_value_test': 'fail', | |
| 463 | |
| 464 'shadow_dom_test': firefox_fail, | 443 'shadow_dom_test': firefox_fail, |
| 465 | 444 |
| 466 // was https://github.com/dart-lang/sdk/issues/27578, needs triage | 445 // was https://github.com/dart-lang/sdk/issues/27578, needs triage |
| 467 'speechrecognition_test': 'fail', | 446 'speechrecognition_test': 'fail', |
| 468 'svgelement_test': chrome_fail, | 447 'svgelement_test': chrome_fail, |
| 469 'text_event_test': firefox_fail, | 448 'text_event_test': firefox_fail, |
| 470 | 449 |
| 471 // was https://github.com/dart-lang/sdk/issues/27578, needs triage | 450 // was https://github.com/dart-lang/sdk/issues/27578, needs triage |
| 472 'touchevent_test': 'fail', | 451 'touchevent_test': 'fail', |
| 473 | 452 |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 | 857 |
| 879 for (let action of unittest_tests) { | 858 for (let action of unittest_tests) { |
| 880 try { | 859 try { |
| 881 action(); | 860 action(); |
| 882 } catch (e) { | 861 } catch (e) { |
| 883 console.error("Caught error tying to setup test:", e); | 862 console.error("Caught error tying to setup test:", e); |
| 884 } | 863 } |
| 885 } | 864 } |
| 886 }); | 865 }); |
| 887 }); | 866 }); |
| OLD | NEW |