Back to build
Raw log | Switch to full mode | Login

cat .debug.log in dir /b/s/w/ir/cache/builder/sdk: allow_subannotations: False cmd: ['cat', '.debug.log'] cwd: '/b/s/w/ir/cache/builder/sdk' env: {} env_prefixes: {} env_suffixes: {} infra_step: False name_tokens: ('debug log',) ok_ret: ALL_OK trigger_specs: () full environment: BOTO_CONFIG: /b/s/w/ir/tmp/gsutil_task/.boto BUILDBUCKET_EXPERIMENTAL: FALSE CIPD_CACHE_DIR: /b/s/cipd_cache/cache CIPD_PROTOCOL: v2 DEVSHELL_CLIENT_PORT: 32999 DOCKER_CONFIG: /b/s/w/ir/tmp/docker_cfg_task DOCKER_TMPDIR: /b/s/w/ir/tmp/docker_tmp_task GIT_CONFIG_NOSYSTEM: 1 GIT_TERMINAL_PROMPT: 0 HOME: /home/chrome-bot INFRA_GIT_WRAPPER_HOME: /b/s/w/ir/tmp/git_home_task LANG: en_US.UTF-8 LOGDOG_COORDINATOR_HOST: logs.chromium.org LOGDOG_STREAM_PREFIX: buildbucket/cr-buildbucket.appspot.com/8915721321549185616 LOGDOG_STREAM_PROJECT: dart LOGDOG_STREAM_SERVER_PATH: unix:/b/s/w/ir/tmp/ld.sock LOGNAME: chrome-bot LUCI_CONTEXT: /b/s/w/itBmMDF2/luci_context.371374269 MAC_CHROMIUM_TMPDIR: /b/s/w/ir/tmp/t NO_GCE_CHECK: False PATH: /b/s/w/ir/cipd_bin_packages:/b/s/w/ir/cipd_bin_packages/bin:/b/s/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD: /b/s/w/ir/k PYTHONIOENCODING: UTF-8 PYTHONUNBUFFERED: 1 SHELL: /bin/bash SHLVL: 1 SWARMING_BOT_ID: luci-dart-try-xenial-27-9rpq SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 444feb239213b011 TEMP: /b/s/w/ir/tmp/t TEMPDIR: /b/s/w/ir/tmp/t TMP: /b/s/w/ir/tmp/t TMPDIR: /b/s/w/ir/tmp/t USER: chrome-bot VPYTHON_VIRTUALENV_ROOT: /b/s/w/ir/cache/vpython _: /b/s/w/ir/cipd_bin_packages/vpython 2019-04-19 12:48:34.373932 Warning: /b/s/w/ir/cache/builder/sdk/tests/language_2/constants_2018/constant_type_literal_test.dart: Invalid expectation 'crash on reload' on line 13: import "dart:core" deferred as dcore; //# 01: crash on reload 2019-04-19 12:48:34.377014 Warning: /b/s/w/ir/cache/builder/sdk/tests/language_2/constants_2018/constant_type_literal_test.dart: Invalid expectation 'crash on reload' on line 20: import "constant_type_literal_types.dart" deferred as d; //# 02: crash on reload 2019-04-19 12:56:43.513987 Error: Error from browser on : /BROWSER7, data: Message received from old test window: {"message":"[{\"type\":\"debug\",\"value\":\"test_controller.js started\",\"timestamp\":0},{\"type\":\"debug\",\"value\":\"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)\",\"timestamp\":0.001},{\"type\":\"print\",\"value\":\"dart-calling-main\",\"timestamp\":0.471},{\"type\":\"print\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.471},{\"type\":\"print\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.472},{\"type\":\"print\",\"value\":\"dart-main-done\",\"timestamp\":0.472},{\"type\":\"print\",\"value\":\"unittest-suite-success\",\"timestamp\":0.473},{\"type\":\"message_received\",\"value\":\"dart-calling-main\",\"timestamp\":0.475},{\"type\":\"message_received\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.475},{\"type\":\"message_received\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.475},{\"type\":\"message_received\",\"value\":\"dart-main-done\",\"timestamp\":0.475},{\"type\":\"message_received\",\"value\":\"unittest-suite-success\",\"timestamp\":0.475},{\"type\":\"debug\",\"value\":\"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)\",\"timestamp\":0.475},{\"type\":\"print\",\"value\":\"unittest-suite-done\",\"timestamp\":0.482},{\"type\":\"message_received\",\"value\":\"unittest-suite-done\",\"timestamp\":0.485},{\"type\":\"debug\",\"value\":\"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)\",\"timestamp\":0.485},{\"type\":\"dom\",\"value\":\"<head>\\n <meta http-equiv=\\\"X-UA-Compatible\\\" content=\\\"IE=edge\\\">\\n <meta name=\\\"dart.unittest\\\" content=\\\"full-stack-traces\\\">\\n <title>Test stack_trace22_test</title>\\n <style>\\n .unittest-table { font-family:monospace; border:1px; }\\n .unittest-pass { background: #6b3;}\\n .unittest-fail { background: #d55;}\\n .unittest-error { background: #a11;}\\n </style>\\n<script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"stack_trace22_test\\\" src=\\\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace22_test/stack_trace22_test.js\\\"></script><script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"dart_sdk\\\" src=\\\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\\\"></script><script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"async_helper\\\" src=\\\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\\\"></script><script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"expect\\\" src=\\\"/root_build/gen/utils/dartdevc/pkg/expect.js\\\"></script></head>\\n<body>\\n<h1>Running stack_trace22_test</h1>\\n<script type=\\\"text/javascript\\\" src=\\\"/root_dart/tools/testing/dart/test_controller.js\\\">\\n</script>\\n<script>\\nvar require = {\\n baseUrl: \\\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace22_test\\\",\\n paths: {\\n \\\"dart_sdk\\\": \\\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\\\",\\n \\\"async_helper\\\": \\\"/root_build/gen/utils/dartdevc/pkg/async_helper\\\",\\n \\\"collection\\\": \\\"/root_build/gen/utils/dartdevc/pkg/collection\\\",\\n \\\"expect\\\": \\\"/root_build/gen/utils/dartdevc/pkg/expect\\\",\\n \\\"js\\\": \\\"/root_build/gen/utils/dartdevc/pkg/js\\\",\\n \\\"matcher\\\": \\\"/root_build/gen/utils/dartdevc/pkg/matcher\\\",\\n \\\"meta\\\": \\\"/root_build/gen/utils/dartdevc/pkg/meta\\\",\\n \\\"path\\\": \\\"/root_build/gen/utils/dartdevc/pkg/path\\\",\\n \\\"stack_trace\\\": \\\"/root_build/gen/utils/dartdevc/pkg/stack_trace\\\",\\n \\\"unittest\\\": \\\"/root_build/gen/utils/dartdevc/pkg/unittest\\\",\\n },\\n waitSeconds: 30,\\n};\\n\\n// Don't try to bring up the debugger on a runtime error.\\nwindow.ddcSettings = {\\n trapRuntimeErrors: false\\n};\\n</script>\\n<script type=\\\"text/javascript\\\" src=\\\"/root_dart/third_party/requirejs/require.js\\\"></script>\\n<script type=\\\"text/javascript\\\">\\nrequirejs([\\\"stack_trace22_test\\\", \\\"dart_sdk\\\", \\\"async_helper\\\"],\\n function(stack_trace22_test, sdk, async_helper) {\\n sdk.dart.ignoreWhitelistedErrors(false);\\n sdk._isolate_helper.startRootIsolate(function() {}, []);\\n sdk._debugger.registerDevtoolsFormatter();\\n\\n testErrorToStackTrace = function(error) {\\n var stackTrace = sdk.dart.stackTrace(error).toString();\\n \\n var lines = stackTrace.split(\\\"\\\\n\\\");\\n \\n // Remove the first line, which is just \\\"Error\\\".\\n lines = lines.slice(1);\\n\\n // Strip off all of the lines for the bowels of the test runner.\\n for (var i = 0; i < lines.length; i++) {\\n if (lines[i].indexOf(\\\"dartMainRunner\\\") != -1) {\\n lines = lines.slice(0, i);\\n break;\\n }\\n }\\n \\n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\\n // lines too.\\n return lines.join(\\\"\\\\n\\\");\\n };\\n\\n let pendingCallbacks = 0;\\n let waitForDone = false, isDone = false;\\n\\n sdk.dart.addAsyncCallback = function() {\\n pendingCallbacks++;\\n if (!waitForDone) {\\n // When the first callback is added, signal that test_controller.js\\n // should wait until done.\\n waitForDone = true;\\n dartPrint('unittest-suite-wait-for-done');\\n }\\n };\\n\\n sdk.dart.removeAsyncCallback = function() {\\n if (--pendingCallbacks <= 0) {\\n // We might be done with async callbacks. Schedule a task to check.\\n // Note: can't use a Promise here, because the unhandled rejection event\\n // is fired as a task, rather than a microtask. `setTimeout` will create a\\n // task, giving an unhandled promise reject time to fire before this does.\\n setTimeout(() => {\\n if (pendingCallbacks <= 0 && !isDone) {\\n isDone = true;\\n dartPrint('unittest-suite-done');\\n }\\n }, 0);\\n }\\n };\\n\\n dartMainRunner(function testMainWrapper() {\\n // Some callbacks are not scheduled with timers/microtasks, so they don't\\n // go through our async tracking (e.g. DOM events). For those tests, check\\n // if the result of calling `main()` is a Future, and if so, wait for it.\\n let result = stack_trace22_test.stack_trace22_test.main();\\n if (sdk.async.Future.is(result)) {\\n sdk.dart.addAsyncCallback();\\n result.whenComplete(sdk.dart.removeAsyncCallback);\\n }\\n return result;\\n });\\n});\\n</script>\\n\\n\\n</body>\",\"timestamp\":0.487}]","is_first_message":false,"is_status_update":false,"is_done":true} 2019-04-19 12:56:57.394479 Warning: HttpServer: could not find file for request path: "/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_node_validator_important_if_you_suppress_make_the_bug_critical_test/dice.png" 2019-04-19 12:57:05.213147 Warning: HttpServer: could not find file for request path: "/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_xhr_cross_origin_test/does_not_exist" 2019-04-19 12:57:15.630455 Warning: HttpServer: could not find file for request path: "/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_worker_test/worker.js" 2019-04-19 12:57:34.904922 Warning: Double reporting tests: 2019-04-19 12:57:34.905203 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_stacktrace_fromstring_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.905227 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.681},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.697},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.699},{"type":"print","value":"dart-main-done","timestamp":0.701},{"type":"print","value":"unittest-suite-success","timestamp":0.709},{"type":"message_received","value":"dart-calling-main","timestamp":0.712},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.713},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.713},{"type":"message_received","value":"dart-main-done","timestamp":0.713},{"type":"message_received","value":"unittest-suite-success","timestamp":0.713},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.713},{"type":"print","value":"unittest-suite-done","timestamp":0.714},{"type":"message_received","value":"unittest-suite-done","timestamp":0.717},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.718},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test stacktrace_fromstring_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"stacktrace_fromstring_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_stacktrace_fromstring_test/stacktrace_fromstring_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running stacktrace_fromstring_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_stacktrace_fromstring_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"stacktrace_fromstring_test\", \"dart_sdk\", \"async_helper\"],\n function(stacktrace_fromstring_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = stacktrace_fromstring_test.stacktrace_fromstring_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.718}] 2019-04-19 12:57:34.905289 Warning: 2019-04-19 12:57:34.905297 Warning: 2019-04-19 12:57:34.905309 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_redirecting_factory_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.905320 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.468},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.473},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.474},{"type":"print","value":"dart-main-done","timestamp":0.477},{"type":"message_received","value":"dart-calling-main","timestamp":0.48},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.48},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.48},{"type":"message_received","value":"dart-main-done","timestamp":0.48},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: Expect.throws fails: Did not throw\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at Function._fail (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:461:17)\n at Function.throws (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:390:21)\n at test1 (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_redirecting_factory_test/deferred_redirecting_factory_test.js:34:22)\n at test1.next (<anonymous>)\n at runBody (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22330:34)\n at Object.async.async (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22358:7)\n at Object.deferred_redirecting_factory_test.test1 (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_redirecting_factory_test/deferred_redirecting_factory_test.js:33:18)\n at test (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_redirecting_factory_test/deferred_redirecting_factory_test.js:61:47)\n at test.next (<anonymous>)\n at runBody (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22330:34)\n at Object.async.async (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22358:7)\n at Object.deferred_redirecting_factory_test.test (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_redirecting_factory_test/deferred_redirecting_factory_test.js:60:18)\n at Object.deferred_redirecting_factory_test.main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_redirecting_factory_test/deferred_redirecting_factory_test.js:68:50)\n at testMainWrapper (http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_redirecting_factory_test/test.html?crossOriginPort=44271:104:86)\n at dartMainRunner (http://127.0.0.1:45881/root_dart/tools/testing/dart/test_controller.js:303:5)\n at http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_redirecting_factory_test/test.html?crossOriginPort=44271:100:3\n at Object.execCb (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1696:33)\n at Module.check (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:883:51)\n at Module.<anonymous> (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1139:34)\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:134:23\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1189:21\n at each (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:59:31)\n at Module.emit (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1188:17)\n at Module.check (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:938:30)\n at Module.<anonymous> (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1139:34)\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:134:23\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1189:21\n at each (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:59:31)\n at Module.emit (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1188:17)\n at Module.check (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:938:30)\n at Module.enable (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1176:22)\n at Module.init (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:788:26)\n at callGetModule (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1203:63)\n at Object.completeLoad (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1590:21)\n at HTMLScriptElement.onScriptLoad (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1717:29)\n\n","timestamp":0.481},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.481},{"type":"print","value":"unittest-suite-done","timestamp":0.482},{"type":"message_received","value":"unittest-suite-done","timestamp":0.484},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.484},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_redirecting_factory_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_redirecting_factory_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_redirecting_factory_test/deferred_redirecting_factory_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running deferred_redirecting_factory_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_redirecting_factory_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_redirecting_factory_test\", \"dart_sdk\", \"async_helper\"],\n function(deferred_redirecting_factory_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_redirecting_factory_test.deferred_redirecting_factory_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.484}] 2019-04-19 12:57:34.905416 Warning: 2019-04-19 12:57:34.905429 Warning: 2019-04-19 12:57:34.905438 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_continue_label_test_none/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.905449 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.303},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.303},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.304},{"type":"print","value":"dart-main-done","timestamp":0.311},{"type":"print","value":"unittest-suite-success","timestamp":0.314},{"type":"message_received","value":"dart-calling-main","timestamp":0.316},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.316},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.316},{"type":"message_received","value":"dart-main-done","timestamp":0.316},{"type":"message_received","value":"unittest-suite-success","timestamp":0.316},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.316},{"type":"print","value":"unittest-suite-done","timestamp":0.317},{"type":"message_received","value":"unittest-suite-done","timestamp":0.318},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.318},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_continue_label_test_none</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_continue_label_test_none\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_continue_label_test_none/async_continue_label_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_continue_label_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_continue_label_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_continue_label_test_none\", \"dart_sdk\", \"async_helper\"],\n function(async_continue_label_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_continue_label_test_none.async_continue_label_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.318}] 2019-04-19 12:57:34.905510 Warning: 2019-04-19 12:57:34.905518 Warning: 2019-04-19 12:57:34.905527 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_body/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.905538 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.308},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.308},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.311},{"type":"print","value":"dart-main-done","timestamp":0.316},{"type":"print","value":"unittest-suite-success","timestamp":0.336},{"type":"message_received","value":"dart-calling-main","timestamp":0.336},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.336},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.337},{"type":"message_received","value":"dart-main-done","timestamp":0.337},{"type":"message_received","value":"unittest-suite-success","timestamp":0.337},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.337},{"type":"print","value":"unittest-suite-done","timestamp":0.339},{"type":"message_received","value":"unittest-suite-done","timestamp":0.34},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.34},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_continue_label_test_await_in_body</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_continue_label_test_await_in_body\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_continue_label_test_await_in_body/async_continue_label_test_await_in_body.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_continue_label_test_await_in_body</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_continue_label_test_await_in_body\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_continue_label_test_await_in_body\", \"dart_sdk\", \"async_helper\"],\n function(async_continue_label_test_await_in_body, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_continue_label_test_await_in_body.async_continue_label_test_await_in_body.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.341}] 2019-04-19 12:57:34.905614 Warning: 2019-04-19 12:57:34.905624 Warning: 2019-04-19 12:57:34.905635 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_init/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.905644 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.408},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.408},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.41},{"type":"print","value":"dart-main-done","timestamp":0.414},{"type":"print","value":"unittest-suite-success","timestamp":0.418},{"type":"message_received","value":"dart-calling-main","timestamp":0.418},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.418},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.418},{"type":"message_received","value":"dart-main-done","timestamp":0.418},{"type":"message_received","value":"unittest-suite-success","timestamp":0.418},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.418},{"type":"print","value":"unittest-suite-done","timestamp":0.419},{"type":"message_received","value":"unittest-suite-done","timestamp":0.42},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.42},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_continue_label_test_await_in_init</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_continue_label_test_await_in_init\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_continue_label_test_await_in_init/async_continue_label_test_await_in_init.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_continue_label_test_await_in_init</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_continue_label_test_await_in_init\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_continue_label_test_await_in_init\", \"dart_sdk\", \"async_helper\"],\n function(async_continue_label_test_await_in_init, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_continue_label_test_await_in_init.async_continue_label_test_await_in_init.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.42}] 2019-04-19 12:57:34.905706 Warning: 2019-04-19 12:57:34.905716 Warning: 2019-04-19 12:57:34.905724 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_condition/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.905733 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.002},{"type":"print","value":"dart-calling-main","timestamp":0.508},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.508},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.509},{"type":"print","value":"dart-main-done","timestamp":0.512},{"type":"print","value":"unittest-suite-success","timestamp":0.515},{"type":"message_received","value":"dart-calling-main","timestamp":0.516},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.516},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.517},{"type":"message_received","value":"dart-main-done","timestamp":0.517},{"type":"message_received","value":"unittest-suite-success","timestamp":0.519},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.519},{"type":"print","value":"unittest-suite-done","timestamp":0.52},{"type":"message_received","value":"unittest-suite-done","timestamp":0.52},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.52},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_continue_label_test_await_in_condition</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_continue_label_test_await_in_condition\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_continue_label_test_await_in_condition/async_continue_label_test_await_in_condition.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_continue_label_test_await_in_condition</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_continue_label_test_await_in_condition\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_continue_label_test_await_in_condition\", \"dart_sdk\", \"async_helper\"],\n function(async_continue_label_test_await_in_condition, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_continue_label_test_await_in_condition.async_continue_label_test_await_in_condition.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.521}] 2019-04-19 12:57:34.905796 Warning: 2019-04-19 12:57:34.905805 Warning: 2019-04-19 12:57:34.905815 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_update/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.905825 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.587},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.588},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.59},{"type":"print","value":"dart-main-done","timestamp":0.593},{"type":"print","value":"unittest-suite-success","timestamp":0.597},{"type":"message_received","value":"dart-calling-main","timestamp":0.597},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.598},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.598},{"type":"message_received","value":"dart-main-done","timestamp":0.599},{"type":"message_received","value":"unittest-suite-success","timestamp":0.599},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.599},{"type":"print","value":"unittest-suite-done","timestamp":0.6},{"type":"message_received","value":"unittest-suite-done","timestamp":0.601},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.601},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_continue_label_test_await_in_update</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_continue_label_test_await_in_update\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_continue_label_test_await_in_update/async_continue_label_test_await_in_update.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_continue_label_test_await_in_update</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_continue_label_test_await_in_update\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_continue_label_test_await_in_update\", \"dart_sdk\", \"async_helper\"],\n function(async_continue_label_test_await_in_update, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_continue_label_test_await_in_update.async_continue_label_test_await_in_update.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.601}] 2019-04-19 12:57:34.905888 Warning: 2019-04-19 12:57:34.905896 Warning: 2019-04-19 12:57:34.905907 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_postfix_expr_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.905917 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.529},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.529},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.53},{"type":"print","value":"dart-main-done","timestamp":0.533},{"type":"print","value":"unittest-suite-success","timestamp":0.538},{"type":"message_received","value":"dart-calling-main","timestamp":0.539},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.539},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.539},{"type":"message_received","value":"dart-main-done","timestamp":0.539},{"type":"message_received","value":"unittest-suite-success","timestamp":0.539},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.539},{"type":"print","value":"unittest-suite-done","timestamp":0.54},{"type":"message_received","value":"unittest-suite-done","timestamp":0.541},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.541},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_postfix_expr_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_postfix_expr_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_postfix_expr_test/await_postfix_expr_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_postfix_expr_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_postfix_expr_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_postfix_expr_test\", \"dart_sdk\", \"async_helper\"],\n function(await_postfix_expr_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_postfix_expr_test.await_postfix_expr_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.541}] 2019-04-19 12:57:34.905976 Warning: 2019-04-19 12:57:34.905983 Warning: 2019-04-19 12:57:34.905993 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_await_foreign_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.906 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.355},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.356},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.358},{"type":"print","value":"dart-main-done","timestamp":0.387},{"type":"print","value":"unittest-suite-success","timestamp":0.389},{"type":"message_received","value":"dart-calling-main","timestamp":0.39},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.39},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.39},{"type":"message_received","value":"dart-main-done","timestamp":0.39},{"type":"message_received","value":"unittest-suite-success","timestamp":0.39},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.39},{"type":"print","value":"unittest-suite-done","timestamp":0.39},{"type":"message_received","value":"unittest-suite-done","timestamp":0.392},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.393},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_await_foreign_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_await_foreign_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_await_foreign_test/async_await_foreign_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_await_foreign_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_await_foreign_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_await_foreign_test\", \"dart_sdk\", \"async_helper\"],\n function(async_await_foreign_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_await_foreign_test.async_await_foreign_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.394}] 2019-04-19 12:57:34.906054 Warning: 2019-04-19 12:57:34.906062 Warning: 2019-04-19 12:57:34.906073 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_async_star_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.906082 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.492},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.495},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.5},{"type":"print","value":"dart-main-done","timestamp":0.501},{"type":"message_received","value":"dart-calling-main","timestamp":0.516},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.516},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.517},{"type":"message_received","value":"dart-main-done","timestamp":0.517},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: Expect.listEquals(at index 2, expected: <++1>, actual: <-2>, 'looppause') fails\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at Function._fail (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:461:17)\n at Function.listEquals (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:250:25)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_test/async_star_test.js:225:24)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24466:27)\n at Object.async._microtaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24926:13)\n at async._startMicrotaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24932:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25007:9)\n\n","timestamp":0.555},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.555},{"type":"print","value":"unittest-suite-done","timestamp":0.557},{"type":"message_received","value":"unittest-suite-done","timestamp":0.558},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.559},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_test/async_star_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_test.async_star_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.559}] 2019-04-19 12:57:34.906163 Warning: 2019-04-19 12:57:34.906172 Warning: 2019-04-19 12:57:34.906184 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_async_star_await_for_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.906193 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.381},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.385},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.391},{"type":"print","value":"dart-main-done","timestamp":0.396},{"type":"message_received","value":"dart-calling-main","timestamp":0.41},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.41},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.41},{"type":"message_received","value":"dart-main-done","timestamp":0.41},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: FAILURE:\nExpect.equals(at index 9: Expected <...(^?1!1p1[]?2!2?3!3$)...>, Found: <...(^?1!1p1[?2]!2?3!3$)...>, 'pause at 1 (did not pause in time)') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41198:30)\n at Function.equals (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:121:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\nFAILURE:\nExpect.equals(expected: <(^?1!1b1$)>, actual: <(^?1!1b1?2$)>, 'break at 1 (did not cancel in time)') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41198:30)\n at Function.equals (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:142:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\nFAILURE:\nExpect.equals(expected: <(^?1!1p1[]b1$)>, actual: <(^?1!1p1[?2]b1?3$)>, 'pause then break at 1 (did not pause in time)') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41198:30)\n at Function.equals (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:166:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\nFAILURE:\nExpect.equals(at index 9: Expected <...(^?1!1y1[e1]?2!2?3!3$)...>, Found: <...(^?1!1y1[?2e1]!2?3!3$)...>, 'yield at 1 (did not wait for delivery)') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41198:30)\n at Function.equals (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:187:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\nFAILURE:\nExpect.equals(at index 9: Expected <...(^?1!1y1[e1<>]?2!2?3!3$)>, Found: <...(^?1!1y1[?2e1<]!2?3!3$)>>, 'yield at 1, pause at yield (did not wait for delivery)') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41198:30)\n at Function.equals (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:213:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\nFAILURE:\nExpect.equals(at index 9: Expected <...(^?1!1y1[e1B1$)>, Found: <...(^?1!1y1[?2e1B1]!2?3!3$)...>, 'yield at 1, break at yield (did not wait for delivery)') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41198:30)\n at Function.equals (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:238:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\nFAILURE:\nExpect.equals(at index 9: Expected <...(^?1!1Y1[e1]?2!2?3!3$)...>, Found: <...(^?1!1Y1[?2e1]!2?3!3$)...>, 'yield* at 1 (did not wait for delivery)') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41198:30)\n at Function.equals (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:259:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\nFAILURE:\nExpect.equals(at index 9: Expected <...(^?1!1Y1[e1<>]?2!2?3!3$)...>, Found: <...(^?1!1Y1[?2e1<>]!2?3!3$)...>, 'yield* then pause at 1 (did not wait for delivery)') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41198:30)\n at Function.equals (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:285:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\nFAILURE:\nExpect.equals(at index 9: Expected <...(^?1!1Y1[e1]b1$)>, Found: <...(^?1!1Y1[?2e1]b1?3$)>, 'yield* then pause at 1 (did not wait for delivery)') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41198:30)\n at Function.equals (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:306:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\nFAILURE:\nExpect.equals(at index 9: Expected <...(^?1!1Y1[e1<>]b1$)>, Found: <...(^?1!1Y1[?2e1<>]b1?3$)>, 'yield* then pause at 1') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41198:30)\n at Function.equals (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:326:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\nFAILURE:\nExpect.equals(at index 9: Expected <...(^?1!1Y1[e1B1$)>, Found: <...(^?1!1Y1[?2e1B1]!2?3!3$)...>, 'yield* then break at 1 (did not deliver event in time)') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41198:30)\n at Function.equals (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:351:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\nFAILURE:\nExpect.equals(at index 9: Expected <...(^?1!1Y1[e1<>B1$)>, Found: <...(^?1!1Y1[?2e1<>B1]!2?3!3$)...>, 'yield* then pause then break at 1') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41198:30)\n at Function.equals (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:372:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\nExpectations failed: 12, succeeded: 1\n\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at Function.summarize (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:389:19)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:374:41)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_complete] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24564:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\n\n","timestamp":0.624},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.625},{"type":"print","value":"unittest-suite-done","timestamp":0.628},{"type":"message_received","value":"unittest-suite-done","timestamp":0.628},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.628},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_await_for_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_await_for_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_await_for_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_await_for_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_await_for_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_await_for_test.async_star_await_for_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.628}] 2019-04-19 12:57:34.906419 Warning: 2019-04-19 12:57:34.906426 Warning: 2019-04-19 12:57:34.906437 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_async_star_cancel_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.906446 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.392},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.393},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.398},{"type":"print","value":"dart-main-done","timestamp":0.4},{"type":"message_received","value":"dart-calling-main","timestamp":0.409},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.41},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.41},{"type":"message_received","value":"dart-main-done","timestamp":0.41},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: Expect.listEquals(at index 2, expected: <x>, actual: <-2>, 'cancel') fails\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at Function._fail (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:461:17)\n at Function.listEquals (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:250:25)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_cancel_test/async_star_cancel_test.js:49:22)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.new.[_completeWithValue] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24573:23)\n at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24591:35)\n at Object.async._microtaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24926:13)\n at async._startMicrotaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24932:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25007:9)\n\n","timestamp":0.411},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.411},{"type":"print","value":"unittest-suite-done","timestamp":0.412},{"type":"message_received","value":"unittest-suite-done","timestamp":0.414},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.414},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_cancel_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_cancel_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_cancel_test/async_star_cancel_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_cancel_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_cancel_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_cancel_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_cancel_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_cancel_test.async_star_cancel_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.414}] 2019-04-19 12:57:34.906520 Warning: 2019-04-19 12:57:34.906531 Warning: 2019-04-19 12:57:34.906540 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_none/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.906549 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.461},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.462},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.466},{"type":"print","value":"dart-main-done","timestamp":0.468},{"type":"print","value":"unittest-suite-success","timestamp":0.472},{"type":"message_received","value":"dart-calling-main","timestamp":0.476},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.476},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.477},{"type":"message_received","value":"dart-main-done","timestamp":0.477},{"type":"message_received","value":"unittest-suite-success","timestamp":0.478},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.478},{"type":"print","value":"unittest-suite-done","timestamp":0.478},{"type":"message_received","value":"unittest-suite-done","timestamp":0.481},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.481},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_invalid_test_none</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_invalid_test_none\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_none/async_star_invalid_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_invalid_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_invalid_test_none\", \"dart_sdk\", \"async_helper\"],\n function(async_star_invalid_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_invalid_test_none.async_star_invalid_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.482}] 2019-04-19 12:57:34.906623 Warning: 2019-04-19 12:57:34.906634 Warning: 2019-04-19 12:57:34.906643 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_03/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.906653 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.499},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.5},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.502},{"type":"print","value":"dart-main-done","timestamp":0.503},{"type":"message_received","value":"dart-calling-main","timestamp":0.507},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.507},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.507},{"type":"message_received","value":"dart-main-done","timestamp":0.507},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: throw\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at _AsyncStarImpl.new.f [as initGenerator] (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_03/async_star_invalid_test_03.js:25:36)\n at f.next (<anonymous>)\n at _AsyncStarImpl.new.runBody (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22421:40)\n at Object.async._microtaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24926:13)\n at async._startMicrotaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24932:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25007:9)\n\n","timestamp":0.508},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.508},{"type":"print","value":"unittest-suite-done","timestamp":0.508},{"type":"message_received","value":"unittest-suite-done","timestamp":0.51},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.51},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_invalid_test_03</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_invalid_test_03\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_03/async_star_invalid_test_03.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_invalid_test_03</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_03\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_invalid_test_03\", \"dart_sdk\", \"async_helper\"],\n function(async_star_invalid_test_03, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_invalid_test_03.async_star_invalid_test_03.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.51}] 2019-04-19 12:57:34.906723 Warning: 2019-04-19 12:57:34.906732 Warning: 2019-04-19 12:57:34.906740 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_started_immediately_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.906749 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.416},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.417},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.418},{"type":"print","value":"dart-main-done","timestamp":0.421},{"type":"print","value":"unittest-suite-success","timestamp":0.422},{"type":"message_received","value":"dart-calling-main","timestamp":0.425},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.425},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.425},{"type":"message_received","value":"dart-main-done","timestamp":0.426},{"type":"message_received","value":"unittest-suite-success","timestamp":0.427},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.427},{"type":"print","value":"unittest-suite-done","timestamp":0.428},{"type":"message_received","value":"unittest-suite-done","timestamp":0.43},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.431},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_started_immediately_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_started_immediately_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_started_immediately_test/await_started_immediately_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_started_immediately_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_started_immediately_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_started_immediately_test\", \"dart_sdk\", \"async_helper\"],\n function(await_started_immediately_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_started_immediately_test.await_started_immediately_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.431}] 2019-04-19 12:57:34.906810 Warning: 2019-04-19 12:57:34.906818 Warning: 2019-04-19 12:57:34.906826 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_yieldstar_pause_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.906837 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.505},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.505},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.507},{"type":"print","value":"dart-main-done","timestamp":0.513},{"type":"message_received","value":"dart-calling-main","timestamp":0.516},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.517},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.517},{"type":"message_received","value":"dart-main-done","timestamp":0.517},{"type":"print","value":"event","timestamp":0.522},{"type":"print","value":"DONE","timestamp":0.527},{"type":"print","value":"unittest-suite-success","timestamp":0.528},{"type":"message_received","value":"unittest-suite-success","timestamp":0.528},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.528},{"type":"print","value":"unittest-suite-done","timestamp":0.528},{"type":"message_received","value":"unittest-suite-done","timestamp":0.529},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.53},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test yieldstar_pause_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"yieldstar_pause_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_yieldstar_pause_test/yieldstar_pause_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running yieldstar_pause_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_yieldstar_pause_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"yieldstar_pause_test\", \"dart_sdk\", \"async_helper\"],\n function(yieldstar_pause_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = yieldstar_pause_test.yieldstar_pause_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.53}] 2019-04-19 12:57:34.906897 Warning: 2019-04-19 12:57:34.906908 Warning: 2019-04-19 12:57:34.906918 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_none/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.906927 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.423},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.43},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.44},{"type":"print","value":"dart-main-done","timestamp":0.511},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":0.531},{"type":"print","value":"SUCCESS: basic empty","timestamp":0.535},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":0.541},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":0.542},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":0.542},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":0.544},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":0.544},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":0.547},{"type":"print","value":"SUCCESS: basic single","timestamp":0.553},{"type":"print","value":"SUCCESS: basic call delays","timestamp":0.553},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":0.554},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":0.555},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":0.555},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":0.556},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":0.556},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":0.557},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":0.558},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":0.558},{"type":"print","value":"SUCCESS: yield expressions unary operator","timestamp":0.558},{"type":"print","value":"SUCCESS: yield expressions binary operator","timestamp":0.558},{"type":"print","value":"SUCCESS: yield expressions ternary operator","timestamp":0.558},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":0.558},{"type":"print","value":"SUCCESS: yield expressions suffix pre-increment","timestamp":0.559},{"type":"print","value":"SUCCESS: yield expressions assignment","timestamp":0.559},{"type":"print","value":"SUCCESS: yield expressions assignment op","timestamp":0.559},{"type":"print","value":"SUCCESS: yield expressions index operator","timestamp":0.559},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":0.56},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":0.56},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":0.567},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":0.567},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":0.569},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":0.569},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":0.569},{"type":"print","value":"SUCCESS: basic throws","timestamp":0.572},{"type":"print","value":"SUCCESS: basic allows await","timestamp":0.572},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":0.574},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":0.574},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":0.574},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":0.574},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":0.574},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":0.575},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":0.576},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":0.577},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":0.577},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":0.577},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":0.579},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":0.582},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":0.582},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":0.586},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":0.586},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":0.588},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":0.589},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":0.59},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":0.59},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":0.59},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":0.591},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":0.593},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":0.593},{"type":"print","value":"SUCCESS: basic multiple","timestamp":0.595},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":0.599},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":0.602},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":0.604},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":0.605},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":0.605},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":0.606},{"type":"print","value":"SUCCESS: await for nested","timestamp":0.61},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":0.615},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":0.615},{"type":"message_received","value":"dart-calling-main","timestamp":0.615},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.615},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.615},{"type":"message_received","value":"dart-main-done","timestamp":0.615},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":0.852},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":1.756},{"type":"print","value":"unittest-suite-success","timestamp":1.756},{"type":"message_received","value":"unittest-suite-success","timestamp":1.757},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.757},{"type":"print","value":"unittest-suite-done","timestamp":1.76},{"type":"message_received","value":"unittest-suite-done","timestamp":1.76},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.76},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_test_none</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_test_none\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_none/async_star_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_test_none\", \"dart_sdk\", \"async_helper\"],\n function(async_star_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_test_none.async_star_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.76}] 2019-04-19 12:57:34.907040 Warning: 2019-04-19 12:57:34.907050 Warning: 2019-04-19 12:57:34.907060 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_02/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.907071 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.015},{"type":"print","value":"dart-calling-main","timestamp":0.368},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.373},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.396},{"type":"print","value":"dart-main-done","timestamp":0.469},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":0.485},{"type":"print","value":"SUCCESS: basic empty","timestamp":0.487},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":0.495},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":0.495},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":0.496},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":0.496},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":0.496},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":0.5},{"type":"print","value":"SUCCESS: basic single","timestamp":0.508},{"type":"print","value":"SUCCESS: basic call delays","timestamp":0.509},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":0.511},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":0.512},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":0.512},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":0.513},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":0.513},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":0.515},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":0.515},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":0.516},{"type":"print","value":"SUCCESS: yield expressions unary operator","timestamp":0.517},{"type":"print","value":"SUCCESS: yield expressions binary operator","timestamp":0.517},{"type":"print","value":"SUCCESS: yield expressions ternary operator","timestamp":0.518},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":0.518},{"type":"print","value":"SUCCESS: yield expressions suffix pre-increment","timestamp":0.518},{"type":"print","value":"SUCCESS: yield expressions assignment","timestamp":0.518},{"type":"print","value":"SUCCESS: yield expressions assignment op","timestamp":0.519},{"type":"print","value":"SUCCESS: yield expressions index operator","timestamp":0.519},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":0.52},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":0.52},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":0.528},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":0.529},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":0.53},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":0.531},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":0.531},{"type":"print","value":"SUCCESS: basic throws","timestamp":0.534},{"type":"print","value":"SUCCESS: basic allows await","timestamp":0.535},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":0.537},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":0.537},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":0.537},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":0.538},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":0.538},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":0.539},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":0.54},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":0.541},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":0.541},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":0.541},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":0.543},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":0.545},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":0.547},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":0.55},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":0.55},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":0.552},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":0.553},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":0.553},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":0.553},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":0.554},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":0.554},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":0.557},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":0.557},{"type":"print","value":"SUCCESS: basic multiple","timestamp":0.558},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":0.56},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":0.562},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":0.564},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":0.564},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":0.565},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":0.565},{"type":"print","value":"SUCCESS: await for nested","timestamp":0.569},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":0.577},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":0.578},{"type":"message_received","value":"dart-calling-main","timestamp":0.578},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.578},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.578},{"type":"message_received","value":"dart-main-done","timestamp":0.578},{"type":"print","value":"FAILURE: pausing canceling while paused at yield: Expect.deepEquals(list length, expected: <3>, actual: <4>) fails: Next element <*3>\nError: Expect.deepEquals(list length, expected: <3>, actual: <4>) fails: Next element <*3>\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at Function._fail (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:461:17)\n at Function.deepEquals (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:352:25)\n at dart.fn.v (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_02/async_star_test_02.js:1453:22)\n at Object.async_minitest.expect (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_02/async_star_test_02.js:1345:5)\n at async.Future.delayed.dart.fn (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_02/async_star_test_02.js:1043:28)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23849:33)\n at async._rootRun (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28226:56)\n at async._CustomZone.new.run (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28056:14)\n at async._CustomZone.new.runGuarded (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:27973:14)\n at dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28012:33)\n at async._rootRun (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28229:14)\n at async._CustomZone.new.run (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28056:14)\n at dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28000:33)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)","timestamp":0.747},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":0.804},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":1.709},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: Expect.fail('1 tests failed')\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at Function._fail (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:461:17)\n at Function.fail (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:226:21)\n at async._AsyncCallbackEntry.new.async.Zone.root.scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_02/async_star_test_02.js:1661:26)\n at Object.async._microtaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24926:13)\n at async._startMicrotaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24932:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25007:9)\n\n","timestamp":1.709},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.709},{"type":"print","value":"unittest-suite-done","timestamp":1.715},{"type":"message_received","value":"unittest-suite-done","timestamp":1.716},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.716},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_test_02</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_test_02\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_02/async_star_test_02.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_test_02</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_02\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_test_02\", \"dart_sdk\", \"async_helper\"],\n function(async_star_test_02, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_test_02.async_star_test_02.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.716}] 2019-04-19 12:57:34.907212 Warning: 2019-04-19 12:57:34.907223 Warning: 2019-04-19 12:57:34.907234 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_03/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.907245 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.515},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.519},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.527},{"type":"print","value":"dart-main-done","timestamp":0.591},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":0.602},{"type":"print","value":"SUCCESS: basic empty","timestamp":0.604},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":0.609},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":0.61},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":0.61},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":0.61},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":0.61},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":0.614},{"type":"print","value":"SUCCESS: basic single","timestamp":0.619},{"type":"print","value":"SUCCESS: basic call delays","timestamp":0.619},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":0.621},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":0.621},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":0.622},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":0.622},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":0.622},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":0.624},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":0.624},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":0.624},{"type":"print","value":"SUCCESS: yield expressions unary operator","timestamp":0.624},{"type":"print","value":"SUCCESS: yield expressions binary operator","timestamp":0.624},{"type":"print","value":"SUCCESS: yield expressions ternary operator","timestamp":0.624},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":0.624},{"type":"print","value":"SUCCESS: yield expressions suffix pre-increment","timestamp":0.625},{"type":"print","value":"SUCCESS: yield expressions assignment","timestamp":0.625},{"type":"print","value":"SUCCESS: yield expressions assignment op","timestamp":0.625},{"type":"print","value":"SUCCESS: yield expressions index operator","timestamp":0.626},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":0.626},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":0.626},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":0.633},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":0.634},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":0.639},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":0.639},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":0.64},{"type":"print","value":"SUCCESS: basic throws","timestamp":0.644},{"type":"print","value":"SUCCESS: basic allows await","timestamp":0.644},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":0.645},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":0.645},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":0.645},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":0.646},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":0.646},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":0.647},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":0.648},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":0.648},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":0.649},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":0.649},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":0.65},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":0.652},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":0.652},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":0.656},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":0.657},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":0.659},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":0.659},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":0.659},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":0.66},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":0.66},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":0.66},{"type":"print","value":"SUCCESS: await for simple stream - take","timestamp":0.66},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":0.663},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":0.663},{"type":"print","value":"SUCCESS: basic multiple","timestamp":0.665},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":0.669},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":0.671},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":0.673},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":0.674},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":0.674},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":0.674},{"type":"print","value":"SUCCESS: await for nested","timestamp":0.679},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":0.684},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":0.685},{"type":"message_received","value":"dart-calling-main","timestamp":0.685},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.686},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.686},{"type":"message_received","value":"dart-main-done","timestamp":0.686},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":0.918},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":1.822},{"type":"print","value":"unittest-suite-success","timestamp":1.822},{"type":"message_received","value":"unittest-suite-success","timestamp":1.823},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.823},{"type":"print","value":"unittest-suite-done","timestamp":1.832},{"type":"message_received","value":"unittest-suite-done","timestamp":1.832},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.832},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_test_03</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_test_03\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_03/async_star_test_03.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_test_03</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_03\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_test_03\", \"dart_sdk\", \"async_helper\"],\n function(async_star_test_03, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_test_03.async_star_test_03.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.832}] 2019-04-19 12:57:34.907352 Warning: 2019-04-19 12:57:34.907365 Warning: 2019-04-19 12:57:34.907374 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_05/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.907383 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.365},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.37},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.378},{"type":"print","value":"dart-main-done","timestamp":0.452},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":0.459},{"type":"print","value":"SUCCESS: basic empty","timestamp":0.462},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":0.465},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":0.465},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":0.466},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":0.466},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":0.466},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":0.468},{"type":"print","value":"SUCCESS: basic single","timestamp":0.47},{"type":"print","value":"SUCCESS: basic call delays","timestamp":0.471},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":0.472},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":0.473},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":0.473},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":0.474},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":0.474},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":0.474},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":0.474},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":0.475},{"type":"print","value":"SUCCESS: yield expressions unary operator","timestamp":0.475},{"type":"print","value":"SUCCESS: yield expressions binary operator","timestamp":0.475},{"type":"print","value":"SUCCESS: yield expressions ternary operator","timestamp":0.475},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":0.476},{"type":"print","value":"SUCCESS: yield expressions suffix pre-increment","timestamp":0.476},{"type":"print","value":"SUCCESS: yield expressions assignment","timestamp":0.476},{"type":"print","value":"SUCCESS: yield expressions assignment op","timestamp":0.476},{"type":"print","value":"SUCCESS: yield expressions index operator","timestamp":0.476},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":0.476},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":0.476},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":0.48},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":0.48},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":0.482},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":0.482},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":0.482},{"type":"print","value":"SUCCESS: basic throws","timestamp":0.484},{"type":"print","value":"SUCCESS: basic allows await","timestamp":0.484},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":0.485},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":0.485},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":0.485},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":0.486},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":0.486},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":0.486},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":0.486},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":0.486},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":0.487},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":0.487},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":0.488},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":0.489},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":0.489},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":0.492},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":0.492},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":0.494},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":0.494},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":0.494},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":0.495},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":0.495},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":0.496},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":0.498},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":0.498},{"type":"print","value":"SUCCESS: basic multiple","timestamp":0.5},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":0.505},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":0.506},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":0.508},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":0.509},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":0.509},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":0.51},{"type":"print","value":"SUCCESS: await for nested","timestamp":0.518},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":0.521},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":0.523},{"type":"message_received","value":"dart-calling-main","timestamp":0.523},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.523},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.523},{"type":"message_received","value":"dart-main-done","timestamp":0.523},{"type":"print","value":"SUCCESS: await for await pauses loop","timestamp":0.567},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":0.771},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":1.675},{"type":"print","value":"unittest-suite-success","timestamp":1.675},{"type":"message_received","value":"unittest-suite-success","timestamp":1.676},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.676},{"type":"print","value":"unittest-suite-done","timestamp":1.677},{"type":"message_received","value":"unittest-suite-done","timestamp":1.678},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.678},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_test_05</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_test_05\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_05/async_star_test_05.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_test_05</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_05\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_test_05\", \"dart_sdk\", \"async_helper\"],\n function(async_star_test_05, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_test_05.async_star_test_05.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.678}] 2019-04-19 12:57:34.907490 Warning: 2019-04-19 12:57:34.907495 Warning: 2019-04-19 12:57:34.907501 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_04/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.907508 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.254},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.257},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.268},{"type":"print","value":"dart-main-done","timestamp":0.311},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":0.32},{"type":"print","value":"SUCCESS: basic empty","timestamp":0.323},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":0.329},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":0.33},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":0.33},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":0.33},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":0.33},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":0.333},{"type":"print","value":"SUCCESS: basic single","timestamp":0.338},{"type":"print","value":"SUCCESS: basic call delays","timestamp":0.339},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":0.34},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":0.341},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":0.341},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":0.342},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":0.342},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":0.343},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":0.343},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":0.343},{"type":"print","value":"SUCCESS: yield expressions unary operator","timestamp":0.344},{"type":"print","value":"SUCCESS: yield expressions binary operator","timestamp":0.344},{"type":"print","value":"SUCCESS: yield expressions ternary operator","timestamp":0.344},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":0.344},{"type":"print","value":"SUCCESS: yield expressions suffix pre-increment","timestamp":0.344},{"type":"print","value":"SUCCESS: yield expressions assignment","timestamp":0.344},{"type":"print","value":"SUCCESS: yield expressions assignment op","timestamp":0.344},{"type":"print","value":"SUCCESS: yield expressions index operator","timestamp":0.344},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":0.346},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":0.346},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":0.351},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":0.351},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":0.352},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":0.352},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":0.352},{"type":"print","value":"SUCCESS: basic throws","timestamp":0.356},{"type":"print","value":"SUCCESS: basic allows await","timestamp":0.356},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":0.356},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":0.357},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":0.357},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":0.357},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":0.357},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":0.357},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":0.359},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":0.359},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":0.359},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":0.359},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":0.36},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":0.362},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":0.362},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":0.365},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":0.366},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":0.367},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":0.367},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":0.367},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":0.368},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":0.368},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":0.368},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":0.37},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":0.37},{"type":"print","value":"SUCCESS: basic multiple","timestamp":0.372},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":0.374},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":0.375},{"type":"print","value":"SUCCESS: await for simple stream - take, reyield","timestamp":0.376},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":0.377},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":0.378},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":0.379},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":0.38},{"type":"print","value":"SUCCESS: await for nested","timestamp":0.383},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":0.386},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":0.386},{"type":"message_received","value":"dart-calling-main","timestamp":0.386},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.386},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.386},{"type":"message_received","value":"dart-main-done","timestamp":0.387},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":0.638},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":1.542},{"type":"print","value":"unittest-suite-success","timestamp":1.542},{"type":"message_received","value":"unittest-suite-success","timestamp":1.542},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.542},{"type":"print","value":"unittest-suite-done","timestamp":1.545},{"type":"message_received","value":"unittest-suite-done","timestamp":1.545},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.545},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_test_04</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_test_04\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_04/async_star_test_04.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_test_04</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_04\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_test_04\", \"dart_sdk\", \"async_helper\"],\n function(async_star_test_04, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_test_04.async_star_test_04.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.545}] 2019-04-19 12:57:34.907592 Warning: 2019-04-19 12:57:34.907599 Warning: 2019-04-19 12:57:34.907605 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_01/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.907612 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.201},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.203},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.211},{"type":"print","value":"dart-main-done","timestamp":0.261},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":0.27},{"type":"print","value":"SUCCESS: basic empty","timestamp":0.272},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":0.276},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":0.276},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":0.276},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":0.276},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":0.277},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":0.279},{"type":"print","value":"SUCCESS: basic single","timestamp":0.283},{"type":"print","value":"SUCCESS: basic call delays","timestamp":0.284},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":0.285},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":0.285},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":0.285},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":0.286},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":0.286},{"type":"print","value":"SUCCESS: yield statement context labeled 2","timestamp":0.286},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":0.287},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":0.287},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":0.287},{"type":"print","value":"SUCCESS: yield expressions unary operator","timestamp":0.287},{"type":"print","value":"SUCCESS: yield expressions binary operator","timestamp":0.287},{"type":"print","value":"SUCCESS: yield expressions ternary operator","timestamp":0.287},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":0.287},{"type":"print","value":"SUCCESS: yield expressions suffix pre-increment","timestamp":0.287},{"type":"print","value":"SUCCESS: yield expressions assignment","timestamp":0.288},{"type":"print","value":"SUCCESS: yield expressions assignment op","timestamp":0.288},{"type":"print","value":"SUCCESS: yield expressions index operator","timestamp":0.288},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":0.289},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":0.289},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":0.293},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":0.293},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":0.293},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":0.294},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":0.294},{"type":"print","value":"SUCCESS: basic throws","timestamp":0.296},{"type":"print","value":"SUCCESS: basic allows await","timestamp":0.296},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":0.297},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":0.297},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":0.297},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":0.297},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":0.297},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":0.298},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":0.299},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":0.299},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":0.299},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":0.299},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":0.3},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":0.302},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":0.302},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":0.306},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":0.306},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":0.307},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":0.308},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":0.308},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":0.308},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":0.308},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":0.309},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":0.31},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":0.31},{"type":"print","value":"SUCCESS: basic multiple","timestamp":0.312},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":0.315},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":0.316},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":0.318},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":0.319},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":0.319},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":0.319},{"type":"print","value":"SUCCESS: await for nested","timestamp":0.322},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":0.325},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":0.325},{"type":"message_received","value":"dart-calling-main","timestamp":0.327},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.327},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.327},{"type":"message_received","value":"dart-main-done","timestamp":0.327},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":0.584},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":1.49},{"type":"print","value":"unittest-suite-success","timestamp":1.49},{"type":"message_received","value":"unittest-suite-success","timestamp":1.493},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.493},{"type":"print","value":"unittest-suite-done","timestamp":1.494},{"type":"message_received","value":"unittest-suite-done","timestamp":1.494},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.495},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_test_01</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_test_01\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_01/async_star_test_01.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_test_01</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_01\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_test_01\", \"dart_sdk\", \"async_helper\"],\n function(async_star_test_01, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_test_01.async_star_test_01.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.495}] 2019-04-19 12:57:34.907692 Warning: 2019-04-19 12:57:34.907697 Warning: 2019-04-19 12:57:34.907704 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_future_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.907711 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.368},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.369},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.372},{"type":"print","value":"dart-main-done","timestamp":0.381},{"type":"message_received","value":"dart-calling-main","timestamp":0.383},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.383},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.384},{"type":"message_received","value":"dart-main-done","timestamp":0.384},{"type":"print","value":"unittest-suite-success","timestamp":1.481},{"type":"message_received","value":"unittest-suite-success","timestamp":1.481},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.481},{"type":"print","value":"unittest-suite-done","timestamp":1.482},{"type":"message_received","value":"unittest-suite-done","timestamp":1.482},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.482},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_future_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_future_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_future_test/await_future_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_future_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_future_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_future_test\", \"dart_sdk\", \"async_helper\"],\n function(await_future_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_future_test.await_future_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.482}] 2019-04-19 12:57:34.907756 Warning: 2019-04-19 12:57:34.907761 Warning: 2019-04-19 12:57:34.907768 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_no_such_method_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.907777 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.429},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.429},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.43},{"type":"print","value":"dart-main-done","timestamp":0.43},{"type":"print","value":"unittest-suite-success","timestamp":0.432},{"type":"message_received","value":"dart-calling-main","timestamp":0.433},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.433},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.433},{"type":"message_received","value":"dart-main-done","timestamp":0.433},{"type":"message_received","value":"unittest-suite-success","timestamp":0.433},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.433},{"type":"print","value":"unittest-suite-done","timestamp":0.435},{"type":"message_received","value":"unittest-suite-done","timestamp":0.436},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.436},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_no_such_method_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_no_such_method_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_no_such_method_test/deferred_no_such_method_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running deferred_no_such_method_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_no_such_method_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_no_such_method_test\", \"dart_sdk\", \"async_helper\"],\n function(deferred_no_such_method_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_no_such_method_test.deferred_no_such_method_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.436}] 2019-04-19 12:57:34.907819 Warning: 2019-04-19 12:57:34.907823 Warning: 2019-04-19 12:57:34.907830 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_control_flow_collections_if_await_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.907838 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.312},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.312},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.314},{"type":"print","value":"dart-main-done","timestamp":0.33},{"type":"print","value":"unittest-suite-success","timestamp":0.339},{"type":"message_received","value":"dart-calling-main","timestamp":0.34},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.34},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.34},{"type":"message_received","value":"dart-main-done","timestamp":0.34},{"type":"message_received","value":"unittest-suite-success","timestamp":0.34},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.34},{"type":"print","value":"unittest-suite-done","timestamp":0.34},{"type":"message_received","value":"unittest-suite-done","timestamp":0.342},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.342},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test if_await_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"if_await_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_if_await_test/if_await_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running if_await_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_if_await_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"if_await_test\", \"dart_sdk\", \"async_helper\"],\n function(if_await_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = if_await_test.if_await_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.342}] 2019-04-19 12:57:34.907880 Warning: 2019-04-19 12:57:34.907885 Warning: 2019-04-19 12:57:34.907891 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_null_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.907898 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":1.289},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.29},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.296},{"type":"print","value":"dart-main-done","timestamp":1.306},{"type":"message_received","value":"dart-calling-main","timestamp":1.328},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.329},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.329},{"type":"message_received","value":"dart-main-done","timestamp":1.33},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: asyncExpectThrows<NoSuchMethodError>(): Did not throw.\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at FutureOfNull._check.result.then.dart.fn._ (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/async_helper.js:97:17)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24466:27)\n at Object.async._microtaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24926:13)\n at async._startMicrotaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24932:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25007:9)\n\n","timestamp":1.331},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.331},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: asyncExpectThrows<NoSuchMethodError>(): Did not throw.\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at FutureOfNull._check.result.then.dart.fn._ (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/async_helper.js:97:17)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24466:27)\n at Object.async._microtaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24926:13)\n at async._startMicrotaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24932:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25007:9)\n\n","timestamp":1.332},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.332},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: asyncExpectThrows<NoSuchMethodError>(): Did not throw.\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at FutureOfNull._check.result.then.dart.fn._ (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/async_helper.js:97:17)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24466:27)\n at Object.async._microtaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24926:13)\n at async._startMicrotaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24932:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25007:9)\n\n","timestamp":1.333},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.334},{"type":"print","value":"unittest-suite-done","timestamp":1.335},{"type":"message_received","value":"unittest-suite-done","timestamp":1.338},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.338},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_for_null_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_for_null_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_await_for_null_test/await_for_null_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running await_for_null_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_await_for_null_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_for_null_test\", \"dart_sdk\", \"async_helper\"],\n function(await_for_null_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_for_null_test.await_for_null_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.338}] 2019-04-19 12:57:34.907964 Warning: 2019-04-19 12:57:34.907969 Warning: 2019-04-19 12:57:34.907976 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_control_flow_collections_for_await_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.907982 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.535},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.536},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.54},{"type":"print","value":"dart-main-done","timestamp":0.565},{"type":"message_received","value":"dart-calling-main","timestamp":0.568},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.568},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.568},{"type":"message_received","value":"dart-main-done","timestamp":0.568},{"type":"print","value":"unittest-suite-success","timestamp":0.671},{"type":"message_received","value":"unittest-suite-success","timestamp":0.673},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.674},{"type":"print","value":"unittest-suite-done","timestamp":0.675},{"type":"message_received","value":"unittest-suite-done","timestamp":0.675},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.675},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test for_await_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"for_await_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_for_await_test/for_await_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running for_await_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_for_await_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"for_await_test\", \"dart_sdk\", \"async_helper\"],\n function(for_await_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = for_await_test.for_await_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.675}] 2019-04-19 12:57:34.908024 Warning: 2019-04-19 12:57:34.908029 Warning: 2019-04-19 12:57:34.908036 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_inference_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.908042 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":1.284},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.295},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.314},{"type":"print","value":"dart-main-done","timestamp":1.337},{"type":"print","value":"unittest-suite-success","timestamp":1.38},{"type":"message_received","value":"dart-calling-main","timestamp":1.381},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.381},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.381},{"type":"message_received","value":"dart-main-done","timestamp":1.381},{"type":"message_received","value":"unittest-suite-success","timestamp":1.381},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.382},{"type":"print","value":"unittest-suite-done","timestamp":1.382},{"type":"message_received","value":"unittest-suite-done","timestamp":1.383},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.383},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_for_inference_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_for_inference_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_await_for_inference_test/await_for_inference_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_for_inference_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_await_for_inference_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_for_inference_test\", \"dart_sdk\", \"async_helper\"],\n function(await_for_inference_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_for_inference_test.await_for_inference_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.383}] 2019-04-19 12:57:34.908099 Warning: 2019-04-19 12:57:34.908106 Warning: 2019-04-19 12:57:34.908119 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.908125 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.363},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.364},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.367},{"type":"print","value":"dart-main-done","timestamp":0.38},{"type":"print","value":"unittest-suite-success","timestamp":0.473},{"type":"message_received","value":"dart-calling-main","timestamp":0.473},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.474},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.474},{"type":"message_received","value":"dart-main-done","timestamp":0.474},{"type":"message_received","value":"unittest-suite-success","timestamp":0.474},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.474},{"type":"print","value":"unittest-suite-done","timestamp":0.475},{"type":"message_received","value":"unittest-suite-done","timestamp":0.476},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.476},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_for_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_for_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_await_for_test/await_for_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_for_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_await_for_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_for_test\", \"dart_sdk\", \"async_helper\"],\n function(await_for_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_for_test.await_for_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.476}] 2019-04-19 12:57:34.908180 Warning: 2019-04-19 12:57:34.908195 Warning: 2019-04-19 12:57:34.908205 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_mixin_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.908213 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.436},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.436},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.437},{"type":"print","value":"dart-main-done","timestamp":0.437},{"type":"print","value":"unittest-suite-success","timestamp":0.439},{"type":"message_received","value":"dart-calling-main","timestamp":0.44},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.44},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.44},{"type":"message_received","value":"dart-main-done","timestamp":0.44},{"type":"message_received","value":"unittest-suite-success","timestamp":0.441},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.441},{"type":"print","value":"unittest-suite-done","timestamp":0.441},{"type":"message_received","value":"unittest-suite-done","timestamp":0.441},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.441},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_mixin_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_mixin_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_mixin_test/deferred_mixin_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running deferred_mixin_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_mixin_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_mixin_test\", \"dart_sdk\", \"async_helper\"],\n function(deferred_mixin_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_mixin_test.deferred_mixin_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.442}] 2019-04-19 12:57:34.908272 Warning: 2019-04-19 12:57:34.908284 Warning: 2019-04-19 12:57:34.908294 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_no_cancel_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.908304 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.396},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.397},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.399},{"type":"print","value":"dart-main-done","timestamp":0.4},{"type":"message_received","value":"dart-calling-main","timestamp":0.402},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.402},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.402},{"type":"message_received","value":"dart-main-done","timestamp":0.403},{"type":"print","value":"unittest-suite-success","timestamp":0.501},{"type":"message_received","value":"unittest-suite-success","timestamp":0.502},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.502},{"type":"print","value":"unittest-suite-done","timestamp":0.503},{"type":"message_received","value":"unittest-suite-done","timestamp":0.503},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.503},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_no_cancel_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_no_cancel_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_no_cancel_test/async_star_no_cancel_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_no_cancel_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_no_cancel_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_no_cancel_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_no_cancel_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_no_cancel_test.async_star_no_cancel_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.503}] 2019-04-19 12:57:34.908367 Warning: 2019-04-19 12:57:34.908378 Warning: 2019-04-19 12:57:34.908387 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_global_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.908399 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.366},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.367},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.372},{"type":"print","value":"dart-main-done","timestamp":0.373},{"type":"print","value":"unittest-suite-success","timestamp":0.381},{"type":"message_received","value":"dart-calling-main","timestamp":0.382},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.383},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.384},{"type":"message_received","value":"dart-main-done","timestamp":0.384},{"type":"message_received","value":"unittest-suite-success","timestamp":0.384},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.384},{"type":"print","value":"unittest-suite-done","timestamp":0.385},{"type":"message_received","value":"unittest-suite-done","timestamp":0.385},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.385},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_global_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_global_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_global_test/deferred_global_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running deferred_global_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_global_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_global_test\", \"dart_sdk\", \"async_helper\"],\n function(deferred_global_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_global_test.deferred_global_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.385}] 2019-04-19 12:57:34.908458 Warning: 2019-04-19 12:57:34.908467 Warning: 2019-04-19 12:57:34.908475 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_issue28498_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.908487 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.417},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.417},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.418},{"type":"print","value":"dart-main-done","timestamp":0.433},{"type":"print","value":"unittest-suite-success","timestamp":0.434},{"type":"message_received","value":"dart-calling-main","timestamp":0.435},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.435},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.435},{"type":"message_received","value":"dart-main-done","timestamp":0.435},{"type":"message_received","value":"unittest-suite-success","timestamp":0.435},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.436},{"type":"print","value":"unittest-suite-done","timestamp":0.436},{"type":"message_received","value":"unittest-suite-done","timestamp":0.438},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.438},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test issue28498_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"issue28498_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_issue28498_test/issue28498_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running issue28498_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_issue28498_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"issue28498_test\", \"dart_sdk\", \"async_helper\"],\n function(issue28498_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = issue28498_test.issue28498_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.438}] 2019-04-19 12:57:34.908540 Warning: 2019-04-19 12:57:34.908551 Warning: 2019-04-19 12:57:34.908561 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_return_types_test_none/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.908586 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.393},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.393},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.395},{"type":"print","value":"dart-main-done","timestamp":0.398},{"type":"print","value":"unittest-suite-success","timestamp":0.404},{"type":"message_received","value":"dart-calling-main","timestamp":0.405},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.405},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.405},{"type":"message_received","value":"dart-main-done","timestamp":0.406},{"type":"message_received","value":"unittest-suite-success","timestamp":0.406},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.406},{"type":"print","value":"unittest-suite-done","timestamp":0.406},{"type":"message_received","value":"unittest-suite-done","timestamp":0.407},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.407},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_return_types_test_none</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_return_types_test_none\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_return_types_test_none/async_return_types_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_return_types_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_return_types_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_return_types_test_none\", \"dart_sdk\", \"async_helper\"],\n function(async_return_types_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_return_types_test_none.async_return_types_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.407}] 2019-04-19 12:57:34.908647 Warning: 2019-04-19 12:57:34.908655 Warning: 2019-04-19 12:57:34.908664 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_nonfuture_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.908847 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.003},{"type":"print","value":"dart-calling-main","timestamp":0.369},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.369},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.371},{"type":"print","value":"dart-main-done","timestamp":0.375},{"type":"print","value":"unittest-suite-success","timestamp":0.375},{"type":"message_received","value":"dart-calling-main","timestamp":0.377},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.377},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.377},{"type":"message_received","value":"dart-main-done","timestamp":0.377},{"type":"message_received","value":"unittest-suite-success","timestamp":0.377},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.377},{"type":"print","value":"unittest-suite-done","timestamp":0.378},{"type":"message_received","value":"unittest-suite-done","timestamp":0.379},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.379},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_nonfuture_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_nonfuture_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_nonfuture_test/await_nonfuture_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_nonfuture_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_nonfuture_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_nonfuture_test\", \"dart_sdk\", \"async_helper\"],\n function(await_nonfuture_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_nonfuture_test.await_nonfuture_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.379}] 2019-04-19 12:57:34.908905 Warning: 2019-04-19 12:57:34.908910 Warning: 2019-04-19 12:57:34.908917 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_switch_test_withDefault/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.908925 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.257},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.257},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.259},{"type":"print","value":"dart-main-done","timestamp":0.271},{"type":"print","value":"unittest-suite-success","timestamp":0.273},{"type":"message_received","value":"dart-calling-main","timestamp":0.274},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.275},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.275},{"type":"message_received","value":"dart-main-done","timestamp":0.275},{"type":"message_received","value":"unittest-suite-success","timestamp":0.275},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.275},{"type":"print","value":"unittest-suite-done","timestamp":0.276},{"type":"message_received","value":"unittest-suite-done","timestamp":0.277},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.277},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_switch_test_withDefault</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_switch_test_withDefault\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_switch_test_withDefault/async_switch_test_withDefault.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_switch_test_withDefault</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_switch_test_withDefault\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_switch_test_withDefault\", \"dart_sdk\", \"async_helper\"],\n function(async_switch_test_withDefault, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_switch_test_withDefault.async_switch_test_withDefault.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.277}] 2019-04-19 12:57:34.908972 Warning: 2019-04-19 12:57:34.908977 Warning: 2019-04-19 12:57:34.908985 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_switch_test_none/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.908991 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.357},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.357},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.359},{"type":"print","value":"dart-main-done","timestamp":0.382},{"type":"print","value":"unittest-suite-success","timestamp":0.385},{"type":"message_received","value":"dart-calling-main","timestamp":0.387},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.395},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.395},{"type":"message_received","value":"dart-main-done","timestamp":0.396},{"type":"message_received","value":"unittest-suite-success","timestamp":0.396},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.396},{"type":"print","value":"unittest-suite-done","timestamp":0.396},{"type":"message_received","value":"unittest-suite-done","timestamp":0.397},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.397},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_switch_test_none</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_switch_test_none\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_switch_test_none/async_switch_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_switch_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_switch_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_switch_test_none\", \"dart_sdk\", \"async_helper\"],\n function(async_switch_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_switch_test_none.async_switch_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.397}] 2019-04-19 12:57:34.909033 Warning: 2019-04-19 12:57:34.909038 Warning: 2019-04-19 12:57:34.909046 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_for_cancel_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909052 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.46},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.46},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.463},{"type":"print","value":"dart-main-done","timestamp":0.465},{"type":"message_received","value":"dart-calling-main","timestamp":0.465},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.466},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.466},{"type":"message_received","value":"dart-main-done","timestamp":0.466},{"type":"print","value":"unittest-suite-success","timestamp":0.471},{"type":"message_received","value":"unittest-suite-success","timestamp":0.477},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.477},{"type":"print","value":"unittest-suite-done","timestamp":0.479},{"type":"message_received","value":"unittest-suite-done","timestamp":0.493},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.493},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_for_cancel_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_for_cancel_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_for_cancel_test/await_for_cancel_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_for_cancel_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_for_cancel_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_for_cancel_test\", \"dart_sdk\", \"async_helper\"],\n function(await_for_cancel_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_for_cancel_test.await_for_cancel_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.493}] 2019-04-19 12:57:34.909094 Warning: 2019-04-19 12:57:34.909100 Warning: 2019-04-19 12:57:34.909106 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_shared_and_unshared_classes_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909120 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.448},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.45},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.45},{"type":"print","value":"dart-main-done","timestamp":0.455},{"type":"print","value":"C1","timestamp":0.463},{"type":"print","value":"shared","timestamp":0.463},{"type":"print","value":"C2","timestamp":0.464},{"type":"print","value":"shared","timestamp":0.464},{"type":"print","value":"unittest-suite-success","timestamp":0.465},{"type":"message_received","value":"dart-calling-main","timestamp":0.465},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.465},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.465},{"type":"message_received","value":"dart-main-done","timestamp":0.465},{"type":"message_received","value":"unittest-suite-success","timestamp":0.465},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.465},{"type":"print","value":"unittest-suite-done","timestamp":0.467},{"type":"message_received","value":"unittest-suite-done","timestamp":0.467},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.467},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_shared_and_unshared_classes_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_shared_and_unshared_classes_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_shared_and_unshared_classes_test/deferred_shared_and_unshared_classes_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running deferred_shared_and_unshared_classes_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_shared_and_unshared_classes_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_shared_and_unshared_classes_test\", \"dart_sdk\", \"async_helper\"],\n function(deferred_shared_and_unshared_classes_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_shared_and_unshared_classes_test.deferred_shared_and_unshared_classes_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.467}] 2019-04-19 12:57:34.909164 Warning: 2019-04-19 12:57:34.909169 Warning: 2019-04-19 12:57:34.909175 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_none/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909182 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.467},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.467},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.468},{"type":"print","value":"dart-main-done","timestamp":0.469},{"type":"print","value":"unittest-suite-success","timestamp":0.469},{"type":"message_received","value":"dart-calling-main","timestamp":0.47},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.47},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.47},{"type":"message_received","value":"dart-main-done","timestamp":0.471},{"type":"message_received","value":"unittest-suite-success","timestamp":0.471},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.471},{"type":"print","value":"unittest-suite-done","timestamp":0.472},{"type":"message_received","value":"unittest-suite-done","timestamp":0.474},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.474},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_constraints_type_annotation_test_none</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_constraints_type_annotation_test_none\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_none/deferred_constraints_type_annotation_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running deferred_constraints_type_annotation_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_constraints_type_annotation_test_none\", \"dart_sdk\", \"async_helper\"],\n function(deferred_constraints_type_annotation_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_constraints_type_annotation_test_none.deferred_constraints_type_annotation_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.474}] 2019-04-19 12:57:34.909224 Warning: 2019-04-19 12:57:34.909229 Warning: 2019-04-19 12:57:34.909235 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_type_annotation_non_deferred/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909242 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.497},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.498},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.498},{"type":"print","value":"dart-main-done","timestamp":0.5},{"type":"print","value":"unittest-suite-success","timestamp":0.501},{"type":"message_received","value":"dart-calling-main","timestamp":0.502},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.502},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.502},{"type":"message_received","value":"dart-main-done","timestamp":0.502},{"type":"message_received","value":"unittest-suite-success","timestamp":0.502},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.503},{"type":"print","value":"unittest-suite-done","timestamp":0.504},{"type":"message_received","value":"unittest-suite-done","timestamp":0.505},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.505},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_constraints_type_annotation_test_type_annotation_non_deferred</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_constraints_type_annotation_test_type_annotation_non_deferred\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_type_annotation_non_deferred/deferred_constraints_type_annotation_test_type_annotation_non_deferred.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running deferred_constraints_type_annotation_test_type_annotation_non_deferred</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_type_annotation_non_deferred\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_constraints_type_annotation_test_type_annotation_non_deferred\", \"dart_sdk\", \"async_helper\"],\n function(deferred_constraints_type_annotation_test_type_annotation_non_deferred, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_constraints_type_annotation_test_type_annotation_non_deferred.deferred_constraints_type_annotation_test_type_annotation_non_deferred.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.505}] 2019-04-19 12:57:34.909284 Warning: 2019-04-19 12:57:34.909290 Warning: 2019-04-19 12:57:34.909296 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909302 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.535},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.536},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.536},{"type":"print","value":"dart-main-done","timestamp":0.538},{"type":"print","value":"unittest-suite-success","timestamp":0.538},{"type":"message_received","value":"dart-calling-main","timestamp":0.539},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.539},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.54},{"type":"message_received","value":"dart-main-done","timestamp":0.54},{"type":"message_received","value":"unittest-suite-success","timestamp":0.54},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.541},{"type":"print","value":"unittest-suite-done","timestamp":0.541},{"type":"message_received","value":"unittest-suite-done","timestamp":0.542},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.542},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_constraints_type_annotation_test_new</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_constraints_type_annotation_test_new\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new/deferred_constraints_type_annotation_test_new.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running deferred_constraints_type_annotation_test_new</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_constraints_type_annotation_test_new\", \"dart_sdk\", \"async_helper\"],\n function(deferred_constraints_type_annotation_test_new, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_constraints_type_annotation_test_new.deferred_constraints_type_annotation_test_new.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.542}] 2019-04-19 12:57:34.909344 Warning: 2019-04-19 12:57:34.909351 Warning: 2019-04-19 12:57:34.909357 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new_generic1/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909364 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.536},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.536},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.537},{"type":"print","value":"dart-main-done","timestamp":0.537},{"type":"print","value":"unittest-suite-success","timestamp":0.537},{"type":"message_received","value":"dart-calling-main","timestamp":0.538},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.538},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.543},{"type":"message_received","value":"dart-main-done","timestamp":0.543},{"type":"message_received","value":"unittest-suite-success","timestamp":0.543},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.544},{"type":"print","value":"unittest-suite-done","timestamp":0.544},{"type":"message_received","value":"unittest-suite-done","timestamp":0.557},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.557},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_constraints_type_annotation_test_new_generic1</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_constraints_type_annotation_test_new_generic1\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new_generic1/deferred_constraints_type_annotation_test_new_generic1.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running deferred_constraints_type_annotation_test_new_generic1</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new_generic1\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_constraints_type_annotation_test_new_generic1\", \"dart_sdk\", \"async_helper\"],\n function(deferred_constraints_type_annotation_test_new_generic1, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_constraints_type_annotation_test_new_generic1.deferred_constraints_type_annotation_test_new_generic1.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.557}] 2019-04-19 12:57:34.909406 Warning: 2019-04-19 12:57:34.909411 Warning: 2019-04-19 12:57:34.909417 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_static_method/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909424 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.422},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.43},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.431},{"type":"print","value":"dart-main-done","timestamp":0.433},{"type":"print","value":"unittest-suite-success","timestamp":0.433},{"type":"message_received","value":"dart-calling-main","timestamp":0.486},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.486},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.487},{"type":"message_received","value":"dart-main-done","timestamp":0.487},{"type":"message_received","value":"unittest-suite-success","timestamp":0.488},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.488},{"type":"print","value":"unittest-suite-done","timestamp":0.49},{"type":"message_received","value":"unittest-suite-done","timestamp":0.495},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.5},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_constraints_type_annotation_test_static_method</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_constraints_type_annotation_test_static_method\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_static_method/deferred_constraints_type_annotation_test_static_method.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running deferred_constraints_type_annotation_test_static_method</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_static_method\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_constraints_type_annotation_test_static_method\", \"dart_sdk\", \"async_helper\"],\n function(deferred_constraints_type_annotation_test_static_method, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_constraints_type_annotation_test_static_method.deferred_constraints_type_annotation_test_static_method.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.504}] 2019-04-19 12:57:34.909467 Warning: 2019-04-19 12:57:34.909471 Warning: 2019-04-19 12:57:34.909479 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_regress_22443_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909485 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.366},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.367},{"type":"print","value":"dart-main-done","timestamp":0.393},{"type":"message_received","value":"dart-calling-main","timestamp":0.395},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.395},{"type":"message_received","value":"dart-main-done","timestamp":0.395},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: Expect.isTrue(false) fails.\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at Function._fail (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:461:17)\n at Function.isTrue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:118:21)\n at FutureOfNull._check.dart.loadLibrary.then.dart.fn._ (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_regress_22443_test/regress_22443_test.js:32:22)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at _Future.immediate.[_completeWithValue] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24573:23)\n at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24591:35)\n at Object.async._microtaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24926:13)\n at async._startMicrotaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24932:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25007:9)\n\n","timestamp":0.397},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.397},{"type":"print","value":"unittest-suite-done","timestamp":0.397},{"type":"message_received","value":"unittest-suite-done","timestamp":0.399},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.401},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test regress_22443_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"regress_22443_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_regress_22443_test/regress_22443_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running regress_22443_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_regress_22443_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"regress_22443_test\", \"dart_sdk\", \"async_helper\"],\n function(regress_22443_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = regress_22443_test.regress_22443_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.402}] 2019-04-19 12:57:34.909534 Warning: 2019-04-19 12:57:34.909539 Warning: 2019-04-19 12:57:34.909545 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_asyncstar_yieldstar_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909553 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.329},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.33},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.333},{"type":"print","value":"dart-main-done","timestamp":0.34},{"type":"print","value":"unittest-suite-success","timestamp":0.354},{"type":"message_received","value":"dart-calling-main","timestamp":0.354},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.354},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.354},{"type":"message_received","value":"dart-main-done","timestamp":0.354},{"type":"message_received","value":"unittest-suite-success","timestamp":0.355},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.355},{"type":"print","value":"unittest-suite-done","timestamp":0.355},{"type":"message_received","value":"unittest-suite-done","timestamp":0.358},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.358},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test asyncstar_yieldstar_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"asyncstar_yieldstar_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_asyncstar_yieldstar_test/asyncstar_yieldstar_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running asyncstar_yieldstar_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_asyncstar_yieldstar_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"asyncstar_yieldstar_test\", \"dart_sdk\", \"async_helper\"],\n function(asyncstar_yieldstar_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = asyncstar_yieldstar_test.asyncstar_yieldstar_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.358}] 2019-04-19 12:57:34.909604 Warning: 2019-04-19 12:57:34.909611 Warning: 2019-04-19 12:57:34.909618 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_conditional_import_string_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909626 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.473},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.473},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.475},{"type":"print","value":"dart-main-done","timestamp":0.476},{"type":"print","value":"html","timestamp":0.478},{"type":"print","value":"unittest-suite-success","timestamp":0.482},{"type":"message_received","value":"dart-calling-main","timestamp":0.484},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.484},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.484},{"type":"message_received","value":"dart-main-done","timestamp":0.484},{"type":"message_received","value":"unittest-suite-success","timestamp":0.484},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.484},{"type":"print","value":"unittest-suite-done","timestamp":0.485},{"type":"message_received","value":"unittest-suite-done","timestamp":0.486},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.486},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test conditional_import_string_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"conditional_import_string_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_conditional_import_string_test/conditional_import_string_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running conditional_import_string_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_conditional_import_string_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"conditional_import_string_test\", \"dart_sdk\", \"async_helper\"],\n function(conditional_import_string_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = conditional_import_string_test.conditional_import_string_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.486}] 2019-04-19 12:57:34.909668 Warning: 2019-04-19 12:57:34.909673 Warning: 2019-04-19 12:57:34.909680 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_regression_2238_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909686 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.318},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.319},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.323},{"type":"print","value":"dart-main-done","timestamp":0.323},{"type":"print","value":"unittest-suite-success","timestamp":0.326},{"type":"message_received","value":"dart-calling-main","timestamp":0.326},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.326},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.327},{"type":"message_received","value":"dart-main-done","timestamp":0.327},{"type":"message_received","value":"unittest-suite-success","timestamp":0.327},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.327},{"type":"print","value":"unittest-suite-done","timestamp":0.329},{"type":"message_received","value":"unittest-suite-done","timestamp":0.334},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.334},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_regression_2238_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_regression_2238_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_regression_2238_test/async_star_regression_2238_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_regression_2238_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_regression_2238_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_regression_2238_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_regression_2238_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_regression_2238_test.async_star_regression_2238_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.334}] 2019-04-19 12:57:34.909729 Warning: 2019-04-19 12:57:34.909735 Warning: 2019-04-19 12:57:34.909741 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_asyncstar_yield_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909746 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.368},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.37},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.372},{"type":"print","value":"dart-main-done","timestamp":0.397},{"type":"message_received","value":"dart-calling-main","timestamp":0.404},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.404},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.404},{"type":"message_received","value":"dart-main-done","timestamp":0.404},{"type":"print","value":"unittest-suite-success","timestamp":0.421},{"type":"message_received","value":"unittest-suite-success","timestamp":0.421},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.421},{"type":"print","value":"unittest-suite-done","timestamp":0.422},{"type":"message_received","value":"unittest-suite-done","timestamp":0.422},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.422},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test asyncstar_yield_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"asyncstar_yield_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_asyncstar_yield_test/asyncstar_yield_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running asyncstar_yield_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_asyncstar_yield_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"asyncstar_yield_test\", \"dart_sdk\", \"async_helper\"],\n function(asyncstar_yield_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = asyncstar_yield_test.asyncstar_yield_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.423}] 2019-04-19 12:57:34.909788 Warning: 2019-04-19 12:57:34.909794 Warning: 2019-04-19 12:57:34.909800 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_no_cancel2_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909806 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.517},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.518},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.525},{"type":"print","value":"dart-main-done","timestamp":0.526},{"type":"message_received","value":"dart-calling-main","timestamp":0.529},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.529},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.53},{"type":"message_received","value":"dart-main-done","timestamp":0.53},{"type":"print","value":"unittest-suite-success","timestamp":0.661},{"type":"message_received","value":"unittest-suite-success","timestamp":0.661},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.662},{"type":"print","value":"unittest-suite-done","timestamp":0.663},{"type":"message_received","value":"unittest-suite-done","timestamp":0.663},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.663},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_no_cancel2_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_no_cancel2_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_no_cancel2_test/async_star_no_cancel2_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_no_cancel2_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_no_cancel2_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_no_cancel2_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_no_cancel2_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_no_cancel2_test.async_star_no_cancel2_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.663}] 2019-04-19 12:57:34.909850 Warning: 2019-04-19 12:57:34.909855 Warning: 2019-04-19 12:57:34.909861 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_spread_collections_await_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909868 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.004},{"type":"print","value":"dart-calling-main","timestamp":0.45},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.45},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.454},{"type":"print","value":"dart-main-done","timestamp":0.458},{"type":"print","value":"unittest-suite-success","timestamp":0.468},{"type":"message_received","value":"dart-calling-main","timestamp":0.47},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.47},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.471},{"type":"message_received","value":"dart-main-done","timestamp":0.471},{"type":"message_received","value":"unittest-suite-success","timestamp":0.472},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.472},{"type":"print","value":"unittest-suite-done","timestamp":0.472},{"type":"message_received","value":"unittest-suite-done","timestamp":0.482},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.482},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_spread_collections_await_test/await_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_spread_collections_await_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_test\", \"dart_sdk\", \"async_helper\"],\n function(await_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_test.await_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.482}] 2019-04-19 12:57:34.909909 Warning: 2019-04-19 12:57:34.909914 Warning: 2019-04-19 12:57:34.909919 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_take_reyield_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909927 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.408},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.409},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.414},{"type":"print","value":"dart-main-done","timestamp":0.419},{"type":"print","value":"unittest-suite-success","timestamp":0.428},{"type":"message_received","value":"dart-calling-main","timestamp":0.429},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.429},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.429},{"type":"message_received","value":"dart-main-done","timestamp":0.43},{"type":"message_received","value":"unittest-suite-success","timestamp":0.43},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.43},{"type":"print","value":"unittest-suite-done","timestamp":0.431},{"type":"message_received","value":"unittest-suite-done","timestamp":0.433},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.433},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_take_reyield_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_take_reyield_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_take_reyield_test/async_star_take_reyield_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_take_reyield_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_take_reyield_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_take_reyield_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_take_reyield_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_take_reyield_test.async_star_take_reyield_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.433}] 2019-04-19 12:57:34.909967 Warning: 2019-04-19 12:57:34.909972 Warning: 2019-04-19 12:57:34.909980 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_error_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.909986 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.465},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.466},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.471},{"type":"print","value":"dart-main-done","timestamp":0.472},{"type":"print","value":"SUCCESS: async* with Stream.first should complete with an error","timestamp":0.476},{"type":"print","value":"unittest-suite-success","timestamp":0.476},{"type":"message_received","value":"dart-calling-main","timestamp":0.48},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.481},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.481},{"type":"message_received","value":"dart-main-done","timestamp":0.481},{"type":"message_received","value":"unittest-suite-success","timestamp":0.481},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.481},{"type":"print","value":"unittest-suite-done","timestamp":0.482},{"type":"message_received","value":"unittest-suite-done","timestamp":0.483},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.483},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_error_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_error_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_error_test/async_star_error_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_error_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_error_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_error_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_error_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_error_test.async_star_error_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.483}] 2019-04-19 12:57:34.910029 Warning: 2019-04-19 12:57:34.910034 Warning: 2019-04-19 12:57:34.910042 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_stream_take_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910049 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.356},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.359},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.361},{"type":"print","value":"dart-main-done","timestamp":0.362},{"type":"print","value":"unittest-suite-success","timestamp":0.366},{"type":"message_received","value":"dart-calling-main","timestamp":0.369},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.369},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.369},{"type":"message_received","value":"dart-main-done","timestamp":0.369},{"type":"message_received","value":"unittest-suite-success","timestamp":0.369},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.37},{"type":"print","value":"unittest-suite-done","timestamp":0.37},{"type":"message_received","value":"unittest-suite-done","timestamp":0.372},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.372},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_stream_take_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_stream_take_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_stream_take_test/async_star_stream_take_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_stream_take_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_stream_take_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_stream_take_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_stream_take_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_stream_take_test.async_star_stream_take_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.373}] 2019-04-19 12:57:34.910090 Warning: 2019-04-19 12:57:34.910096 Warning: 2019-04-19 12:57:34.910102 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_pause_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910113 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.447},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.449},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.451},{"type":"print","value":"dart-main-done","timestamp":0.455},{"type":"message_received","value":"dart-calling-main","timestamp":0.46},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.46},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.461},{"type":"message_received","value":"dart-main-done","timestamp":0.461},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: Expect.listEquals(at index 2, expected: <0!>, actual: <0+>) fails\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at Function._fail (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:461:17)\n at Function.listEquals (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:250:25)\n at http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_pause_test/async_star_pause_test.js:41:22\n at Generator.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24466:27)\n at Object.async._microtaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24926:13)\n at async._startMicrotaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24932:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25007:9)\n\n","timestamp":0.462},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.463},{"type":"print","value":"unittest-suite-done","timestamp":0.464},{"type":"message_received","value":"unittest-suite-done","timestamp":0.466},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.466},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_pause_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_pause_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_pause_test/async_star_pause_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_pause_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_pause_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_pause_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_pause_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_pause_test.async_star_pause_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.468}] 2019-04-19 12:57:34.910164 Warning: 2019-04-19 12:57:34.910171 Warning: 2019-04-19 12:57:34.910177 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_regression_23116_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910183 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.498},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.498},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.499},{"type":"print","value":"dart-main-done","timestamp":0.502},{"type":"print","value":"unittest-suite-success","timestamp":0.504},{"type":"message_received","value":"dart-calling-main","timestamp":0.505},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.505},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.505},{"type":"message_received","value":"dart-main-done","timestamp":0.505},{"type":"message_received","value":"unittest-suite-success","timestamp":0.505},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.505},{"type":"print","value":"unittest-suite-done","timestamp":0.506},{"type":"message_received","value":"unittest-suite-done","timestamp":0.506},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.506},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_regression_23116_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_regression_23116_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_regression_23116_test/async_star_regression_23116_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_regression_23116_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_regression_23116_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_regression_23116_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_regression_23116_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_regression_23116_test.async_star_regression_23116_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.506}] 2019-04-19 12:57:34.910223 Warning: 2019-04-19 12:57:34.910230 Warning: 2019-04-19 12:57:34.910236 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_regress_22777_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910243 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.412},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.412},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.413},{"type":"print","value":"dart-main-done","timestamp":0.417},{"type":"print","value":"unittest-suite-success","timestamp":0.417},{"type":"message_received","value":"dart-calling-main","timestamp":0.417},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.418},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.418},{"type":"message_received","value":"dart-main-done","timestamp":0.418},{"type":"message_received","value":"unittest-suite-success","timestamp":0.418},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.418},{"type":"print","value":"unittest-suite-done","timestamp":0.419},{"type":"message_received","value":"unittest-suite-done","timestamp":0.419},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.419},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test regress_22777_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"regress_22777_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_regress_22777_test/regress_22777_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running regress_22777_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_regress_22777_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"regress_22777_test\", \"dart_sdk\", \"async_helper\"],\n function(regress_22777_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = regress_22777_test.regress_22777_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.419}] 2019-04-19 12:57:34.910282 Warning: 2019-04-19 12:57:34.910289 Warning: 2019-04-19 12:57:34.910295 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_asyncstar_concat_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910302 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.42},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.42},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.441},{"type":"print","value":"dart-main-done","timestamp":0.444},{"type":"print","value":"unittest-suite-success","timestamp":0.448},{"type":"message_received","value":"dart-calling-main","timestamp":0.45},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.45},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.45},{"type":"message_received","value":"dart-main-done","timestamp":0.451},{"type":"message_received","value":"unittest-suite-success","timestamp":0.451},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.451},{"type":"print","value":"unittest-suite-done","timestamp":0.452},{"type":"message_received","value":"unittest-suite-done","timestamp":0.454},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.454},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test asyncstar_concat_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"asyncstar_concat_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_asyncstar_concat_test/asyncstar_concat_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running asyncstar_concat_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_asyncstar_concat_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"asyncstar_concat_test\", \"dart_sdk\", \"async_helper\"],\n function(asyncstar_concat_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = asyncstar_concat_test.asyncstar_concat_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.456}] 2019-04-19 12:57:34.910343 Warning: 2019-04-19 12:57:34.910354 Warning: 2019-04-19 12:57:34.910360 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_flatten_test_01/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910368 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.465},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.473},{"type":"print","value":"dart-main-done","timestamp":0.477},{"type":"message_received","value":"dart-calling-main","timestamp":0.48},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.481},{"type":"message_received","value":"dart-main-done","timestamp":0.482},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: NoSuchMethodError: method not found: 'then'\nReceiver: Instance of 'Derived<int>'\nArguments: [Instance of '(dynamic) => Null', onError: Instance of '(dynamic, [StackTrace]) => Null']\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at Object.dart.defaultNoSuchMethod (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4989:15)\n at Derived.new.noSuchMethod (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:5090:19)\n at Derived.new.noSuchMethod (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_01/flatten_test_01.js:16:22)\n at Derived.new.then (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_01/flatten_test_01.js:20:45)\n at Function._chainForeignFuture (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24520:40)\n at onAwait (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22303:23)\n at runBody (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22345:42)\n at Object.async.async (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22358:7)\n at Object.flatten_test_01.test (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_01/flatten_test_01.js:108:18)\n at Object.flatten_test_01.main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_01/flatten_test_01.js:113:21)\n at testMainWrapper (http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_flatten_test_01/test.html?crossOriginPort=44271:104:50)\n at dartMainRunner (http://127.0.0.1:45881/root_dart/tools/testing/dart/test_controller.js:303:5)\n at http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_flatten_test_01/test.html?crossOriginPort=44271:100:3\n at Object.execCb (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1696:33)\n at Module.check (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:883:51)\n at Module.<anonymous> (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1139:34)\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:134:23\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1189:21\n at each (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:59:31)\n at Module.emit (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1188:17)\n at Module.check (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:938:30)\n at Module.<anonymous> (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1139:34)\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:134:23\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1189:21\n at each (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:59:31)\n at Module.emit (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1188:17)\n at Module.check (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:938:30)\n at Module.enable (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1176:22)\n at Module.init (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:788:26)\n at callGetModule (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1203:63)\n at Object.completeLoad (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1590:21)\n at HTMLScriptElement.onScriptLoad (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1717:29)\n\n","timestamp":0.484},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.485},{"type":"print","value":"unittest-suite-done","timestamp":0.498},{"type":"message_received","value":"unittest-suite-done","timestamp":0.521},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.526},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test flatten_test_01</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"flatten_test_01\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_01/flatten_test_01.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running flatten_test_01</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_01\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"flatten_test_01\", \"dart_sdk\", \"async_helper\"],\n function(flatten_test_01, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = flatten_test_01.flatten_test_01.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.526}] 2019-04-19 12:57:34.910427 Warning: 2019-04-19 12:57:34.910433 Warning: 2019-04-19 12:57:34.910438 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_flatten_test_04/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910446 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.298},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.303},{"type":"print","value":"dart-main-done","timestamp":0.304},{"type":"message_received","value":"dart-calling-main","timestamp":0.304},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.304},{"type":"message_received","value":"dart-main-done","timestamp":0.304},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: NoSuchMethodError: method not found: 'then'\nReceiver: Instance of 'Derived<int>'\nArguments: [Instance of '(dynamic) => Null', onError: Instance of '(dynamic, [StackTrace]) => Null']\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at Object.dart.defaultNoSuchMethod (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4989:15)\n at Derived.new.noSuchMethod (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:5090:19)\n at Derived.new.noSuchMethod (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_04/flatten_test_04.js:18:22)\n at Derived.new.then (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_04/flatten_test_04.js:22:45)\n at Function._chainForeignFuture (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24520:40)\n at runBody (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22337:29)\n at Object.async.async (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22358:7)\n at dart.fn (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_04/flatten_test_04.js:111:35)\n at test (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_04/flatten_test_04.js:113:31)\n at test.next (<anonymous>)\n at runBody (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22330:34)\n at Object.async.async (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22358:7)\n at Object.flatten_test_04.test (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_04/flatten_test_04.js:110:18)\n at Object.flatten_test_04.main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_04/flatten_test_04.js:117:21)\n at testMainWrapper (http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_flatten_test_04/test.html?crossOriginPort=44271:104:50)\n at dartMainRunner (http://127.0.0.1:45881/root_dart/tools/testing/dart/test_controller.js:303:5)\n at http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_flatten_test_04/test.html?crossOriginPort=44271:100:3\n at Object.execCb (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1696:33)\n at Module.check (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:883:51)\n at Module.<anonymous> (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1139:34)\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:134:23\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1189:21\n at each (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:59:31)\n at Module.emit (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1188:17)\n at Module.check (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:938:30)\n at Module.enable (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1176:22)\n at Module.init (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:788:26)\n at callGetModule (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1203:63)\n at Object.completeLoad (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1590:21)\n at HTMLScriptElement.onScriptLoad (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1717:29)\n\n","timestamp":0.306},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.306},{"type":"print","value":"unittest-suite-done","timestamp":0.307},{"type":"message_received","value":"unittest-suite-done","timestamp":0.307},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.307},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test flatten_test_04</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"flatten_test_04\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_04/flatten_test_04.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running flatten_test_04</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_flatten_test_04\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"flatten_test_04\", \"dart_sdk\", \"async_helper\"],\n function(flatten_test_04, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = flatten_test_04.flatten_test_04.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.307}] 2019-04-19 12:57:34.910505 Warning: 2019-04-19 12:57:34.910510 Warning: 2019-04-19 12:57:34.910517 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_cancel_while_paused_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910523 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.367},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.375},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.376},{"type":"print","value":"dart-main-done","timestamp":0.41},{"type":"message_received","value":"dart-calling-main","timestamp":0.422},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.422},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.423},{"type":"message_received","value":"dart-main-done","timestamp":0.423},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: Expect.listEquals(list length, expected: <3>, actual: <4>) fails: Next element <*3>\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at Function._fail (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:461:17)\n at Function.listEquals (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/pkg/expect.js:254:23)\n at FutureOfNull.delayed.dart.fn (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_cancel_while_paused_test/async_star_cancel_while_paused_test.js:46:24)\n at async.Timer.new.dart.fn (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23849:33)\n at internalCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15521:9)\n\n","timestamp":0.639},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.64},{"type":"print","value":"unittest-suite-done","timestamp":0.641},{"type":"message_received","value":"unittest-suite-done","timestamp":0.643},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.643},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_cancel_while_paused_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_cancel_while_paused_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_cancel_while_paused_test/async_star_cancel_while_paused_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_cancel_while_paused_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_cancel_while_paused_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_cancel_while_paused_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_cancel_while_paused_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_cancel_while_paused_test.async_star_cancel_while_paused_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.643}] 2019-04-19 12:57:34.910569 Warning: 2019-04-19 12:57:34.910585 Warning: 2019-04-19 12:57:34.910591 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_throw_in_catch_test_none/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910597 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.369},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.37},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.371},{"type":"print","value":"dart-main-done","timestamp":0.379},{"type":"print","value":"unittest-suite-success","timestamp":0.392},{"type":"message_received","value":"dart-calling-main","timestamp":0.394},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.394},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.395},{"type":"message_received","value":"dart-main-done","timestamp":0.395},{"type":"message_received","value":"unittest-suite-success","timestamp":0.395},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.396},{"type":"print","value":"unittest-suite-done","timestamp":0.397},{"type":"message_received","value":"unittest-suite-done","timestamp":0.399},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.399},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_throw_in_catch_test_none</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_throw_in_catch_test_none\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_throw_in_catch_test_none/async_throw_in_catch_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_throw_in_catch_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_throw_in_catch_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_throw_in_catch_test_none\", \"dart_sdk\", \"async_helper\"],\n function(async_throw_in_catch_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_throw_in_catch_test_none.async_throw_in_catch_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.399}] 2019-04-19 12:57:34.910640 Warning: 2019-04-19 12:57:34.910647 Warning: 2019-04-19 12:57:34.910653 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_throw_in_catch_test_forceAwait/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910658 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":1.314},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.315},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.32},{"type":"print","value":"dart-main-done","timestamp":1.328},{"type":"print","value":"unittest-suite-success","timestamp":1.337},{"type":"message_received","value":"dart-calling-main","timestamp":1.338},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.338},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.338},{"type":"message_received","value":"dart-main-done","timestamp":1.338},{"type":"message_received","value":"unittest-suite-success","timestamp":1.338},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.338},{"type":"print","value":"unittest-suite-done","timestamp":1.339},{"type":"message_received","value":"unittest-suite-done","timestamp":1.339},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.339},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_throw_in_catch_test_forceAwait</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_throw_in_catch_test_forceAwait\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_throw_in_catch_test_forceAwait/async_throw_in_catch_test_forceAwait.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_throw_in_catch_test_forceAwait</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_throw_in_catch_test_forceAwait\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_throw_in_catch_test_forceAwait\", \"dart_sdk\", \"async_helper\"],\n function(async_throw_in_catch_test_forceAwait, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_throw_in_catch_test_forceAwait.async_throw_in_catch_test_forceAwait.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.34}] 2019-04-19 12:57:34.910704 Warning: 2019-04-19 12:57:34.910709 Warning: 2019-04-19 12:57:34.910716 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_issue23244_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910724 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.413},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.415},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.415},{"type":"print","value":"dart-main-done","timestamp":0.416},{"type":"message_received","value":"dart-calling-main","timestamp":0.418},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.418},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.418},{"type":"message_received","value":"dart-main-done","timestamp":0.418},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: Unsupported operation: dart:isolate is not supported on dart4web\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at Object.isolate._unsupported (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:53528:15)\n at isolate._ReceivePort.new.get sendPort [as sendPort] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:53504:22)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_issue23244_test/issue23244_test.js:51:112)\n at main.next (<anonymous>)\n at runBody (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22330:34)\n at Object.async.async (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22358:7)\n at Object.issue23244_test.main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_issue23244_test/issue23244_test.js:48:18)\n at testMainWrapper (http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_issue23244_test/test.html?crossOriginPort=44271:104:50)\n at dartMainRunner (http://127.0.0.1:45881/root_dart/tools/testing/dart/test_controller.js:303:5)\n at http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_issue23244_test/test.html?crossOriginPort=44271:100:3\n at Object.execCb (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1696:33)\n at Module.check (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:883:51)\n at Module.<anonymous> (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1139:34)\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:134:23\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1189:21\n at each (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:59:31)\n at Module.emit (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1188:17)\n at Module.check (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:938:30)\n at Module.<anonymous> (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1139:34)\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:134:23\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1189:21\n at each (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:59:31)\n at Module.emit (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1188:17)\n at Module.check (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:938:30)\n at Module.<anonymous> (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1139:34)\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:134:23\n at http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1189:21\n at each (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:59:31)\n at Module.emit (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1188:17)\n at Module.check (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:938:30)\n at Module.enable (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1176:22)\n at Module.init (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:788:26)\n at callGetModule (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1203:63)\n at Object.completeLoad (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1590:21)\n at HTMLScriptElement.onScriptLoad (http://127.0.0.1:45881/root_dart/third_party/requirejs/require.js:1717:29)\n\n","timestamp":0.442},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.442},{"type":"print","value":"unittest-suite-done","timestamp":0.443},{"type":"message_received","value":"unittest-suite-done","timestamp":0.45},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.45},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test issue23244_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"issue23244_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_issue23244_test/issue23244_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running issue23244_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_issue23244_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"issue23244_test\", \"dart_sdk\", \"async_helper\"],\n function(issue23244_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = issue23244_test.issue23244_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.45}] 2019-04-19 12:57:34.910784 Warning: 2019-04-19 12:57:34.910789 Warning: 2019-04-19 12:57:34.910797 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_this_bound_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910803 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.494},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.495},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.499},{"type":"print","value":"dart-main-done","timestamp":0.504},{"type":"print","value":"unittest-suite-success","timestamp":0.518},{"type":"message_received","value":"dart-calling-main","timestamp":0.519},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.519},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.519},{"type":"message_received","value":"dart-main-done","timestamp":0.519},{"type":"message_received","value":"unittest-suite-success","timestamp":0.52},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.52},{"type":"print","value":"unittest-suite-done","timestamp":0.52},{"type":"message_received","value":"unittest-suite-done","timestamp":0.521},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.521},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_this_bound_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_this_bound_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_this_bound_test/async_this_bound_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_this_bound_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_this_bound_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_this_bound_test\", \"dart_sdk\", \"async_helper\"],\n function(async_this_bound_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_this_bound_test.async_this_bound_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.521}] 2019-04-19 12:57:34.910843 Warning: 2019-04-19 12:57:34.910848 Warning: 2019-04-19 12:57:34.910855 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_conditional_import_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910861 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.362},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.363},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.364},{"type":"print","value":"dart-main-done","timestamp":0.376},{"type":"print","value":"html","timestamp":0.393},{"type":"print","value":"unittest-suite-success","timestamp":0.395},{"type":"message_received","value":"dart-calling-main","timestamp":0.397},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.397},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.397},{"type":"message_received","value":"dart-main-done","timestamp":0.397},{"type":"message_received","value":"unittest-suite-success","timestamp":0.397},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.397},{"type":"print","value":"unittest-suite-done","timestamp":0.398},{"type":"message_received","value":"unittest-suite-done","timestamp":0.401},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.401},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test conditional_import_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"conditional_import_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_conditional_import_test/conditional_import_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running conditional_import_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_conditional_import_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"conditional_import_test\", \"dart_sdk\", \"async_helper\"],\n function(conditional_import_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = conditional_import_test.conditional_import_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.401}] 2019-04-19 12:57:34.910902 Warning: 2019-04-19 12:57:34.910907 Warning: 2019-04-19 12:57:34.910914 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_regression_23058_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910920 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.489},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.49},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.49},{"type":"print","value":"dart-main-done","timestamp":0.493},{"type":"print","value":"unittest-suite-success","timestamp":0.494},{"type":"message_received","value":"dart-calling-main","timestamp":0.495},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.495},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.496},{"type":"message_received","value":"dart-main-done","timestamp":0.496},{"type":"message_received","value":"unittest-suite-success","timestamp":0.496},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.496},{"type":"print","value":"unittest-suite-done","timestamp":0.498},{"type":"message_received","value":"unittest-suite-done","timestamp":0.498},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.498},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_regression_23058_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_regression_23058_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_regression_23058_test/async_regression_23058_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_regression_23058_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_regression_23058_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_regression_23058_test\", \"dart_sdk\", \"async_helper\"],\n function(async_regression_23058_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_regression_23058_test.async_regression_23058_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.498}] 2019-04-19 12:57:34.910961 Warning: 2019-04-19 12:57:34.910966 Warning: 2019-04-19 12:57:34.910973 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_shadow_load_library_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.910979 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.558},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.559},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.559},{"type":"print","value":"dart-main-done","timestamp":0.56},{"type":"print","value":"unittest-suite-success","timestamp":0.561},{"type":"message_received","value":"dart-calling-main","timestamp":0.562},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.562},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.562},{"type":"message_received","value":"dart-main-done","timestamp":0.562},{"type":"message_received","value":"unittest-suite-success","timestamp":0.563},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.563},{"type":"print","value":"unittest-suite-done","timestamp":0.563},{"type":"message_received","value":"unittest-suite-done","timestamp":0.565},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.565},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_shadow_load_library_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_shadow_load_library_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_shadow_load_library_test/deferred_shadow_load_library_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running deferred_shadow_load_library_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_shadow_load_library_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_shadow_load_library_test\", \"dart_sdk\", \"async_helper\"],\n function(deferred_shadow_load_library_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_shadow_load_library_test.deferred_shadow_load_library_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.565}] 2019-04-19 12:57:34.911022 Warning: 2019-04-19 12:57:34.911029 Warning: 2019-04-19 12:57:34.911035 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911041 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.473},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.474},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.476},{"type":"print","value":"dart-main-done","timestamp":0.507},{"type":"print","value":"unittest-suite-success","timestamp":0.63},{"type":"message_received","value":"dart-calling-main","timestamp":0.634},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.635},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.635},{"type":"message_received","value":"dart-main-done","timestamp":0.635},{"type":"message_received","value":"unittest-suite-success","timestamp":0.635},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.635},{"type":"print","value":"unittest-suite-done","timestamp":0.637},{"type":"message_received","value":"unittest-suite-done","timestamp":0.639},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.654},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_test/await_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_test\", \"dart_sdk\", \"async_helper\"],\n function(await_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_test.await_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.657}] 2019-04-19 12:57:34.911082 Warning: 2019-04-19 12:57:34.911088 Warning: 2019-04-19 12:57:34.911094 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_closurize_load_library_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911101 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.455},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.456},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.458},{"type":"print","value":"dart-main-done","timestamp":0.458},{"type":"print","value":"unittest-suite-success","timestamp":0.467},{"type":"message_received","value":"dart-calling-main","timestamp":0.468},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.468},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.469},{"type":"message_received","value":"dart-main-done","timestamp":0.469},{"type":"message_received","value":"unittest-suite-success","timestamp":0.469},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.469},{"type":"print","value":"unittest-suite-done","timestamp":0.469},{"type":"message_received","value":"unittest-suite-done","timestamp":0.471},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.471},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_closurize_load_library_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_closurize_load_library_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_closurize_load_library_test/deferred_closurize_load_library_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running deferred_closurize_load_library_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_closurize_load_library_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_closurize_load_library_test\", \"dart_sdk\", \"async_helper\"],\n function(deferred_closurize_load_library_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_closurize_load_library_test.deferred_closurize_load_library_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.471}] 2019-04-19 12:57:34.911149 Warning: 2019-04-19 12:57:34.911154 Warning: 2019-04-19 12:57:34.911161 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_for_use_local_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911169 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.405},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.405},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.408},{"type":"print","value":"dart-main-done","timestamp":0.412},{"type":"print","value":"unittest-suite-success","timestamp":0.419},{"type":"message_received","value":"dart-calling-main","timestamp":0.42},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.42},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.42},{"type":"message_received","value":"dart-main-done","timestamp":0.42},{"type":"message_received","value":"unittest-suite-success","timestamp":0.421},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.421},{"type":"print","value":"unittest-suite-done","timestamp":0.421},{"type":"message_received","value":"unittest-suite-done","timestamp":0.422},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.422},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_for_use_local_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_for_use_local_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_for_use_local_test/await_for_use_local_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_for_use_local_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_for_use_local_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_for_use_local_test\", \"dart_sdk\", \"async_helper\"],\n function(await_for_use_local_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_for_use_local_test.await_for_use_local_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.422}] 2019-04-19 12:57:34.911211 Warning: 2019-04-19 12:57:34.911216 Warning: 2019-04-19 12:57:34.911222 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_regress_24935_test_01/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911230 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.406},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.408},{"type":"print","value":"dart-main-done","timestamp":0.41},{"type":"message_received","value":"dart-calling-main","timestamp":0.414},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.415},{"type":"message_received","value":"dart-main-done","timestamp":0.415},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: ball\n at Object.dart.throw (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4556:11)\n at main (http://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_regress_24935_test_01/regress_24935_test_01.js:40:17)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28453:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24217:29)\n at handleValueCallback (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24681:49)\n at Function._propagateToListeners (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24713:17)\n at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24466:27)\n at Object.async._microtaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24926:13)\n at async._startMicrotaskLoop (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24932:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:45881/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25007:9)\n\n","timestamp":0.415},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.415},{"type":"print","value":"unittest-suite-done","timestamp":0.416},{"type":"message_received","value":"unittest-suite-done","timestamp":0.419},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.42},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test regress_24935_test_01</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"regress_24935_test_01\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_regress_24935_test_01/regress_24935_test_01.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running regress_24935_test_01</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_regress_24935_test_01\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"regress_24935_test_01\", \"dart_sdk\", \"async_helper\"],\n function(regress_24935_test_01, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = regress_24935_test_01.regress_24935_test_01.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.421}] 2019-04-19 12:57:34.911276 Warning: 2019-04-19 12:57:34.911282 Warning: 2019-04-19 12:57:34.911289 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_assert_message_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911295 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.357},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.359},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.361},{"type":"print","value":"dart-main-done","timestamp":0.362},{"type":"print","value":"unittest-suite-success","timestamp":0.365},{"type":"message_received","value":"dart-calling-main","timestamp":0.366},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.367},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.368},{"type":"message_received","value":"dart-main-done","timestamp":0.368},{"type":"message_received","value":"unittest-suite-success","timestamp":0.368},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.368},{"type":"print","value":"unittest-suite-done","timestamp":0.369},{"type":"message_received","value":"unittest-suite-done","timestamp":0.37},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.37},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test assert_message_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"assert_message_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_assert_message_test/assert_message_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running assert_message_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_assert_message_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"assert_message_test\", \"dart_sdk\", \"async_helper\"],\n function(assert_message_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = assert_message_test.assert_message_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.371}] 2019-04-19 12:57:34.911337 Warning: 2019-04-19 12:57:34.911342 Warning: 2019-04-19 12:57:34.911349 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_await_catch_regression_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911355 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.493},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.494},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.495},{"type":"print","value":"dart-main-done","timestamp":0.508},{"type":"print","value":"42","timestamp":0.523},{"type":"print","value":"unittest-suite-success","timestamp":0.523},{"type":"message_received","value":"dart-calling-main","timestamp":0.526},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.526},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.526},{"type":"message_received","value":"dart-main-done","timestamp":0.527},{"type":"message_received","value":"unittest-suite-success","timestamp":0.527},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.527},{"type":"print","value":"unittest-suite-done","timestamp":0.528},{"type":"message_received","value":"unittest-suite-done","timestamp":0.536},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.536},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_await_catch_regression_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_await_catch_regression_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_await_catch_regression_test/async_await_catch_regression_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_await_catch_regression_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_await_catch_regression_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_await_catch_regression_test\", \"dart_sdk\", \"async_helper\"],\n function(async_await_catch_regression_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_await_catch_regression_test.async_await_catch_regression_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.537}] 2019-04-19 12:57:34.911397 Warning: 2019-04-19 12:57:34.911404 Warning: 2019-04-19 12:57:34.911409 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_regression_fisk_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911415 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.51},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.511},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.541},{"type":"print","value":"dart-main-done","timestamp":0.545},{"type":"print","value":"unittest-suite-success","timestamp":0.567},{"type":"message_received","value":"dart-calling-main","timestamp":0.614},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.615},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.615},{"type":"message_received","value":"dart-main-done","timestamp":0.615},{"type":"message_received","value":"unittest-suite-success","timestamp":0.615},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.615},{"type":"print","value":"unittest-suite-done","timestamp":0.616},{"type":"message_received","value":"unittest-suite-done","timestamp":0.618},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.618},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_regression_fisk_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_regression_fisk_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_regression_fisk_test/async_star_regression_fisk_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_regression_fisk_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_regression_fisk_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_regression_fisk_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_regression_fisk_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_regression_fisk_test.async_star_regression_fisk_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.619}] 2019-04-19 12:57:34.911456 Warning: 2019-04-19 12:57:34.911463 Warning: 2019-04-19 12:57:34.911469 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_for_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911475 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.399},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.401},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.405},{"type":"print","value":"dart-main-done","timestamp":0.407},{"type":"message_received","value":"dart-calling-main","timestamp":0.407},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.407},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.407},{"type":"message_received","value":"dart-main-done","timestamp":0.407},{"type":"print","value":"unittest-suite-success","timestamp":0.713},{"type":"message_received","value":"unittest-suite-success","timestamp":0.713},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.713},{"type":"print","value":"unittest-suite-done","timestamp":0.716},{"type":"message_received","value":"unittest-suite-done","timestamp":0.717},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.717},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_for_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_for_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_for_test/await_for_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_for_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_for_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_for_test\", \"dart_sdk\", \"async_helper\"],\n function(await_for_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_for_test.await_for_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.717}] 2019-04-19 12:57:34.911518 Warning: 2019-04-19 12:57:34.911523 Warning: 2019-04-19 12:57:34.911529 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_await_pauses_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911536 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.312},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.313},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.333},{"type":"print","value":"dart-main-done","timestamp":0.337},{"type":"message_received","value":"dart-calling-main","timestamp":0.34},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.34},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.34},{"type":"message_received","value":"dart-main-done","timestamp":0.341},{"type":"print","value":"unittest-suite-success","timestamp":0.411},{"type":"message_received","value":"unittest-suite-success","timestamp":0.411},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.411},{"type":"print","value":"unittest-suite-done","timestamp":0.413},{"type":"message_received","value":"unittest-suite-done","timestamp":0.413},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.413},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_await_pauses_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_await_pauses_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_await_pauses_test/async_star_await_pauses_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_await_pauses_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_await_pauses_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_await_pauses_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_await_pauses_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_await_pauses_test.async_star_await_pauses_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.414}] 2019-04-19 12:57:34.911587 Warning: 2019-04-19 12:57:34.911592 Warning: 2019-04-19 12:57:34.911598 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_regress_26175_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911606 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.433},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.433},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.435},{"type":"print","value":"dart-main-done","timestamp":0.497},{"type":"print","value":"unittest-suite-success","timestamp":0.503},{"type":"message_received","value":"dart-calling-main","timestamp":0.505},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.506},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.506},{"type":"message_received","value":"dart-main-done","timestamp":0.506},{"type":"message_received","value":"unittest-suite-success","timestamp":0.506},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.507},{"type":"print","value":"unittest-suite-done","timestamp":0.507},{"type":"message_received","value":"unittest-suite-done","timestamp":0.508},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.508},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test regress_26175_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"regress_26175_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_regress_26175_test/regress_26175_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running regress_26175_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_regress_26175_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"regress_26175_test\", \"dart_sdk\", \"async_helper\"],\n function(regress_26175_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = regress_26175_test.regress_26175_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.508}] 2019-04-19 12:57:34.911649 Warning: 2019-04-19 12:57:34.911654 Warning: 2019-04-19 12:57:34.911660 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_constant_list_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911669 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.586},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.586},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.586},{"type":"print","value":"dart-main-done","timestamp":0.587},{"type":"print","value":"unittest-suite-success","timestamp":0.588},{"type":"message_received","value":"dart-calling-main","timestamp":0.588},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.588},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.588},{"type":"message_received","value":"dart-main-done","timestamp":0.588},{"type":"message_received","value":"unittest-suite-success","timestamp":0.588},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.588},{"type":"print","value":"unittest-suite-done","timestamp":0.59},{"type":"message_received","value":"unittest-suite-done","timestamp":0.59},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.591},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_constant_list_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_constant_list_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_constant_list_test/deferred_constant_list_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running deferred_constant_list_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_constant_list_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_constant_list_test\", \"dart_sdk\", \"async_helper\"],\n function(deferred_constant_list_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_constant_list_test.deferred_constant_list_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.591}] 2019-04-19 12:57:34.911709 Warning: 2019-04-19 12:57:34.911714 Warning: 2019-04-19 12:57:34.911721 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_error_timing_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911727 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.54},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.541},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.541},{"type":"print","value":"dart-main-done","timestamp":0.544},{"type":"print","value":"unittest-suite-success","timestamp":0.546},{"type":"message_received","value":"dart-calling-main","timestamp":0.556},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.556},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.557},{"type":"message_received","value":"dart-main-done","timestamp":0.557},{"type":"message_received","value":"unittest-suite-success","timestamp":0.557},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.557},{"type":"print","value":"unittest-suite-done","timestamp":0.557},{"type":"message_received","value":"unittest-suite-done","timestamp":0.558},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.558},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_error_timing_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_error_timing_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_error_timing_test/async_error_timing_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_error_timing_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_error_timing_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_error_timing_test\", \"dart_sdk\", \"async_helper\"],\n function(async_error_timing_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_error_timing_test.async_error_timing_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.558}] 2019-04-19 12:57:34.911768 Warning: 2019-04-19 12:57:34.911773 Warning: 2019-04-19 12:57:34.911780 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_exceptions_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911786 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.456},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.456},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.465},{"type":"print","value":"dart-main-done","timestamp":0.468},{"type":"print","value":"unittest-suite-success","timestamp":0.476},{"type":"message_received","value":"dart-calling-main","timestamp":0.477},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.478},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.478},{"type":"message_received","value":"dart-main-done","timestamp":0.479},{"type":"message_received","value":"unittest-suite-success","timestamp":0.479},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.479},{"type":"print","value":"unittest-suite-done","timestamp":0.479},{"type":"message_received","value":"unittest-suite-done","timestamp":0.48},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.48},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_exceptions_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_exceptions_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_exceptions_test/await_exceptions_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_exceptions_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_exceptions_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_exceptions_test\", \"dart_sdk\", \"async_helper\"],\n function(await_exceptions_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_exceptions_test.await_exceptions_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.48}] 2019-04-19 12:57:34.911828 Warning: 2019-04-19 12:57:34.911833 Warning: 2019-04-19 12:57:34.911841 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_await_test_none/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911856 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.435},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.438},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.443},{"type":"print","value":"dart-main-done","timestamp":0.533},{"type":"print","value":"unittest-suite-success","timestamp":0.578},{"type":"message_received","value":"dart-calling-main","timestamp":0.579},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.58},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.58},{"type":"message_received","value":"dart-main-done","timestamp":0.58},{"type":"message_received","value":"unittest-suite-success","timestamp":0.58},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.581},{"type":"print","value":"unittest-suite-done","timestamp":0.582},{"type":"message_received","value":"unittest-suite-done","timestamp":0.584},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.584},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_await_test_none</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_await_test_none\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_await_test_none/async_await_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_await_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_await_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_await_test_none\", \"dart_sdk\", \"async_helper\"],\n function(async_await_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_await_test_none.async_await_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.585}] 2019-04-19 12:57:34.911897 Warning: 2019-04-19 12:57:34.911902 Warning: 2019-04-19 12:57:34.911910 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_await_test_03/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911916 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.365},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.37},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.392},{"type":"print","value":"dart-main-done","timestamp":0.528},{"type":"print","value":"unittest-suite-success","timestamp":0.569},{"type":"message_received","value":"dart-calling-main","timestamp":0.572},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.572},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.572},{"type":"message_received","value":"dart-main-done","timestamp":0.572},{"type":"message_received","value":"unittest-suite-success","timestamp":0.572},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.572},{"type":"print","value":"unittest-suite-done","timestamp":0.573},{"type":"message_received","value":"unittest-suite-done","timestamp":0.574},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.574},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_await_test_03</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_await_test_03\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_await_test_03/async_await_test_03.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_await_test_03</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_await_test_03\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_await_test_03\", \"dart_sdk\", \"async_helper\"],\n function(async_await_test_03, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_await_test_03.async_await_test_03.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.574}] 2019-04-19 12:57:34.911957 Warning: 2019-04-19 12:57:34.911962 Warning: 2019-04-19 12:57:34.911968 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_await_test_02/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.911974 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.493},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.496},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.502},{"type":"print","value":"dart-main-done","timestamp":0.602},{"type":"print","value":"unittest-suite-success","timestamp":0.634},{"type":"message_received","value":"dart-calling-main","timestamp":0.635},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.635},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.635},{"type":"message_received","value":"dart-main-done","timestamp":0.635},{"type":"message_received","value":"unittest-suite-success","timestamp":0.635},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.635},{"type":"print","value":"unittest-suite-done","timestamp":0.636},{"type":"message_received","value":"unittest-suite-done","timestamp":0.638},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.638},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_await_test_02</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_await_test_02\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_await_test_02/async_await_test_02.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_await_test_02</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_await_test_02\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_await_test_02\", \"dart_sdk\", \"async_helper\"],\n function(async_await_test_02, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_await_test_02.async_await_test_02.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.64}] 2019-04-19 12:57:34.912016 Warning: 2019-04-19 12:57:34.912021 Warning: 2019-04-19 12:57:34.912028 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_call_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912034 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.368},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.368},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.371},{"type":"print","value":"dart-main-done","timestamp":0.372},{"type":"message_received","value":"dart-calling-main","timestamp":0.373},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.373},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.374},{"type":"message_received","value":"dart-main-done","timestamp":0.374},{"type":"print","value":"unittest-suite-success","timestamp":0.374},{"type":"message_received","value":"unittest-suite-success","timestamp":0.375},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.375},{"type":"print","value":"unittest-suite-done","timestamp":0.378},{"type":"message_received","value":"unittest-suite-done","timestamp":0.378},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.378},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_call_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_call_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_call_test/async_call_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_call_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_call_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_call_test\", \"dart_sdk\", \"async_helper\"],\n function(async_call_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_call_test.async_call_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.378}] 2019-04-19 12:57:34.912074 Warning: 2019-04-19 12:57:34.912079 Warning: 2019-04-19 12:57:34.912086 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_labeled_variable_declaration_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912131 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"window_onerror","value":"window.onerror called: \n\nhttp://127.0.0.1:45881/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_labeled_variable_declaration_test/labeled_variable_declaration_test.js:9:\nUncaught SyntaxError: Lexical declaration cannot appear in a single-statement context\n\n","timestamp":0.476},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.477},{"type":"print","value":"dart-calling-main","timestamp":0.512},{"type":"sync_exception","value":"TypeError: Cannot read property 'labeled_variable_declaration_test' of undefined","timestamp":0.514,"stack_trace":" at testMainWrapper (http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_labeled_variable_declaration_test/test.html?crossOriginPort=44271:104:52)"},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.514},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test labeled_variable_declaration_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"labeled_variable_declaration_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_labeled_variable_declaration_test/labeled_variable_declaration_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running labeled_variable_declaration_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_labeled_variable_declaration_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"labeled_variable_declaration_test\", \"dart_sdk\", \"async_helper\"],\n function(labeled_variable_declaration_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = labeled_variable_declaration_test.labeled_variable_declaration_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.514}] 2019-04-19 12:57:34.912173 Warning: 2019-04-19 12:57:34.912178 Warning: 2019-04-19 12:57:34.912185 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_break_in_finally_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912192 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.466},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.466},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.467},{"type":"print","value":"dart-main-done","timestamp":0.47},{"type":"print","value":"unittest-suite-success","timestamp":0.472},{"type":"message_received","value":"dart-calling-main","timestamp":0.473},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.473},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.473},{"type":"message_received","value":"dart-main-done","timestamp":0.474},{"type":"message_received","value":"unittest-suite-success","timestamp":0.474},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.475},{"type":"print","value":"unittest-suite-done","timestamp":0.475},{"type":"message_received","value":"unittest-suite-done","timestamp":0.478},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.478},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_break_in_finally_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_break_in_finally_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_break_in_finally_test/async_break_in_finally_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_break_in_finally_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_break_in_finally_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_break_in_finally_test\", \"dart_sdk\", \"async_helper\"],\n function(async_break_in_finally_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_break_in_finally_test.async_break_in_finally_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.48}] 2019-04-19 12:57:34.912233 Warning: 2019-04-19 12:57:34.912238 Warning: 2019-04-19 12:57:34.912246 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_cancel_and_throw_in_finally_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912252 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.407},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.408},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.411},{"type":"print","value":"dart-main-done","timestamp":0.413},{"type":"print","value":"unittest-suite-success","timestamp":0.417},{"type":"message_received","value":"dart-calling-main","timestamp":0.418},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.418},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.418},{"type":"message_received","value":"dart-main-done","timestamp":0.419},{"type":"message_received","value":"unittest-suite-success","timestamp":0.419},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.419},{"type":"print","value":"unittest-suite-done","timestamp":0.42},{"type":"message_received","value":"unittest-suite-done","timestamp":0.42},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.42},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_cancel_and_throw_in_finally_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_cancel_and_throw_in_finally_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_cancel_and_throw_in_finally_test/async_star_cancel_and_throw_in_finally_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_cancel_and_throw_in_finally_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_cancel_and_throw_in_finally_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_cancel_and_throw_in_finally_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_cancel_and_throw_in_finally_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_cancel_and_throw_in_finally_test.async_star_cancel_and_throw_in_finally_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.42}] 2019-04-19 12:57:34.912294 Warning: 2019-04-19 12:57:34.912301 Warning: 2019-04-19 12:57:34.912307 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_regress_23996_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912314 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.435},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.436},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.439},{"type":"print","value":"dart-main-done","timestamp":0.443},{"type":"print","value":"unittest-suite-success","timestamp":0.447},{"type":"message_received","value":"dart-calling-main","timestamp":0.448},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.449},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.449},{"type":"message_received","value":"dart-main-done","timestamp":0.449},{"type":"message_received","value":"unittest-suite-success","timestamp":0.449},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.449},{"type":"print","value":"unittest-suite-done","timestamp":0.45},{"type":"message_received","value":"unittest-suite-done","timestamp":0.452},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.452},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test regress_23996_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"regress_23996_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_regress_23996_test/regress_23996_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running regress_23996_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_regress_23996_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"regress_23996_test\", \"dart_sdk\", \"async_helper\"],\n function(regress_23996_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = regress_23996_test.regress_23996_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.452}] 2019-04-19 12:57:34.912354 Warning: 2019-04-19 12:57:34.912359 Warning: 2019-04-19 12:57:34.912366 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_and_or_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912372 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.008},{"type":"print","value":"dart-calling-main","timestamp":0.315},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.316},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.317},{"type":"print","value":"dart-main-done","timestamp":0.357},{"type":"print","value":"unittest-suite-success","timestamp":0.368},{"type":"message_received","value":"dart-calling-main","timestamp":0.37},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.37},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.371},{"type":"message_received","value":"dart-main-done","timestamp":0.371},{"type":"message_received","value":"unittest-suite-success","timestamp":0.371},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.371},{"type":"print","value":"unittest-suite-done","timestamp":0.372},{"type":"message_received","value":"unittest-suite-done","timestamp":0.373},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.373},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_and_or_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_and_or_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_and_or_test/async_and_or_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_and_or_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_and_or_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_and_or_test\", \"dart_sdk\", \"async_helper\"],\n function(async_and_or_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_and_or_test.async_and_or_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.374}] 2019-04-19 12:57:34.912416 Warning: 2019-04-19 12:57:34.912421 Warning: 2019-04-19 12:57:34.912427 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_utf8_encode_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912434 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.281},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.427},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.445},{"type":"print","value":"dart-main-done","timestamp":0.604},{"type":"message_received","value":"dart-calling-main","timestamp":1.001},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.001},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.001},{"type":"message_received","value":"dart-main-done","timestamp":1.001},{"type":"print","value":"unittest-suite-success","timestamp":1.454},{"type":"message_received","value":"unittest-suite-success","timestamp":1.454},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.454},{"type":"print","value":"unittest-suite-done","timestamp":1.455},{"type":"message_received","value":"unittest-suite-done","timestamp":1.467},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.468},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test streamed_conversion_json_utf8_encode_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"streamed_conversion_json_utf8_encode_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_convert_streamed_conversion_json_utf8_encode_test/streamed_conversion_json_utf8_encode_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running streamed_conversion_json_utf8_encode_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_convert_streamed_conversion_json_utf8_encode_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"streamed_conversion_json_utf8_encode_test\", \"dart_sdk\", \"async_helper\"],\n function(streamed_conversion_json_utf8_encode_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = streamed_conversion_json_utf8_encode_test.streamed_conversion_json_utf8_encode_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.468}] 2019-04-19 12:57:34.912475 Warning: 2019-04-19 12:57:34.912481 Warning: 2019-04-19 12:57:34.912488 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_convert_encoding_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912494 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.446},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.514},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.527},{"type":"print","value":"dart-main-done","timestamp":0.603},{"type":"print","value":"unittest-suite-success","timestamp":0.836},{"type":"message_received","value":"dart-calling-main","timestamp":0.839},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.839},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.839},{"type":"message_received","value":"dart-main-done","timestamp":0.839},{"type":"message_received","value":"unittest-suite-success","timestamp":0.839},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.839},{"type":"print","value":"unittest-suite-done","timestamp":0.84},{"type":"message_received","value":"unittest-suite-done","timestamp":0.841},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.841},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test encoding_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"encoding_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_convert_encoding_test/encoding_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running encoding_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_convert_encoding_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"encoding_test\", \"dart_sdk\", \"async_helper\"],\n function(encoding_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = encoding_test.encoding_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.841}] 2019-04-19 12:57:34.912535 Warning: 2019-04-19 12:57:34.912540 Warning: 2019-04-19 12:57:34.912547 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_decode1_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912553 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.331},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.343},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.348},{"type":"print","value":"dart-main-done","timestamp":0.402},{"type":"print","value":"unittest-suite-success","timestamp":0.485},{"type":"message_received","value":"dart-calling-main","timestamp":0.486},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.486},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.486},{"type":"message_received","value":"dart-main-done","timestamp":0.486},{"type":"message_received","value":"unittest-suite-success","timestamp":0.486},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.487},{"type":"print","value":"unittest-suite-done","timestamp":0.488},{"type":"message_received","value":"unittest-suite-done","timestamp":0.488},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.489},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test streamed_conversion_json_decode1_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"streamed_conversion_json_decode1_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_convert_streamed_conversion_json_decode1_test/streamed_conversion_json_decode1_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running streamed_conversion_json_decode1_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_convert_streamed_conversion_json_decode1_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"streamed_conversion_json_decode1_test\", \"dart_sdk\", \"async_helper\"],\n function(streamed_conversion_json_decode1_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = streamed_conversion_json_decode1_test.streamed_conversion_json_decode1_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.489}] 2019-04-19 12:57:34.912601 Warning: 2019-04-19 12:57:34.912607 Warning: 2019-04-19 12:57:34.912616 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_utf8_decode_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912622 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.442},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.664},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.674},{"type":"print","value":"dart-main-done","timestamp":2.536},{"type":"print","value":"unittest-suite-success","timestamp":5.769},{"type":"message_received","value":"dart-calling-main","timestamp":5.77},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":5.77},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":5.77},{"type":"message_received","value":"dart-main-done","timestamp":5.771},{"type":"message_received","value":"unittest-suite-success","timestamp":5.772},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":5.772},{"type":"print","value":"unittest-suite-done","timestamp":5.772},{"type":"message_received","value":"unittest-suite-done","timestamp":5.775},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":5.775},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test streamed_conversion_json_utf8_decode_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"streamed_conversion_json_utf8_decode_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_convert_streamed_conversion_json_utf8_decode_test/streamed_conversion_json_utf8_decode_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running streamed_conversion_json_utf8_decode_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_convert_streamed_conversion_json_utf8_decode_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"streamed_conversion_json_utf8_decode_test\", \"dart_sdk\", \"async_helper\"],\n function(streamed_conversion_json_utf8_decode_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = streamed_conversion_json_utf8_decode_test.streamed_conversion_json_utf8_decode_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":5.775}] 2019-04-19 12:57:34.912666 Warning: 2019-04-19 12:57:34.912692 Warning: 2019-04-19 12:57:34.912702 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace02_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912714 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.296},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.297},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.299},{"type":"print","value":"dart-main-done","timestamp":0.3},{"type":"message_received","value":"dart-calling-main","timestamp":0.3},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.3},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.301},{"type":"message_received","value":"dart-main-done","timestamp":0.301},{"type":"print","value":"unittest-suite-success","timestamp":0.303},{"type":"message_received","value":"unittest-suite-success","timestamp":0.304},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.305},{"type":"print","value":"unittest-suite-done","timestamp":0.305},{"type":"message_received","value":"unittest-suite-done","timestamp":0.306},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.306},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test stack_trace02_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"stack_trace02_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace02_test/stack_trace02_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running stack_trace02_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace02_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"stack_trace02_test\", \"dart_sdk\", \"async_helper\"],\n function(stack_trace02_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = stack_trace02_test.stack_trace02_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.306}] 2019-04-19 12:57:34.912758 Warning: 2019-04-19 12:57:34.912763 Warning: 2019-04-19 12:57:34.912769 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_async_await_sync_completer_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912777 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.269},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.269},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.27},{"type":"print","value":"dart-main-done","timestamp":0.298},{"type":"print","value":"unittest-suite-success","timestamp":0.306},{"type":"message_received","value":"dart-calling-main","timestamp":0.307},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.307},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.308},{"type":"message_received","value":"dart-main-done","timestamp":0.308},{"type":"message_received","value":"unittest-suite-success","timestamp":0.308},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.309},{"type":"print","value":"unittest-suite-done","timestamp":0.309},{"type":"message_received","value":"unittest-suite-done","timestamp":0.31},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.31},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_await_sync_completer_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_await_sync_completer_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_async_await_sync_completer_test/async_await_sync_completer_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_await_sync_completer_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_async_await_sync_completer_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_await_sync_completer_test\", \"dart_sdk\", \"async_helper\"],\n function(async_await_sync_completer_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_await_sync_completer_test.async_await_sync_completer_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.31}] 2019-04-19 12:57:34.912818 Warning: 2019-04-19 12:57:34.912823 Warning: 2019-04-19 12:57:34.912829 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_schedule_microtask2_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912836 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.377},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.377},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.378},{"type":"print","value":"dart-main-done","timestamp":0.378},{"type":"print","value":"unittest-suite-success","timestamp":0.379},{"type":"message_received","value":"dart-calling-main","timestamp":0.379},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.379},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.38},{"type":"message_received","value":"dart-main-done","timestamp":0.38},{"type":"message_received","value":"unittest-suite-success","timestamp":0.38},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.38},{"type":"print","value":"unittest-suite-done","timestamp":0.381},{"type":"message_received","value":"unittest-suite-done","timestamp":0.382},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.382},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test schedule_microtask2_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"schedule_microtask2_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_schedule_microtask2_test/schedule_microtask2_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running schedule_microtask2_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_schedule_microtask2_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"schedule_microtask2_test\", \"dart_sdk\", \"async_helper\"],\n function(schedule_microtask2_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = schedule_microtask2_test.schedule_microtask2_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.382}] 2019-04-19 12:57:34.912878 Warning: 2019-04-19 12:57:34.912883 Warning: 2019-04-19 12:57:34.912889 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace14_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912896 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.356},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.357},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.359},{"type":"print","value":"dart-main-done","timestamp":0.383},{"type":"message_received","value":"dart-calling-main","timestamp":0.383},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.384},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.384},{"type":"message_received","value":"dart-main-done","timestamp":0.39},{"type":"print","value":"unittest-suite-success","timestamp":0.393},{"type":"message_received","value":"unittest-suite-success","timestamp":0.393},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.393},{"type":"print","value":"unittest-suite-done","timestamp":0.395},{"type":"message_received","value":"unittest-suite-done","timestamp":0.4},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.4},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test stack_trace14_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"stack_trace14_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace14_test/stack_trace14_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running stack_trace14_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace14_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"stack_trace14_test\", \"dart_sdk\", \"async_helper\"],\n function(stack_trace14_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = stack_trace14_test.stack_trace14_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.4}] 2019-04-19 12:57:34.912937 Warning: 2019-04-19 12:57:34.912942 Warning: 2019-04-19 12:57:34.912947 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_create_timer_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.912955 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.307},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.313},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.314},{"type":"print","value":"dart-main-done","timestamp":0.315},{"type":"message_received","value":"dart-calling-main","timestamp":0.315},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.316},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.316},{"type":"message_received","value":"dart-main-done","timestamp":0.316},{"type":"print","value":"unittest-suite-success","timestamp":0.318},{"type":"message_received","value":"unittest-suite-success","timestamp":0.318},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.319},{"type":"print","value":"unittest-suite-done","timestamp":0.319},{"type":"message_received","value":"unittest-suite-done","timestamp":0.32},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.32},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test zone_create_timer_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"zone_create_timer_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_zone_create_timer_test/zone_create_timer_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running zone_create_timer_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_zone_create_timer_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"zone_create_timer_test\", \"dart_sdk\", \"async_helper\"],\n function(zone_create_timer_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = zone_create_timer_test.zone_create_timer_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.321}] 2019-04-19 12:57:34.912997 Warning: 2019-04-19 12:57:34.913002 Warning: 2019-04-19 12:57:34.913008 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace05_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913016 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.333},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.334},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.336},{"type":"print","value":"dart-main-done","timestamp":0.338},{"type":"message_received","value":"dart-calling-main","timestamp":0.338},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.338},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.338},{"type":"message_received","value":"dart-main-done","timestamp":0.338},{"type":"print","value":"unittest-suite-success","timestamp":0.341},{"type":"message_received","value":"unittest-suite-success","timestamp":0.341},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.341},{"type":"print","value":"unittest-suite-done","timestamp":0.342},{"type":"message_received","value":"unittest-suite-done","timestamp":0.342},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.343},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test stack_trace05_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"stack_trace05_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace05_test/stack_trace05_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running stack_trace05_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace05_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"stack_trace05_test\", \"dart_sdk\", \"async_helper\"],\n function(stack_trace05_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = stack_trace05_test.stack_trace05_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.343}] 2019-04-19 12:57:34.913056 Warning: 2019-04-19 12:57:34.913061 Warning: 2019-04-19 12:57:34.913067 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors7_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913074 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.303},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.304},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.309},{"type":"print","value":"dart-main-done","timestamp":0.313},{"type":"message_received","value":"dart-calling-main","timestamp":0.317},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.317},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.317},{"type":"message_received","value":"dart-main-done","timestamp":0.317},{"type":"print","value":"unittest-suite-success","timestamp":0.318},{"type":"message_received","value":"unittest-suite-success","timestamp":0.319},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.319},{"type":"print","value":"unittest-suite-done","timestamp":0.321},{"type":"message_received","value":"unittest-suite-done","timestamp":0.322},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.322},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test catch_errors7_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"catch_errors7_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors7_test/catch_errors7_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running catch_errors7_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors7_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"catch_errors7_test\", \"dart_sdk\", \"async_helper\"],\n function(catch_errors7_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = catch_errors7_test.catch_errors7_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.322}] 2019-04-19 12:57:34.913121 Warning: 2019-04-19 12:57:34.913126 Warning: 2019-04-19 12:57:34.913131 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors15_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913139 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":1.054},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.055},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.07},{"type":"print","value":"dart-main-done","timestamp":1.078},{"type":"message_received","value":"dart-calling-main","timestamp":1.084},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.085},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.085},{"type":"message_received","value":"dart-main-done","timestamp":1.085},{"type":"print","value":"unittest-suite-success","timestamp":1.146},{"type":"message_received","value":"unittest-suite-success","timestamp":1.147},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.148},{"type":"print","value":"unittest-suite-done","timestamp":1.149},{"type":"message_received","value":"unittest-suite-done","timestamp":1.149},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.149},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test catch_errors15_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"catch_errors15_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors15_test/catch_errors15_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running catch_errors15_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors15_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"catch_errors15_test\", \"dart_sdk\", \"async_helper\"],\n function(catch_errors15_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = catch_errors15_test.catch_errors15_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.149}] 2019-04-19 12:57:34.913180 Warning: 2019-04-19 12:57:34.913186 Warning: 2019-04-19 12:57:34.913192 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_lib_2_async_stream_last_where_test_none/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913199 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.32},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.321},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.327},{"type":"print","value":"dart-main-done","timestamp":0.327},{"type":"print","value":"unittest-suite-success","timestamp":0.331},{"type":"message_received","value":"dart-calling-main","timestamp":0.333},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.333},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.333},{"type":"message_received","value":"dart-main-done","timestamp":0.333},{"type":"message_received","value":"unittest-suite-success","timestamp":0.334},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.334},{"type":"print","value":"unittest-suite-done","timestamp":0.335},{"type":"message_received","value":"unittest-suite-done","timestamp":0.336},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.336},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test stream_last_where_test_none</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"stream_last_where_test_none\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_lib_2_async_stream_last_where_test_none/stream_last_where_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running stream_last_where_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_lib_2_async_stream_last_where_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"stream_last_where_test_none\", \"dart_sdk\", \"async_helper\"],\n function(stream_last_where_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = stream_last_where_test_none.stream_last_where_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.336}] 2019-04-19 12:57:34.913240 Warning: 2019-04-19 12:57:34.913245 Warning: 2019-04-19 12:57:34.913252 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace06_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913258 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.394},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.395},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.396},{"type":"print","value":"dart-main-done","timestamp":0.396},{"type":"print","value":"unittest-suite-success","timestamp":0.398},{"type":"message_received","value":"dart-calling-main","timestamp":0.399},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.399},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.399},{"type":"message_received","value":"dart-main-done","timestamp":0.4},{"type":"message_received","value":"unittest-suite-success","timestamp":0.4},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.401},{"type":"print","value":"unittest-suite-done","timestamp":0.401},{"type":"message_received","value":"unittest-suite-done","timestamp":0.403},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.403},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test stack_trace06_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"stack_trace06_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace06_test/stack_trace06_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running stack_trace06_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace06_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"stack_trace06_test\", \"dart_sdk\", \"async_helper\"],\n function(stack_trace06_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = stack_trace06_test.stack_trace06_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.404}] 2019-04-19 12:57:34.913301 Warning: 2019-04-19 12:57:34.913306 Warning: 2019-04-19 12:57:34.913312 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_microtask_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913319 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.419},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.419},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.42},{"type":"print","value":"dart-main-done","timestamp":0.423},{"type":"print","value":"unittest-suite-success","timestamp":0.425},{"type":"message_received","value":"dart-calling-main","timestamp":0.427},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.428},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.428},{"type":"message_received","value":"dart-main-done","timestamp":0.428},{"type":"message_received","value":"unittest-suite-success","timestamp":0.429},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.429},{"type":"print","value":"unittest-suite-done","timestamp":0.431},{"type":"message_received","value":"unittest-suite-done","timestamp":0.434},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.437},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test future_microtask_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"future_microtask_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_future_microtask_test/future_microtask_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running future_microtask_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_future_microtask_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"future_microtask_test\", \"dart_sdk\", \"async_helper\"],\n function(future_microtask_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = future_microtask_test.future_microtask_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.437}] 2019-04-19 12:57:34.913504 Warning: 2019-04-19 12:57:34.913520 Warning: 2019-04-19 12:57:34.913531 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_run_zoned8_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913545 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.304},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.304},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.307},{"type":"print","value":"dart-main-done","timestamp":0.308},{"type":"message_received","value":"dart-calling-main","timestamp":0.308},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.308},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.308},{"type":"message_received","value":"dart-main-done","timestamp":0.308},{"type":"print","value":"unittest-suite-success","timestamp":0.408},{"type":"message_received","value":"unittest-suite-success","timestamp":0.409},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.41},{"type":"print","value":"unittest-suite-done","timestamp":0.41},{"type":"message_received","value":"unittest-suite-done","timestamp":0.411},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.411},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test run_zoned8_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"run_zoned8_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_run_zoned8_test/run_zoned8_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running run_zoned8_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_run_zoned8_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"run_zoned8_test\", \"dart_sdk\", \"async_helper\"],\n function(run_zoned8_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = run_zoned8_test.run_zoned8_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.411}] 2019-04-19 12:57:34.913609 Warning: 2019-04-19 12:57:34.913619 Warning: 2019-04-19 12:57:34.913629 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_from_iterable_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913636 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.332},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.334},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.337},{"type":"print","value":"dart-main-done","timestamp":0.362},{"type":"message_received","value":"dart-calling-main","timestamp":0.449},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.45},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.45},{"type":"message_received","value":"dart-main-done","timestamp":0.45},{"type":"print","value":"unittest-suite-success","timestamp":0.453},{"type":"message_received","value":"unittest-suite-success","timestamp":0.453},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.453},{"type":"print","value":"unittest-suite-done","timestamp":0.454},{"type":"message_received","value":"unittest-suite-done","timestamp":0.456},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.457},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test stream_from_iterable_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"stream_from_iterable_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stream_from_iterable_test/stream_from_iterable_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running stream_from_iterable_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stream_from_iterable_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"stream_from_iterable_test\", \"dart_sdk\", \"async_helper\"],\n function(stream_from_iterable_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = stream_from_iterable_test.stream_from_iterable_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.458}] 2019-04-19 12:57:34.913678 Warning: 2019-04-19 12:57:34.913683 Warning: 2019-04-19 12:57:34.913688 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors12_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913696 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":1.295},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.296},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.306},{"type":"print","value":"dart-main-done","timestamp":1.312},{"type":"message_received","value":"dart-calling-main","timestamp":1.315},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.316},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.316},{"type":"message_received","value":"dart-main-done","timestamp":1.316},{"type":"print","value":"unittest-suite-success","timestamp":1.518},{"type":"message_received","value":"unittest-suite-success","timestamp":1.518},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.518},{"type":"print","value":"unittest-suite-done","timestamp":1.519},{"type":"message_received","value":"unittest-suite-done","timestamp":1.519},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.519},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test catch_errors12_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"catch_errors12_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors12_test/catch_errors12_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running catch_errors12_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors12_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"catch_errors12_test\", \"dart_sdk\", \"async_helper\"],\n function(catch_errors12_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = catch_errors12_test.catch_errors12_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.519}] 2019-04-19 12:57:34.913737 Warning: 2019-04-19 12:57:34.913743 Warning: 2019-04-19 12:57:34.913748 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace17_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913756 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.342},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.345},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.346},{"type":"print","value":"dart-main-done","timestamp":0.346},{"type":"print","value":"unittest-suite-success","timestamp":0.348},{"type":"message_received","value":"dart-calling-main","timestamp":0.349},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.349},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.349},{"type":"message_received","value":"dart-main-done","timestamp":0.349},{"type":"message_received","value":"unittest-suite-success","timestamp":0.349},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.35},{"type":"print","value":"unittest-suite-done","timestamp":0.35},{"type":"message_received","value":"unittest-suite-done","timestamp":0.351},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.351},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test stack_trace17_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"stack_trace17_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace17_test/stack_trace17_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running stack_trace17_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace17_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"stack_trace17_test\", \"dart_sdk\", \"async_helper\"],\n function(stack_trace17_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = stack_trace17_test.stack_trace17_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.351}] 2019-04-19 12:57:34.913798 Warning: 2019-04-19 12:57:34.913803 Warning: 2019-04-19 12:57:34.913809 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors28_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913817 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.431},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.431},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.439},{"type":"print","value":"dart-main-done","timestamp":0.44},{"type":"message_received","value":"dart-calling-main","timestamp":0.441},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.442},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.442},{"type":"message_received","value":"dart-main-done","timestamp":0.442},{"type":"print","value":"unittest-suite-success","timestamp":0.743},{"type":"message_received","value":"unittest-suite-success","timestamp":0.743},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.743},{"type":"print","value":"unittest-suite-done","timestamp":0.743},{"type":"message_received","value":"unittest-suite-done","timestamp":0.743},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.744},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test catch_errors28_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"catch_errors28_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors28_test/catch_errors28_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running catch_errors28_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors28_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"catch_errors28_test\", \"dart_sdk\", \"async_helper\"],\n function(catch_errors28_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = catch_errors28_test.catch_errors28_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.744}] 2019-04-19 12:57:34.913857 Warning: 2019-04-19 12:57:34.913863 Warning: 2019-04-19 12:57:34.913868 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_value_chain4_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913875 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.309},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.311},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.312},{"type":"print","value":"dart-main-done","timestamp":0.314},{"type":"print","value":"unittest-suite-success","timestamp":0.315},{"type":"message_received","value":"dart-calling-main","timestamp":0.317},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.317},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.318},{"type":"message_received","value":"dart-main-done","timestamp":0.319},{"type":"message_received","value":"unittest-suite-success","timestamp":0.319},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.319},{"type":"print","value":"unittest-suite-done","timestamp":0.32},{"type":"message_received","value":"unittest-suite-done","timestamp":0.323},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.323},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test future_value_chain4_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"future_value_chain4_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_future_value_chain4_test/future_value_chain4_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running future_value_chain4_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_future_value_chain4_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"future_value_chain4_test\", \"dart_sdk\", \"async_helper\"],\n function(future_value_chain4_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = future_value_chain4_test.future_value_chain4_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.323}] 2019-04-19 12:57:34.913917 Warning: 2019-04-19 12:57:34.913922 Warning: 2019-04-19 12:57:34.913928 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_utf8_encode_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913935 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.322},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.353},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.356},{"type":"print","value":"dart-main-done","timestamp":0.575},{"type":"message_received","value":"dart-calling-main","timestamp":1.099},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.1},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.1},{"type":"message_received","value":"dart-main-done","timestamp":1.1},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = true, isDone = false)","timestamp":10},{"type":"print","value":"unittest-suite-success","timestamp":14.197},{"type":"message_received","value":"unittest-suite-success","timestamp":14.197},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":14.197},{"type":"print","value":"unittest-suite-done","timestamp":14.201},{"type":"message_received","value":"unittest-suite-done","timestamp":14.201},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":14.201},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test streamed_conversion_utf8_encode_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"streamed_conversion_utf8_encode_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_convert_streamed_conversion_utf8_encode_test/streamed_conversion_utf8_encode_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running streamed_conversion_utf8_encode_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_convert_streamed_conversion_utf8_encode_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"streamed_conversion_utf8_encode_test\", \"dart_sdk\", \"async_helper\"],\n function(streamed_conversion_utf8_encode_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = streamed_conversion_utf8_encode_test.streamed_conversion_utf8_encode_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":14.201}] 2019-04-19 12:57:34.913977 Warning: 2019-04-19 12:57:34.913983 Warning: 2019-04-19 12:57:34.913989 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_bind_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.913995 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.343},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.345},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.345},{"type":"print","value":"dart-main-done","timestamp":0.346},{"type":"message_received","value":"dart-calling-main","timestamp":0.347},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.347},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.347},{"type":"message_received","value":"dart-main-done","timestamp":0.347},{"type":"print","value":"unittest-suite-success","timestamp":0.348},{"type":"message_received","value":"unittest-suite-success","timestamp":0.348},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.348},{"type":"print","value":"unittest-suite-done","timestamp":0.35},{"type":"message_received","value":"unittest-suite-done","timestamp":0.351},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.351},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test zone_bind_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"zone_bind_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_zone_bind_test/zone_bind_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running zone_bind_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_zone_bind_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"zone_bind_test\", \"dart_sdk\", \"async_helper\"],\n function(zone_bind_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = zone_bind_test.zone_bind_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.351}] 2019-04-19 12:57:34.914036 Warning: 2019-04-19 12:57:34.914042 Warning: 2019-04-19 12:57:34.914048 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_single_to_multi_subscriber_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.914054 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":1.141},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.143},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.178},{"type":"print","value":"dart-main-done","timestamp":1.2},{"type":"print","value":"SUCCESS: tomulti 1","timestamp":1.201},{"type":"print","value":"SUCCESS: tomulti 2","timestamp":1.205},{"type":"print","value":"SUCCESS: tomulti no-op","timestamp":1.205},{"type":"print","value":"unittest-suite-success","timestamp":1.205},{"type":"message_received","value":"dart-calling-main","timestamp":1.208},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.208},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.208},{"type":"message_received","value":"dart-main-done","timestamp":1.208},{"type":"message_received","value":"unittest-suite-success","timestamp":1.208},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.208},{"type":"print","value":"unittest-suite-done","timestamp":1.209},{"type":"message_received","value":"unittest-suite-done","timestamp":1.214},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.214},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test stream_single_to_multi_subscriber_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"stream_single_to_multi_subscriber_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stream_single_to_multi_subscriber_test/stream_single_to_multi_subscriber_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running stream_single_to_multi_subscriber_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stream_single_to_multi_subscriber_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"stream_single_to_multi_subscriber_test\", \"dart_sdk\", \"async_helper\"],\n function(stream_single_to_multi_subscriber_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = stream_single_to_multi_subscriber_test.stream_single_to_multi_subscriber_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.215}] 2019-04-19 12:57:34.914098 Warning: 2019-04-19 12:57:34.914103 Warning: 2019-04-19 12:57:34.914155 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_empty_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.914163 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.314},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.315},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.317},{"type":"print","value":"dart-main-done","timestamp":0.319},{"type":"message_received","value":"dart-calling-main","timestamp":0.319},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.319},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.319},{"type":"message_received","value":"dart-main-done","timestamp":0.32},{"type":"print","value":"unittest-suite-success","timestamp":0.331},{"type":"message_received","value":"unittest-suite-success","timestamp":0.331},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.332},{"type":"print","value":"unittest-suite-done","timestamp":0.335},{"type":"message_received","value":"unittest-suite-done","timestamp":0.335},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.335},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test stream_empty_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"stream_empty_test\" src=\"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stream_empty_test/stream_empty_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running stream_empty_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/out/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stream_empty_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"stream_empty_test\", \"dart_sdk\", \"async_helper\"],\n function(stream_empty_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = stream_empty_test.stream_empty_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.335}] 2019-04-19 12:57:34.914205 Warning: 2019-04-19 12:57:34.914210 Warning: 2019-04-19 12:57:34.914216 Warning: http://127.0.0.1:45881/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_delayed_error_test/test.html?crossOriginPort=44271, output: 2019-04-19 12:57:34.914223 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.462},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.463},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.463},{"type":"print","value":"dart-main-done","timestamp":0.464},{"type":"print","value":"unittest-suite-success","timestamp":0.465},{"type":"message_received","value":"dart-calling-main","timestamp":0.467},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.467},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.467},{"type":"message_received","value":"dart-main-done","timestamp":0.467},{"type":"message_received","value":"unittest-suite-success","timestamp":0.467},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.467},{"type":"print","value":"unittest-suite-done","timestamp":0.468},{"type":"message_received","value":"unittest-suite-done","