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

INFO: Core dump archiving is activated tools/testing/dart/main.dart:1: Warning: Interpreting this as package URI, 'package:test_dart/main.dart'. Test configuration: dartdevk-checked-linux-release-chrome(architecture: x64, compiler: dartdevk, mode: release, runtime: chrome, system: linux, vm-options: [], dart2js-options: [], timeout: null, checked, preview-dart-2, use-sdk) Suites tested: language_2, corelib_2, lib_2 Total: 9674 tests * 1210 tests will be skipped (675 skipped by design) * 17 tests are expected to be flaky but not crash * 0 tests are expected to flaky crash * 7997 tests are expected to pass * 78 tests are expected to fail that we won't fix * 368 tests are expected to fail that we should fix * 1 tests are expected to crash that we should fix * 0 tests are allowed to timeout * 3 could not be categorized or are in multiple categories FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/char-insensitive_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 69ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_char-insensitive_test/char-insensitive_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/char-insensitive_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 453ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_char-insensitive_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.39 } - { type: message_received value: dart-main-done timestamp: 0.39 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test char-insensitive_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="char-insensitive_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_char-insensitive_test/char-insensitive_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running char-insensitive_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_char-insensitive_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["char-insensitive_test", "dart_sdk", "async_helper"], function(char$45insensitive_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = char$45insensitive_test.char$45insensitive_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/char-insensitive_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/results-cache_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 136ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_results-cache_test/results-cache_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/results-cache_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 444ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_results-cache_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.388 } - { type: message_received value: dart-main-done timestamp: 0.388 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test results-cache_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="results-cache_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_results-cache_test/results-cache_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running results-cache_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_results-cache_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["results-cache_test", "dart_sdk", "async_helper"], function(results$45cache_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = results$45cache_test.results$45cache_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/results-cache_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/range-out-of-order_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 130ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test/range-out-of-order_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/range-out-of-order_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 625ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.554 } - { type: message_received value: dart-main-done timestamp: 0.555 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test range-out-of-order_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="range-out-of-order_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test/range-out-of-order_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running range-out-of-order_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["range-out-of-order_test", "dart_sdk", "async_helper"], function(range$45out$45of$45order_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = range$45out$45of$45order_test.range$45out$45of$45order_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/range-out-of-order_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/character-match-out-of-order_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 189ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test/character-match-out-of-order_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/character-match-out-of-order_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 499ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.442 } - { type: message_received value: dart-main-done timestamp: 0.443 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test character-match-out-of-order_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="character-match-out-of-order_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test/character-match-out-of-order_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running character-match-out-of-order_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["character-match-out-of-order_test", "dart_sdk", "async_helper"], function(character$45match$45out$45of$45order_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = character$45match$45out$45of$45order_test.character$45match$45out$45of$45order_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/character-match-out-of-order_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/repeat-match-waldemar_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 135ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test/repeat-match-waldemar_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/repeat-match-waldemar_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 599ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.537 } - { type: message_received value: dart-main-done timestamp: 0.538 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test repeat-match-waldemar_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="repeat-match-waldemar_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test/repeat-match-waldemar_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running repeat-match-waldemar_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["repeat-match-waldemar_test", "dart_sdk", "async_helper"], function(repeat$45match$45waldemar_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = repeat$45match$45waldemar_test.repeat$45match$45waldemar_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/repeat-match-waldemar_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/invalid-range-in-class_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 185ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test/invalid-range-in-class_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/invalid-range-in-class_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 451ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.394 } - { type: message_received value: dart-main-done timestamp: 0.394 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test invalid-range-in-class_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="invalid-range-in-class_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test/invalid-range-in-class_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running invalid-range-in-class_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["invalid-range-in-class_test", "dart_sdk", "async_helper"], function(invalid$45range$45in$45class_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = invalid$45range$45in$45class_test.invalid$45range$45in$45class_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/invalid-range-in-class_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-bmp_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 99ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-bmp_test/non-bmp_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-bmp_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 387ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-bmp_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.335 } - { type: message_received value: dart-main-done timestamp: 0.336 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test non-bmp_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-bmp_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-bmp_test/non-bmp_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running non-bmp_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-bmp_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-bmp_test", "dart_sdk", "async_helper"], function(non$45bmp_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45bmp_test.non$45bmp_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-bmp_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/early-acid3-86_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 121ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test/early-acid3-86_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/early-acid3-86_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 507ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.424 } - { type: message_received value: dart-main-done timestamp: 0.449 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test early-acid3-86_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="early-acid3-86_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test/early-acid3-86_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running early-acid3-86_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["early-acid3-86_test", "dart_sdk", "async_helper"], function(early$45acid3$4586_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = early$45acid3$4586_test.early$45acid3$4586_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/early-acid3-86_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/malformed-escapes_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 151ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test/malformed-escapes_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/malformed-escapes_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 482ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.428 } - { type: message_received value: dart-main-done timestamp: 0.429 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test malformed-escapes_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="malformed-escapes_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test/malformed-escapes_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running malformed-escapes_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["malformed-escapes_test", "dart_sdk", "async_helper"], function(malformed$45escapes_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = malformed$45escapes_test.malformed$45escapes_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/malformed-escapes_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/alternative-length-miscalculation_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 109ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test/alternative-length-miscalculation_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/alternative-length-miscalculation_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 462ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.404 } - { type: message_received value: dart-main-done timestamp: 0.404 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test alternative-length-miscalculation_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="alternative-length-miscalculation_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test/alternative-length-miscalculation_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running alternative-length-miscalculation_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["alternative-length-miscalculation_test", "dart_sdk", "async_helper"], function(alternative$45length$45miscalculation_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = alternative$45length$45miscalculation_test.alternative$45length$45miscalculation_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/alternative-length-miscalculation_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/quantified-assertions_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 155ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test/quantified-assertions_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/quantified-assertions_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 567ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.481 } - { type: message_received value: dart-main-done timestamp: 0.483 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test quantified-assertions_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="quantified-assertions_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test/quantified-assertions_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running quantified-assertions_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["quantified-assertions_test", "dart_sdk", "async_helper"], function(quantified$45assertions_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = quantified$45assertions_test.quantified$45assertions_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/quantified-assertions_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/pcre-test-4_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 225ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test/pcre-test-4_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/pcre-test-4_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 537ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.448 } - { type: message_received value: dart-main-done timestamp: 0.448 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test pcre-test-4_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="pcre-test-4_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test/pcre-test-4_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running pcre-test-4_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["pcre-test-4_test", "dart_sdk", "async_helper"], function(pcre$45test$454_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = pcre$45test$454_test.pcre$45test$454_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/pcre-test-4_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/ascii-regexp-subject_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 133ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test/ascii-regexp-subject_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/ascii-regexp-subject_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 637ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.529 } - { type: message_received value: dart-main-done timestamp: 0.529 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test ascii-regexp-subject_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="ascii-regexp-subject_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test/ascii-regexp-subject_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running ascii-regexp-subject_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["ascii-regexp-subject_test", "dart_sdk", "async_helper"], function(ascii$45regexp$45subject_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = ascii$45regexp$45subject_test.ascii$45regexp$45subject_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/ascii-regexp-subject_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/many-brackets_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 177ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_many-brackets_test/many-brackets_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/many-brackets_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 484ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_many-brackets_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.438 } - { type: message_received value: dart-main-done timestamp: 0.439 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test many-brackets_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="many-brackets_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_many-brackets_test/many-brackets_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running many-brackets_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_many-brackets_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["many-brackets_test", "dart_sdk", "async_helper"], function(many$45brackets_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = many$45brackets_test.many$45brackets_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/many-brackets_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/no-extensions_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 160ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_no-extensions_test/no-extensions_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/no-extensions_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 644ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_no-extensions_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.581 } - { type: message_received value: dart-main-done timestamp: 0.582 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test no-extensions_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="no-extensions_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_no-extensions_test/no-extensions_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running no-extensions_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_no-extensions_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["no-extensions_test", "dart_sdk", "async_helper"], function(no$45extensions_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = no$45extensions_test.no$45extensions_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/no-extensions_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/regress-6-9-regexp_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 101ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test/regress-6-9-regexp_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/regress-6-9-regexp_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 484ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.421 } - { type: message_received value: dart-main-done timestamp: 0.421 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test regress-6-9-regexp_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="regress-6-9-regexp_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test/regress-6-9-regexp_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running regress-6-9-regexp_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["regress-6-9-regexp_test", "dart_sdk", "async_helper"], function(regress$456$459$45regexp_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = regress$456$459$45regexp_test.regress$456$459$45regexp_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/regress-6-9-regexp_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/zero-length-alternatives_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 113ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test/zero-length-alternatives_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/zero-length-alternatives_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 475ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.423 } - { type: message_received value: dart-main-done timestamp: 0.423 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test zero-length-alternatives_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="zero-length-alternatives_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test/zero-length-alternatives_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running zero-length-alternatives_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["zero-length-alternatives_test", "dart_sdk", "async_helper"], function(zero$45length$45alternatives_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = zero$45length$45alternatives_test.zero$45length$45alternatives_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/zero-length-alternatives_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/stack-overflow_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 171ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow_test/stack-overflow_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/stack-overflow_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 573ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_stack-overflow_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.478 } - { type: message_received value: dart-main-done timestamp: 0.478 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test stack-overflow_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="stack-overflow_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow_test/stack-overflow_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running stack-overflow_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["stack-overflow_test", "dart_sdk", "async_helper"], function(stack$45overflow_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = stack$45overflow_test.stack$45overflow_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/stack-overflow_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/unicode-handling_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 104ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_unicode-handling_test/unicode-handling_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/unicode-handling_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 399ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_unicode-handling_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.35 } - { type: message_received value: dart-main-done timestamp: 0.35 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test unicode-handling_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="unicode-handling_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_unicode-handling_test/unicode-handling_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running unicode-handling_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_unicode-handling_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["unicode-handling_test", "dart_sdk", "async_helper"], function(unicode$45handling_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = unicode$45handling_test.unicode$45handling_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/unicode-handling_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/ecma-regex-examples_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 76ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test/ecma-regex-examples_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/ecma-regex-examples_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 539ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.485 } - { type: message_received value: dart-main-done timestamp: 0.486 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test ecma-regex-examples_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="ecma-regex-examples_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test/ecma-regex-examples_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running ecma-regex-examples_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["ecma-regex-examples_test", "dart_sdk", "async_helper"], function(ecma$45regex$45examples_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = ecma$45regex$45examples_test.ecma$45regex$45examples_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/ecma-regex-examples_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/find-first-asserted_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 117ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test/find-first-asserted_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/find-first-asserted_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 518ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.484 } - { type: message_received value: dart-main-done timestamp: 0.484 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test find-first-asserted_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="find-first-asserted_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test/find-first-asserted_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running find-first-asserted_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["find-first-asserted_test", "dart_sdk", "async_helper"], function(find$45first$45asserted_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = find$45first$45asserted_test.find$45first$45asserted_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/find-first-asserted_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/ranges-and-escaped-hyphens_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 156ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test/ranges-and-escaped-hyphens_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/ranges-and-escaped-hyphens_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 540ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.505 } - { type: message_received value: dart-main-done timestamp: 0.505 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test ranges-and-escaped-hyphens_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="ranges-and-escaped-hyphens_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test/ranges-and-escaped-hyphens_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running ranges-and-escaped-hyphens_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["ranges-and-escaped-hyphens_test", "dart_sdk", "async_helper"], function(ranges$45and$45escaped$45hyphens_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = ranges$45and$45escaped$45hyphens_test.ranges$45and$45escaped$45hyphens_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/ranges-and-escaped-hyphens_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-character_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 110ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-character_test/non-character_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-character_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 579ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-character_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.516 } - { type: message_received value: dart-main-done timestamp: 0.517 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test non-character_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-character_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-character_test/non-character_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running non-character_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-character_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-character_test", "dart_sdk", "async_helper"], function(non$45character_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45character_test.non$45character_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-character_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/regress-regexp-codeflush_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 73ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test/regress-regexp-codeflush_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/regress-regexp-codeflush_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 647ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.598 } - { type: message_received value: dart-main-done timestamp: 0.599 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test regress-regexp-codeflush_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="regress-regexp-codeflush_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test/regress-regexp-codeflush_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running regress-regexp-codeflush_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["regress-regexp-codeflush_test", "dart_sdk", "async_helper"], function(regress$45regexp$45codeflush_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = regress$45regexp$45codeflush_test.regress$45regexp$45codeflush_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/regress-regexp-codeflush_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-greedy-parentheses_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 113ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test/non-greedy-parentheses_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-greedy-parentheses_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 594ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.496 } - { type: message_received value: dart-main-done timestamp: 0.497 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test non-greedy-parentheses_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-greedy-parentheses_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test/non-greedy-parentheses_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running non-greedy-parentheses_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-greedy-parentheses_test", "dart_sdk", "async_helper"], function(non$45greedy$45parentheses_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45greedy$45parentheses_test.non$45greedy$45parentheses_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-greedy-parentheses_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-capturing-backtracking_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 120ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test/non-capturing-backtracking_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-capturing-backtracking_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 480ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.424 } - { type: message_received value: dart-main-done timestamp: 0.424 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test non-capturing-backtracking_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-capturing-backtracking_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test/non-capturing-backtracking_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running non-capturing-backtracking_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-capturing-backtracking_test", "dart_sdk", "async_helper"], function(non$45capturing$45backtracking_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45capturing$45backtracking_test.non$45capturing$45backtracking_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-capturing-backtracking_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/negative-special-characters_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 115ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test/negative-special-characters_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/negative-special-characters_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 605ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.515 } - { type: message_received value: dart-main-done timestamp: 0.515 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test negative-special-characters_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="negative-special-characters_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test/negative-special-characters_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running negative-special-characters_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["negative-special-characters_test", "dart_sdk", "async_helper"], function(negative$45special$45characters_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = negative$45special$45characters_test.negative$45special$45characters_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/negative-special-characters_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/compile-crash_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 130ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_compile-crash_test/compile-crash_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/compile-crash_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 571ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_compile-crash_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.489 } - { type: message_received value: dart-main-done timestamp: 0.489 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test compile-crash_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="compile-crash_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_compile-crash_test/compile-crash_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running compile-crash_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_compile-crash_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["compile-crash_test", "dart_sdk", "async_helper"], function(compile$45crash_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = compile$45crash_test.compile$45crash_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/compile-crash_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/regress-regexp-construct-result_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 174ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test/regress-regexp-construct-result_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/regress-regexp-construct-result_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 585ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.536 } - { type: message_received value: dart-main-done timestamp: 0.536 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test regress-regexp-construct-result_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="regress-regexp-construct-result_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test/regress-regexp-construct-result_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running regress-regexp-construct-result_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["regress-regexp-construct-result_test", "dart_sdk", "async_helper"], function(regress$45regexp$45construct$45result_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = regress$45regexp$45construct$45result_test.regress$45regexp$45construct$45result_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/regress-regexp-construct-result_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/extended-characters-match_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 136ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test/extended-characters-match_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/extended-characters-match_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 450ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.384 } - { type: message_received value: dart-main-done timestamp: 0.384 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test extended-characters-match_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="extended-characters-match_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test/extended-characters-match_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running extended-characters-match_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["extended-characters-match_test", "dart_sdk", "async_helper"], function(extended$45characters$45match_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = extended$45characters$45match_test.extended$45characters$45match_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/extended-characters-match_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/loop-capture_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 148ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_loop-capture_test/loop-capture_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/loop-capture_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 444ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_loop-capture_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.389 } - { type: message_received value: dart-main-done timestamp: 0.389 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test loop-capture_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="loop-capture_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_loop-capture_test/loop-capture_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running loop-capture_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_loop-capture_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["loop-capture_test", "dart_sdk", "async_helper"], function(loop$45capture_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = loop$45capture_test.loop$45capture_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/loop-capture_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/bol-with-multiline_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 163ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test/bol-with-multiline_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/bol-with-multiline_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 504ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.399 } - { type: message_received value: dart-main-done timestamp: 0.4 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test bol-with-multiline_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="bol-with-multiline_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test/bol-with-multiline_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running bol-with-multiline_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["bol-with-multiline_test", "dart_sdk", "async_helper"], function(bol$45with$45multiline_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = bol$45with$45multiline_test.bol$45with$45multiline_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/bol-with-multiline_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/stack-overflow2_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 154ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test/stack-overflow2_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/stack-overflow2_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 515ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.457 } - { type: message_received value: dart-main-done timestamp: 0.458 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test stack-overflow2_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="stack-overflow2_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test/stack-overflow2_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running stack-overflow2_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["stack-overflow2_test", "dart_sdk", "async_helper"], function(stack$45overflow2_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = stack$45overflow2_test.stack$45overflow2_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/stack-overflow2_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/look-ahead_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 110ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_look-ahead_test/look-ahead_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/look-ahead_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 523ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_look-ahead_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.472 } - { type: message_received value: dart-main-done timestamp: 0.472 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test look-ahead_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="look-ahead_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_look-ahead_test/look-ahead_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running look-ahead_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_look-ahead_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["look-ahead_test", "dart_sdk", "async_helper"], function(look$45ahead_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = look$45ahead_test.look$45ahead_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/look-ahead_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/extended-characters-more_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 114ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test/extended-characters-more_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/extended-characters-more_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 439ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.409 } - { type: message_received value: dart-main-done timestamp: 0.41 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test extended-characters-more_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="extended-characters-more_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test/extended-characters-more_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running extended-characters-more_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["extended-characters-more_test", "dart_sdk", "async_helper"], function(extended$45characters$45more_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = extended$45characters$45more_test.extended$45characters$45more_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/extended-characters-more_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/range-bound-ffff_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 93ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test/range-bound-ffff_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/range-bound-ffff_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 408ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.351 } - { type: message_received value: dart-main-done timestamp: 0.351 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test range-bound-ffff_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="range-bound-ffff_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test/range-bound-ffff_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running range-bound-ffff_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["range-bound-ffff_test", "dart_sdk", "async_helper"], function(range$45bound$45ffff_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = range$45bound$45ffff_test.range$45bound$45ffff_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/range-bound-ffff_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/non-capturing-groups_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 155ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test/non-capturing-groups_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/non-capturing-groups_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 395ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.315 } - { type: message_received value: dart-main-done timestamp: 0.315 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test non-capturing-groups_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="non-capturing-groups_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test/non-capturing-groups_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running non-capturing-groups_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["non-capturing-groups_test", "dart_sdk", "async_helper"], function(non$45capturing$45groups_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = non$45capturing$45groups_test.non$45capturing$45groups_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/non-capturing-groups_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/regexp/capture-3_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 151ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_capture-3_test/capture-3_test.js /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp/capture-3_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 594ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_regexp_capture-3_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.536 } - { type: message_received value: dart-main-done timestamp: 0.537 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test capture-3_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="capture-3_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_capture-3_test/capture-3_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running capture-3_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_corelib_2_regexp_capture-3_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["capture-3_test", "dart_sdk", "async_helper"], function(capture$453_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = capture$453_test.capture$453_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/regexp/capture-3_test FAILED: dartdevk-chrome-checked release_x64 corelib_2/error_stack_trace_test/nullThrown Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 83ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown/error_stack_trace_test_nullThrown.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/corelib_2/error_stack_trace_test_nullThrown.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/corelib_2) exit code: 0 --- Command "chrome" (took 484ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.444 } - { type: message_received value: dart-main-done timestamp: 0.445 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test error_stack_trace_test_nullThrown</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="error_stack_trace_test_nullThrown" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown/error_stack_trace_test_nullThrown.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running error_stack_trace_test_nullThrown</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["error_stack_trace_test_nullThrown", "dart_sdk", "async_helper"], function(error_stack_trace_test_nullThrown, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = error_stack_trace_test_nullThrown.error_stack_trace_test_nullThrown.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/error_stack_trace_test/nullThrown FAILED: dartdevk-chrome-checked release_x64 corelib_2/unsigned_shift_test/none Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dartdevk" (took 105ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --enable-experiment=triple-shift --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_corelib_2_unsigned_shift_test_none/unsigned_shift_test_none.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/corelib_2) exit code: 1 stdout: org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:81:1: Error: Can't have modifier 'const' here. Try removing 'const'. const bool isJSBitOps => (-1 | 0) > 0; ^^^^^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:81:12: Error: A function declaration needs an explicit list of parameters. Try adding a parameter list to the function declaration. const bool isJSBitOps => (-1 | 0) > 0; ^^^^^^^^^^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:114:14: Error: A method declaration needs an explicit list of parameters. Try adding a parameter list to the method declaration. C operator >>>(C other) => other; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:114:16: Error: Expected '{' before this. C operator >>>(C other) => other; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:114:14: Error: Operator '>>' should have exactly one parameter. C operator >>>(C other) => other; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:114:16: Error: Operator declarations must be preceded by the keyword 'operator'. Try adding the keyword 'operator'. C operator >>>(C other) => other; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:16:3: Error: Method not found: 'testNonDoubleShifts'. testNonDoubleShifts(); ^^^^^^^^^^^^^^^^^^^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:43:29: Error: Expected an identifier, but got '>'. Expect.throws(() => 1 >>> number); // infinity > 64. ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:34:15: Error: The integer literal 0x7fffffffffffffff can't be represented exactly in JavaScript. Try changing the literal to something that can be represented in Javascript. In Javascript 0x8000000000000000 is the nearest value that can be represented exactly. testShift(0x7fffffffffffffff, i); ^^^^^^^^^^^^^^^^^^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:35:15: Error: The integer literal 0xffffffffffffffff can't be represented exactly in JavaScript. Try changing the literal to something that can be represented in Javascript. In Javascript 0x10000000000000000 is the nearest value that can be represented exactly. testShift(0xffffffffffffffff, i); ^^^^^^^^^^^^^^^^^^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:52:36: Error: Expected an identifier, but got '>'. Expect.throws(() => number >>> 1); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:53:31: Error: Expected an identifier, but got '>'. Expect.throws(() => 1 >>> number); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:61:18: Error: Expected an identifier, but got '>'. const c1 = 2 >>> 1; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:62:19: Error: Expected an identifier, but got '>'. const c2 = (1 >>> 0) >>> 0; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:62:26: Error: Expected an identifier, but got '>'. const c2 = (1 >>> 0) >>> 0; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:65:30: Error: Expected an identifier, but got '>'. const c3 = false ? 1 : c >>> c; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:66:26: Error: Expected an identifier, but got '>'. const c4 = true || c >>> c; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:78:10: Error: Method not found: 'Expect.notNull'. Expect.notNull(c1 + c2 + c3 + c4); // Avoid "unused variable" warnings. ^^^^^^^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:62:24: Error: The method '>>' isn't defined for the class 'bool'. Try correcting the name to the name of an existing method, or defining a method named '>>'. const c2 = (1 >>> 0) >>> 0; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart: Error: Too many positional arguments: 0 allowed, but 1 found. Try removing the extra positional arguments. org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:78:21: Error: The method '+' isn't defined for the class 'bool'. Try correcting the name to the name of an existing method, or defining a method named '+'. Expect.notNull(c1 + c2 + c3 + c4); // Avoid "unused variable" warnings. ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:82:23: Error: A value of type 'bool Function()' can't be assigned to a variable of type 'bool'. Try changing the type of the left hand side, or casting the right hand side to 'bool'. const String jsFlag = isJSBitOps ? " (JS)" : ""; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:88:33: Error: Expected an identifier, but got '>'. Expect.throws(() => value >>> shift, "$title: shift < 0"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:93:33: Error: Expected an identifier, but got '>'. Expect.throws(() => value >>> shift, "$title: shift > 64"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:97:7: Error: Getter not found: 'isJsBitOps'. if (isJsBitOps) { ^^^^^^^^^^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:109:35: Error: Expected an identifier, but got '>'. Expect.equals(expected, value >>> shift, title); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:88:61: Error: The argument type 'String' can't be assigned to the parameter type 'bool Function(dynamic)'. Try changing the type of the parameter, or casting the argument to 'bool Function(dynamic)'. Expect.throws(() => value >>> shift, "$title: shift < 0"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:91:8: Error: A value of type 'bool Function()' can't be assigned to a variable of type 'bool'. Try changing the type of the left hand side, or casting the right hand side to 'bool'. if (!isJSBitOps && shift > 64) { ^ org-dartlang-app:/out/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart:93:62: Error: The argument type 'String' can't be assigned to the parameter type 'bool Function(dynamic)'. Try changing the type of the parameter, or casting the argument to 'bool Function(dynamic)'. Expect.throws(() => value >>> shift, "$title: shift > 64"); ^ stderr: Unknown experiment flag 'triple-shift'. --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome corelib_2/unsigned_shift_test/none FAILED: dartdevk-chrome-checked release_x64 language_2/mixin_declaration/mixin_declaration_subtype_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 145ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_declaration_mixin_declaration_subtype_test/mixin_declaration_subtype_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/mixin_declaration/mixin_declaration_subtype_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2/mixin_declaration) exit code: 0 --- Command "chrome" (took 637ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_mixin_declaration_mixin_declaration_subtype_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.546 } - { type: message_received value: dart-main-done timestamp: 0.546 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test mixin_declaration_subtype_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="mixin_declaration_subtype_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_declaration_mixin_declaration_subtype_test/mixin_declaration_subtype_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running mixin_declaration_subtype_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_declaration_mixin_declaration_subtype_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["mixin_declaration_subtype_test", "dart_sdk", "async_helper"], function(mixin_declaration_subtype_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = mixin_declaration_subtype_test.mixin_declaration_subtype_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/mixin_declaration/mixin_declaration_subtype_test FAILED: dartdevk-chrome-checked release_x64 language_2/regress_16640_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 98ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_regress_16640_test/regress_16640_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/regress_16640_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 480ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_regress_16640_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.434 } - { type: message_received value: dart-main-done timestamp: 0.434 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test regress_16640_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="regress_16640_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_regress_16640_test/regress_16640_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running regress_16640_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_regress_16640_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["regress_16640_test", "dart_sdk", "async_helper"], function(regress_16640_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = regress_16640_test.regress_16640_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/regress_16640_test FAILED: dartdevk-chrome-checked release_x64 language_2/function_subtype_inline2_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 69ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_subtype_inline2_test/function_subtype_inline2_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/function_subtype_inline2_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 393ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_function_subtype_inline2_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.356 } - { type: message_received value: dart-main-done timestamp: 0.356 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test function_subtype_inline2_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="function_subtype_inline2_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_subtype_inline2_test/function_subtype_inline2_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running function_subtype_inline2_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_subtype_inline2_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["function_subtype_inline2_test", "dart_sdk", "async_helper"], function(function_subtype_inline2_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = function_subtype_inline2_test.function_subtype_inline2_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/function_subtype_inline2_test FAILED: dartdevk-chrome-checked release_x64 language_2/stacktrace_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 117ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_stacktrace_test/stacktrace_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/stacktrace_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 01.000486s): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_stacktrace_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 1.429 } - { type: message_received value: dart-main-done timestamp: 1.429 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test stacktrace_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="stacktrace_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_stacktrace_test/stacktrace_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running stacktrace_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_stacktrace_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["stacktrace_test", "dart_sdk", "async_helper"], function(stacktrace_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = stacktrace_test.stacktrace_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/stacktrace_test FAILED: dartdevk-chrome-checked release_x64 language_2/regress_28268_test/none Expected: Pass Actual: RuntimeError --- Command "dartdevk" (took 115ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_regress_28268_test_none/regress_28268_test_none.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/regress_28268_test_none.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 409ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_regress_28268_test_none/test.html?crossOriginPort=41103 Runtime error: TypeError: Cannot set property a of class E extends core.Object { get d() { return this[d]; } set d(value) { super.d = valu...<omitted>... } which has only a getter get d() { return this[d]; } set d(value) { super.d = valu...<omitted>... } which has only a getter get d() { return this[d]; } set d(value) { super.d = valu...<omitted>... } which has only a getter at Object.regress_28268_test_none.main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_regress_28268_test_none/regress_28268_test_none.js:88:33) at testMainWrapper (http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_regress_28268_test_none/test.html?crossOriginPort=41103:104:66) exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/regress_28268_test/none FAILED: dartdevk-chrome-checked release_x64 language_2/syncstar_covariant_type_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 80ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_syncstar_covariant_type_test/syncstar_covariant_type_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/syncstar_covariant_type_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 391ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_syncstar_covariant_type_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.342 } - { type: message_received value: dart-main-done timestamp: 0.342 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test syncstar_covariant_type_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="syncstar_covariant_type_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_syncstar_covariant_type_test/syncstar_covariant_type_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running syncstar_covariant_type_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_syncstar_covariant_type_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["syncstar_covariant_type_test", "dart_sdk", "async_helper"], function(syncstar_covariant_type_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = syncstar_covariant_type_test.syncstar_covariant_type_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/syncstar_covariant_type_test FAILED: dartdevk-chrome-checked release_x64 language_2/example_constructor_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 106ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_example_constructor_test/example_constructor_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/example_constructor_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 446ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_example_constructor_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.4 } - { type: message_received value: dart-main-done timestamp: 0.4 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test example_constructor_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="example_constructor_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_example_constructor_test/example_constructor_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running example_constructor_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_example_constructor_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["example_constructor_test", "dart_sdk", "async_helper"], function(example_constructor_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = example_constructor_test.example_constructor_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/example_constructor_test FAILED: dartdevk-chrome-checked release_x64 language_2/nested_switch_label_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 105ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_nested_switch_label_test/nested_switch_label_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/nested_switch_label_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 471ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_nested_switch_label_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.416 } - { type: message_received value: dart-main-done timestamp: 0.416 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test nested_switch_label_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="nested_switch_label_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_nested_switch_label_test/nested_switch_label_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running nested_switch_label_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_nested_switch_label_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["nested_switch_label_test", "dart_sdk", "async_helper"], function(nested_switch_label_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = nested_switch_label_test.nested_switch_label_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/nested_switch_label_test FAILED: dartdevk-chrome-checked release_x64 language_2/built_in_identifier_type_annotation_test/dynamic-list Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 75ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list/built_in_identifier_type_annotation_test_dynamic-list.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/built_in_identifier_type_annotation_test_dynamic-list.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 353ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.327 } - { type: message_received value: dart-main-done timestamp: 0.327 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test built_in_identifier_type_annotation_test_dynamic-list</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="built_in_identifier_type_annotation_test_dynamic-list" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list/built_in_identifier_type_annotation_test_dynamic-list.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running built_in_identifier_type_annotation_test_dynamic-list</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["built_in_identifier_type_annotation_test_dynamic-list", "dart_sdk", "async_helper"], function(built_in_identifier_type_annotation_test_dynamic$45list, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = built_in_identifier_type_annotation_test_dynamic$45list.built_in_identifier_type_annotation_test_dynamic$45list.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/built_in_identifier_type_annotation_test/dynamic-list FAILED: dartdevk-chrome-checked release_x64 language_2/built_in_identifier_type_annotation_test/dynamic-funarg Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 69ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg/built_in_identifier_type_annotation_test_dynamic-funarg.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/built_in_identifier_type_annotation_test_dynamic-funarg.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 604ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.554 } - { type: message_received value: dart-main-done timestamp: 0.555 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test built_in_identifier_type_annotation_test_dynamic-funarg</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="built_in_identifier_type_annotation_test_dynamic-funarg" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg/built_in_identifier_type_annotation_test_dynamic-funarg.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running built_in_identifier_type_annotation_test_dynamic-funarg</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["built_in_identifier_type_annotation_test_dynamic-funarg", "dart_sdk", "async_helper"], function(built_in_identifier_type_annotation_test_dynamic$45funarg, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = built_in_identifier_type_annotation_test_dynamic$45funarg.built_in_identifier_type_annotation_test_dynamic$45funarg.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/built_in_identifier_type_annotation_test/dynamic-funarg FAILED: dartdevk-chrome-checked release_x64 language_2/built_in_identifier_type_annotation_test/dynamic-funret Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 120ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret/built_in_identifier_type_annotation_test_dynamic-funret.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/built_in_identifier_type_annotation_test_dynamic-funret.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 504ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.473 } - { type: message_received value: dart-main-done timestamp: 0.474 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test built_in_identifier_type_annotation_test_dynamic-funret</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="built_in_identifier_type_annotation_test_dynamic-funret" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret/built_in_identifier_type_annotation_test_dynamic-funret.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running built_in_identifier_type_annotation_test_dynamic-funret</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["built_in_identifier_type_annotation_test_dynamic-funret", "dart_sdk", "async_helper"], function(built_in_identifier_type_annotation_test_dynamic$45funret, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = built_in_identifier_type_annotation_test_dynamic$45funret.built_in_identifier_type_annotation_test_dynamic$45funret.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/built_in_identifier_type_annotation_test/dynamic-funret FAILED: dartdevk-chrome-checked release_x64 language_2/asyncstar_covariant_type_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 72ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_asyncstar_covariant_type_test/asyncstar_covariant_type_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/asyncstar_covariant_type_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 01.000290s): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_asyncstar_covariant_type_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "unittest-suite-wait-for-done" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 1.24 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 1.241 } - { type: message_received value: dart-main-done timestamp: 1.241 } - print "unittest-suite-done" - { type: message_received value: unittest-suite-done timestamp: 1.242 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test asyncstar_covariant_type_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="asyncstar_covariant_type_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_asyncstar_covariant_type_test/asyncstar_covariant_type_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running asyncstar_covariant_type_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_asyncstar_covariant_type_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["asyncstar_covariant_type_test", "dart_sdk", "async_helper"], function(asyncstar_covariant_type_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = asyncstar_covariant_type_test.asyncstar_covariant_type_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/asyncstar_covariant_type_test FAILED: dartdevk-chrome-checked release_x64 language_2/string_literals_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 106ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_string_literals_test/string_literals_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/string_literals_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 429ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_string_literals_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.373 } - { type: message_received value: dart-main-done timestamp: 0.373 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test string_literals_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="string_literals_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_string_literals_test/string_literals_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running string_literals_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_string_literals_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["string_literals_test", "dart_sdk", "async_helper"], function(string_literals_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = string_literals_test.string_literals_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/string_literals_test FAILED: dartdevk-chrome-checked release_x64 language_2/generic_is_check_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 97ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_generic_is_check_test/generic_is_check_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/generic_is_check_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 341ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_generic_is_check_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.308 } - { type: message_received value: dart-main-done timestamp: 0.309 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test generic_is_check_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="generic_is_check_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_generic_is_check_test/generic_is_check_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running generic_is_check_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_generic_is_check_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["generic_is_check_test", "dart_sdk", "async_helper"], function(generic_is_check_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = generic_is_check_test.generic_is_check_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/generic_is_check_test FAILED: dartdevk-chrome-checked release_x64 language_2/mixin_super_use_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 102ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_super_use_test/mixin_super_use_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/mixin_super_use_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 01.000383s): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_mixin_super_use_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 1.296 } - { type: message_received value: dart-main-done timestamp: 1.296 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test mixin_super_use_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="mixin_super_use_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_super_use_test/mixin_super_use_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running mixin_super_use_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_mixin_super_use_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["mixin_super_use_test", "dart_sdk", "async_helper"], function(mixin_super_use_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = mixin_super_use_test.mixin_super_use_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/mixin_super_use_test FAILED: dartdevk-chrome-checked release_x64 language_2/syncstar_yield_test/copyParameters Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 67ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_copyParameters/syncstar_yield_test_copyParameters.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/syncstar_yield_test_copyParameters.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 461ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_syncstar_yield_test_copyParameters/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.42 } - { type: message_received value: dart-main-done timestamp: 0.421 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test syncstar_yield_test_copyParameters</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="syncstar_yield_test_copyParameters" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_copyParameters/syncstar_yield_test_copyParameters.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running syncstar_yield_test_copyParameters</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_copyParameters", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["syncstar_yield_test_copyParameters", "dart_sdk", "async_helper"], function(syncstar_yield_test_copyParameters, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = syncstar_yield_test_copyParameters.syncstar_yield_test_copyParameters.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/syncstar_yield_test/copyParameters FAILED: dartdevk-chrome-checked release_x64 language_2/syncstar_yield_test/capturing Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 167ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_capturing/syncstar_yield_test_capturing.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/syncstar_yield_test_capturing.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 464ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_syncstar_yield_test_capturing/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.429 } - { type: message_received value: dart-main-done timestamp: 0.429 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test syncstar_yield_test_capturing</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="syncstar_yield_test_capturing" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_capturing/syncstar_yield_test_capturing.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running syncstar_yield_test_capturing</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_syncstar_yield_test_capturing", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["syncstar_yield_test_capturing", "dart_sdk", "async_helper"], function(syncstar_yield_test_capturing, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = syncstar_yield_test_capturing.syncstar_yield_test_capturing.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/syncstar_yield_test/capturing 4830 out of 8464 completed Tests running for 5 minutes FAILED: dartdevk-chrome-checked release_x64 language_2/unsigned_right_shift_test/none Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dartdevk" (took 118ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --enable-experiment=triple-shift --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_unsigned_right_shift_test_none/unsigned_right_shift_test_none.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 1 stdout: org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:138:14: Error: A method declaration needs an explicit list of parameters. Try adding a parameter list to the method declaration. C operator >>>(C other) => other; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:138:16: Error: Expected '{' before this. C operator >>>(C other) => other; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:138:14: Error: Operator '>>' should have exactly one parameter. C operator >>>(C other) => other; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:138:16: Error: Operator declarations must be preceded by the keyword 'operator'. Try adding the keyword 'operator'. C operator >>>(C other) => other; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:163:19: Error: A method declaration needs an explicit list of parameters. Try adding a parameter list to the method declaration. dynamic operator>>>(C o); ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:163:21: Error: Expected '{' before this. dynamic operator>>>(C o); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:163:19: Error: Operator '>>' should have exactly one parameter. dynamic operator>>>(C o); ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:163:21: Error: Operator declarations must be preceded by the keyword 'operator'. Try adding the keyword 'operator'. dynamic operator>>>(C o); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:168:15: Error: A method declaration needs an explicit list of parameters. Try adding a parameter list to the method declaration. int operator>>>(int n); ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:168:17: Error: Expected '{' before this. int operator>>>(int n); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:168:15: Error: Operator '>>' should have exactly one parameter. int operator>>>(int n); ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:168:17: Error: Operator declarations must be preceded by the keyword 'operator'. Try adding the keyword 'operator'. int operator>>>(int n); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:180:21: Error: A method declaration needs an explicit list of parameters. Try adding a parameter list to the method declaration. Future<C> operator>>>(C other) async => other; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:180:23: Error: Expected '{' before this. Future<C> operator>>>(C other) async => other; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:180:21: Error: Operator '>>' should have exactly one parameter. Future<C> operator>>>(C other) async => other; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:180:23: Error: Operator declarations must be preceded by the keyword 'operator'. Try adding the keyword 'operator'. Future<C> operator>>>(C other) async => other; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:187:3: Error: Expected '{' before this. Assoc operator~() => Assoc("(~${this}}"); ^^^^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:195:17: Error: A method declaration needs an explicit list of parameters. Try adding a parameter list to the method declaration. Assoc operator>>>(Assoc other) => Assoc("(${this}>>>$other)"); ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:195:19: Error: Expected '{' before this. Assoc operator>>>(Assoc other) => Assoc("(${this}>>>$other)"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:195:17: Error: Operator '>>' should have exactly one parameter. Assoc operator>>>(Assoc other) => Assoc("(${this}>>>$other)"); ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:195:17: Error: '>>' is already declared in this scope. Assoc operator>>>(Assoc other) => Assoc("(${this}>>>$other)"); ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:194:17: Context: Previous declaration of '>>'. Assoc operator>>(Assoc other) => Assoc("(${this}>>$other)"); ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:195:19: Error: Operator declarations must be preceded by the keyword 'operator'. Try adding the keyword 'operator'. Assoc operator>>>(Assoc other) => Assoc("(${this}>>>$other)"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:195:19: Error: '>' is already declared in this scope. Assoc operator>>>(Assoc other) => Assoc("(${this}>>>$other)"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:193:17: Context: Previous declaration of '>'. Assoc operator>(Assoc other) => Assoc("(${this}>$other)"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:29:29: Error: Expected an identifier, but got '>'. Expect.identical(c2, c1 >>> c2); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:33:7: Error: Expected an identifier, but got '>='. c >>>= c2; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:47:28: Error: Expected an identifier, but got '>'. Expect.identical(c2, d >>> c2); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:48:27: Error: Expected an identifier, but got '>'. Expect.throws(() => d >>> 4); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:51:45: Error: Expected an identifier, but got ')'. Expect.identical(const Symbol(">>>"), #>>>); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:55:33: Error: Expected an identifier, but got '>'. Invocation invocation = nsm >>> c2; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:58:21: Error: Expected an identifier, but got ','. Expect.equals(#>>>, invocation.memberName); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:63:23: Error: Expected an identifier, but got '>='. invocation = (nsm >>>= c2); ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:66:21: Error: Expected an identifier, but got ','. Expect.equals(#>>>, invocation.memberName); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:73:24: Error: Expected an identifier, but got '>'. invocation = shnsm >>> c2; ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:76:21: Error: Expected an identifier, but got ','. Expect.equals(#>>>, invocation.memberName); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:89:32: Error: Expected an identifier, but got '>'. Expect.throws(() => badNSM >>> "not an int", (e) => e != "Unreachable"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:90:32: Error: Expected an identifier, but got '>'. Expect.throws(() => badNSM >>> 4, (e) => e != "Unreachable"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:97:40: Error: Expected an identifier, but got '>'. Expect.identical(c2, (await fc1) >>> (await fc2)); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:99:9: Error: 'async' can't be used as an identifier in 'async', 'async*', or 'sync*' methods. var async = Async(); ^^^^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:100:33: Error: 'async' can't be used as an identifier in 'async', 'async*', or 'sync*' methods. Expect.identical(c1, await (async >>> c2)); ^^^^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:100:41: Error: Expected an identifier, but got '>'. Expect.identical(c1, await (async >>> c2)); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:108:42: Error: Expected an identifier, but got '>'. Expect.equals("((~*)>>>(~*))", "${~a >>> ~a}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:109:47: Error: Expected an identifier, but got '>'. Expect.equals("((*+*)>>>(*+*))", "${a + a >>> a + a}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:110:47: Error: Expected an identifier, but got '>'. Expect.equals("((*/*)>>>(*/*))", "${a / a >>> a / *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:110:53: Error: Expected an identifier, but got '*'. Expect.equals("((*/*)>>>(*/*))", "${a / a >>> a / *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:110:54: Error: Expected an identifier, but got '}'. Expect.equals("((*/*)>>>(*/*))", "${a / a >>> a / *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:111:49: Error: Expected an identifier, but got '>'. Expect.equals("((*>>*)>>>*)>>*)", "${a >> a >>> a >> *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:111:56: Error: Expected an identifier, but got '*'. Expect.equals("((*>>*)>>>*)>>*)", "${a >> a >>> a >> *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:111:57: Error: Expected an identifier, but got '}'. Expect.equals("((*>>*)>>>*)>>*)", "${a >> a >>> a >> *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:112:47: Error: Expected an identifier, but got '>'. Expect.equals("((*&(*>>>*))&*)", "${a & a >>> a & *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:112:53: Error: Expected an identifier, but got '*'. Expect.equals("((*&(*>>>*))&*)", "${a & a >>> a & *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:112:54: Error: Expected an identifier, but got '}'. Expect.equals("((*&(*>>>*))&*)", "${a & a >>> a & *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:113:47: Error: Expected an identifier, but got '>'. Expect.equals("((*|(*>>>*)|)*)", "${a | a >>> a | *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:113:53: Error: Expected an identifier, but got '*'. Expect.equals("((*|(*>>>*)|)*)", "${a | a >>> a | *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:113:54: Error: Expected an identifier, but got '}'. Expect.equals("((*|(*>>>*)|)*)", "${a | a >>> a | *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:114:47: Error: Expected an identifier, but got '>'. Expect.equals("((*^(*>>>*)^)*)", "${a ^ a >>> a ^ *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:114:53: Error: Expected an identifier, but got '*'. Expect.equals("((*^(*>>>*)^)*)", "${a ^ a >>> a ^ *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:114:54: Error: Expected an identifier, but got '}'. Expect.equals("((*^(*>>>*)^)*)", "${a ^ a >>> a ^ *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:115:43: Error: Expected an identifier, but got '>'. Expect.equals("(*<(*>>>*))", "${a < a >>> a}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:115:43: Error: An equality expression can't be an operand of another equality expression. Try re-writing the expression. Expect.equals("(*<(*>>>*))", "${a < a >>> a}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:116:39: Error: Expected an identifier, but got '>'. Expect.equals("((*>>>*)<*)", "${a >>> a < a}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:116:43: Error: An equality expression can't be an operand of another equality expression. Try re-writing the expression. Expect.equals("((*>>>*)<*)", "${a >>> a < a}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:119:9: Error: Expected an identifier, but got '>='. res >>>= a; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:120:9: Error: Expected an identifier, but got '>='. res >>>= a; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:128:22: Error: An equality expression can't be an operand of another equality expression. Try re-writing the expression. Expect.type(F3<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:128:23: Error: Expected an identifier, but got ','. Expect.type(F3<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:129:22: Error: An equality expression can't be an operand of another equality expression. Try re-writing the expression. Expect.type(F4<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:129:23: Error: Expected an identifier, but got ','. Expect.type(F4<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:130:22: Error: An equality expression can't be an operand of another equality expression. Try re-writing the expression. Expect.type(F5<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:130:23: Error: Expected an identifier, but got ','. Expect.type(F5<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:131:22: Error: An equality expression can't be an operand of another equality expression. Try re-writing the expression. Expect.type(F6<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:131:23: Error: Expected an identifier, but got ','. Expect.type(F6<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart: Error: Too many positional arguments: 0 allowed, but 1 found. Try removing the extra positional arguments. org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:33:7: Error: The method '>=' isn't defined for the class 'C'. - 'C' is from 'org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart'. Try correcting the name to the name of an existing method, or defining a method named '>='. c >>>= c2; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:51:44: Error: The method '>' isn't defined for the class 'Symbol'. - 'Symbol' is from 'dart:core'. Try correcting the name to the name of an existing method, or defining a method named '>'. Expect.identical(const Symbol(">>>"), #>>>); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:58:20: Error: The method '>' isn't defined for the class 'Symbol'. - 'Symbol' is from 'dart:core'. Try correcting the name to the name of an existing method, or defining a method named '>'. Expect.equals(#>>>, invocation.memberName); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:66:20: Error: The method '>' isn't defined for the class 'Symbol'. - 'Symbol' is from 'dart:core'. Try correcting the name to the name of an existing method, or defining a method named '>'. Expect.equals(#>>>, invocation.memberName); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:76:20: Error: The method '>' isn't defined for the class 'Symbol'. - 'Symbol' is from 'dart:core'. Try correcting the name to the name of an existing method, or defining a method named '>'. Expect.equals(#>>>, invocation.memberName); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:100:41: Error: The method '>' isn't defined for the class 'Future<C>'. - 'Future' is from 'dart:async'. - 'C' is from 'org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart'. Try correcting the name to the name of an existing method, or defining a method named '>'. Expect.identical(c1, await (async >>> c2)); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:110:53: Error: The method '*' isn't defined for the class 'Assoc'. - 'Assoc' is from 'org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart'. Try correcting the name to the name of an existing method, or defining a method named '*'. Expect.equals("((*/*)>>>(*/*))", "${a / a >>> a / *}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:115:37: Error: The method '<' isn't defined for the class 'Assoc'. - 'Assoc' is from 'org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart'. Try correcting the name to the name of an existing method, or defining a method named '<'. Expect.equals("(*<(*>>>*))", "${a < a >>> a}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:116:43: Error: The method '<' isn't defined for the class 'Assoc'. - 'Assoc' is from 'org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart'. Try correcting the name to the name of an existing method, or defining a method named '<'. Expect.equals("((*>>>*)<*)", "${a >>> a < a}"); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:119:9: Error: The method '>=' isn't defined for the class 'Assoc'. - 'Assoc' is from 'org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart'. Try correcting the name to the name of an existing method, or defining a method named '>='. res >>>= a; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:120:9: Error: The method '>=' isn't defined for the class 'Assoc'. - 'Assoc' is from 'org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart'. Try correcting the name to the name of an existing method, or defining a method named '>='. res >>>= a; ^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:128:17: Error: The method '<' isn't defined for the class 'Type'. - 'Type' is from 'dart:core'. Try correcting the name to the name of an existing method, or defining a method named '<'. Expect.type(F3<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:128:25: Error: The argument type 'Null Function()' can't be assigned to the parameter type 'String'. Try changing the type of the parameter, or casting the argument to 'String'. Expect.type(F3<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:129:17: Error: The method '<' isn't defined for the class 'Type'. - 'Type' is from 'dart:core'. Try correcting the name to the name of an existing method, or defining a method named '<'. Expect.type(F4<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:129:25: Error: The argument type 'Null Function()' can't be assigned to the parameter type 'String'. Try changing the type of the parameter, or casting the argument to 'String'. Expect.type(F4<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:130:17: Error: The method '<' isn't defined for the class 'Type'. - 'Type' is from 'dart:core'. Try correcting the name to the name of an existing method, or defining a method named '<'. Expect.type(F5<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:130:25: Error: The argument type 'Null Function()' can't be assigned to the parameter type 'String'. Try changing the type of the parameter, or casting the argument to 'String'. Expect.type(F5<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:131:17: Error: The method '<' isn't defined for the class 'Type'. - 'Type' is from 'dart:core'. Try correcting the name to the name of an existing method, or defining a method named '<'. Expect.type(F6<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:131:25: Error: The argument type 'Null Function()' can't be assigned to the parameter type 'String'. Try changing the type of the parameter, or casting the argument to 'String'. Expect.type(F6<Null>, () => null); ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:157:12: Error: Getter not found: 'invocation'. return invocation; ^^^^^^^^^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:157:12: Error: The getter 'invocation' isn't defined for the class 'NSM'. - 'NSM' is from 'org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart'. Try correcting the name to the name of an existing getter, or defining a getter or field named 'invocation'. return invocation; ^^^^^^^^^^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:170:29: Error: Expected an identifier, but got ')'. if (i.memberName == #>>>) { ^ org-dartlang-app:/out/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart:170:28: Error: The method '>' isn't defined for the class 'Symbol'. - 'Symbol' is from 'dart:core'. Try correcting the name to the name of an existing method, or defining a method named '>'. if (i.memberName == #>>>) { ^ stderr: Unknown experiment flag 'triple-shift'. --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/unsigned_right_shift_test/none FAILED: dartdevk-chrome-checked release_x64 language_2/private_method_tearoff_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 80ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_private_method_tearoff_test/private_method_tearoff_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/private_method_tearoff_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 437ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_private_method_tearoff_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.403 } - { type: message_received value: dart-main-done timestamp: 0.403 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test private_method_tearoff_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="private_method_tearoff_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_private_method_tearoff_test/private_method_tearoff_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running private_method_tearoff_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_private_method_tearoff_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["private_method_tearoff_test", "dart_sdk", "async_helper"], function(private_method_tearoff_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = private_method_tearoff_test.private_method_tearoff_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/private_method_tearoff_test FAILED: dartdevk-chrome-checked release_x64 language_2/infinite_switch_label_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 86ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_infinite_switch_label_test/infinite_switch_label_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/infinite_switch_label_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 01.000381s): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_infinite_switch_label_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 1.353 } - { type: message_received value: dart-main-done timestamp: 1.353 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test infinite_switch_label_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="infinite_switch_label_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_infinite_switch_label_test/infinite_switch_label_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running infinite_switch_label_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_infinite_switch_label_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["infinite_switch_label_test", "dart_sdk", "async_helper"], function(infinite_switch_label_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = infinite_switch_label_test.infinite_switch_label_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/infinite_switch_label_test FAILED: dartdevk-chrome-checked release_x64 language_2/switch_label2_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 105ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_switch_label2_test/switch_label2_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/switch_label2_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 478ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_switch_label2_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.433 } - { type: message_received value: dart-main-done timestamp: 0.434 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test switch_label2_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="switch_label2_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_switch_label2_test/switch_label2_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running switch_label2_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_switch_label2_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["switch_label2_test", "dart_sdk", "async_helper"], function(switch_label2_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = switch_label2_test.switch_label2_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/switch_label2_test FAILED: dartdevk-chrome-checked release_x64 language_2/exception_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 78ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_exception_test/exception_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/exception_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 01.000238s): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_exception_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "Hello" - print "bye" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 1.172 } - { type: message_received value: dart-main-done timestamp: 1.173 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test exception_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="exception_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_exception_test/exception_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running exception_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_exception_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["exception_test", "dart_sdk", "async_helper"], function(exception_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = exception_test.exception_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/exception_test FAILED: dartdevk-chrome-checked release_x64 language_2/async_covariant_type_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 81ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_covariant_type_test/async_covariant_type_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/async_covariant_type_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 678ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_covariant_type_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "unittest-suite-wait-for-done" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.604 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.604 } - { type: message_received value: dart-main-done timestamp: 0.607 } - print "unittest-suite-done" - { type: message_received value: unittest-suite-done timestamp: 0.609 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test async_covariant_type_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_covariant_type_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_covariant_type_test/async_covariant_type_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running async_covariant_type_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_covariant_type_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["async_covariant_type_test", "dart_sdk", "async_helper"], function(async_covariant_type_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = async_covariant_type_test.async_covariant_type_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/async_covariant_type_test FAILED: dartdevk-chrome-checked release_x64 language_2/switch_label_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 77ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_switch_label_test/switch_label_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/switch_label_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 510ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_switch_label_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.466 } - { type: message_received value: dart-main-done timestamp: 0.466 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test switch_label_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="switch_label_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_switch_label_test/switch_label_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running switch_label_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_switch_label_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["switch_label_test", "dart_sdk", "async_helper"], function(switch_label_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = switch_label_test.switch_label_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/switch_label_test FAILED: dartdevk-chrome-checked release_x64 language_2/named_parameters_default_eq_test/none Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 104ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_named_parameters_default_eq_test_none/named_parameters_default_eq_test_none.js /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2/named_parameters_default_eq_test_none.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 562ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_named_parameters_default_eq_test_none/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.504 } - { type: message_received value: dart-main-done timestamp: 0.504 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test named_parameters_default_eq_test_none</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="named_parameters_default_eq_test_none" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_named_parameters_default_eq_test_none/named_parameters_default_eq_test_none.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running named_parameters_default_eq_test_none</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_named_parameters_default_eq_test_none", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["named_parameters_default_eq_test_none", "dart_sdk", "async_helper"], function(named_parameters_default_eq_test_none, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = named_parameters_default_eq_test_none.named_parameters_default_eq_test_none.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/named_parameters_default_eq_test/none FAILED: dartdevk-chrome-checked release_x64 language_2/f_bounded_quantification3_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 118ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_f_bounded_quantification3_test/f_bounded_quantification3_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/f_bounded_quantification3_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 536ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_f_bounded_quantification3_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.461 } - { type: message_received value: dart-main-done timestamp: 0.461 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test f_bounded_quantification3_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="f_bounded_quantification3_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_f_bounded_quantification3_test/f_bounded_quantification3_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running f_bounded_quantification3_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_f_bounded_quantification3_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["f_bounded_quantification3_test", "dart_sdk", "async_helper"], function(f_bounded_quantification3_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = f_bounded_quantification3_test.f_bounded_quantification3_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/f_bounded_quantification3_test FAILED: dartdevk-chrome-checked release_x64 language_2/const_list_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 99ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_const_list_test/const_list_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/const_list_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 403ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_const_list_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.334 } - { type: message_received value: dart-main-done timestamp: 0.334 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test const_list_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="const_list_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_const_list_test/const_list_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running const_list_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_const_list_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["const_list_test", "dart_sdk", "async_helper"], function(const_list_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = const_list_test.const_list_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/const_list_test FAILED: dartdevk-chrome-checked release_x64 language_2/function_propagation_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 107ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_propagation_test/function_propagation_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/function_propagation_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 352ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_function_propagation_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.292 } - { type: message_received value: dart-main-done timestamp: 0.292 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test function_propagation_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="function_propagation_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_propagation_test/function_propagation_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running function_propagation_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_function_propagation_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["function_propagation_test", "dart_sdk", "async_helper"], function(function_propagation_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = function_propagation_test.function_propagation_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/function_propagation_test FAILED: dartdevk-chrome-checked release_x64 language_2/switch_try_catch_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 118ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_switch_try_catch_test/switch_try_catch_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/switch_try_catch_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 458ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_switch_try_catch_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "_0" - print "_5" - print "_6" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.417 } - { type: message_received value: dart-main-done timestamp: 0.417 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test switch_try_catch_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="switch_try_catch_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_switch_try_catch_test/switch_try_catch_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running switch_try_catch_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_switch_try_catch_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["switch_try_catch_test", "dart_sdk", "async_helper"], function(switch_try_catch_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = switch_try_catch_test.switch_try_catch_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/switch_try_catch_test FAILED: dartdevk-chrome-checked release_x64 language_2/super_test Expected: RuntimeError Actual: Pass --- Command "dartdevk" (took 181ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dartdevc --kernel --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_super_test/super_test.js /b/s/w/ir/cache/builder/sdk/tests/language_2/super_test.dart -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/async_helper.dill=async_helper -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/collection.dill=collection -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/expect.dill=expect -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/js.dill=js -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/matcher.dill=matcher -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/meta.dill=meta -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/path.dill=path -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/stack_trace.dill=stack_trace -s /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/gen/utils/dartdevc/pkg_kernel/unittest.dill=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 480ms): /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_super_test/test.html?crossOriginPort=41103 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.435 } - { type: message_received value: dart-main-done timestamp: 0.435 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title>Test super_test</title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="super_test" src="/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_super_test/super_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js"></script></head> <body> <h1>Running super_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_super_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg_kernel/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg_kernel/collection", "expect": "/root_build/gen/utils/dartdevc/pkg_kernel/expect", "js": "/root_build/gen/utils/dartdevc/pkg_kernel/js", "matcher": "/root_build/gen/utils/dartdevc/pkg_kernel/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg_kernel/meta", "path": "/root_build/gen/utils/dartdevc/pkg_kernel/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg_kernel/unittest", }, waitSeconds: 30, }; // Don't try to bring up the debugger on a runtime error. window.ddcSettings = { trapRuntimeErrors: false }; </script> <script type="text/javascript" src="/root_dart/third_party/requirejs/require.js"></script> <script type="text/javascript"> requirejs(["super_test", "dart_sdk", "async_helper"], function(super_test, sdk, async_helper) { sdk.dart.ignoreWhitelistedErrors(false); sdk._isolate_helper.startRootIsolate(function() {}, []); sdk._debugger.registerDevtoolsFormatter(); testErrorToStackTrace = function(error) { var stackTrace = sdk.dart.stackTrace(error).toString(); var lines = stackTrace.split("\n"); // Remove the first line, which is just "Error". lines = lines.slice(1); // Strip off all of the lines for the bowels of the test runner. for (var i = 0; i < lines.length; i++) { if (lines[i].indexOf("dartMainRunner") != -1) { lines = lines.slice(0, i); break; } } // TODO(rnystrom): It would be nice to shorten the URLs of the remaining // lines too. return lines.join("\n"); }; let pendingCallbacks = 0; let waitForDone = false, isDone = false; sdk.dart.addAsyncCallback = function() { pendingCallbacks++; if (!waitForDone) { // When the first callback is added, signal that test_controller.js // should wait until done. waitForDone = true; dartPrint('unittest-suite-wait-for-done'); } }; sdk.dart.removeAsyncCallback = function() { if (--pendingCallbacks <= 0) { // We might be done with async callbacks. Schedule a task to check. // Note: can't use a Promise here, because the unhandled rejection event // is fired as a task, rather than a microtask. `setTimeout` will create a // task, giving an unhandled promise reject time to fire before this does. setTimeout(() => { if (pendingCallbacks <= 0 && !isDone) { isDone = true; dartPrint('unittest-suite-done'); } }, 0); } }; dartMainRunner(function testMainWrapper() { // Some callbacks are not scheduled with timers/microtasks, so they don't // go through our async tracking (e.g. DOM events). For those tests, check // if the result of calling `main()` is a Future, and if so, wait for it. let result = super_test.super_test.main(); if (sdk.async.Future.is(result)) { sdk.dart.addAsyncCallback(); result.whenComplete(sdk.dart.removeAsyncCallback); } return result; }); }); </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/cache/builder/sdk/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/cache/builder/sdk/tools/testing/dart/http_server.dart -p 36427 -c 41103 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevk-checked-linux-release-chrome language_2/super_test 2019-05-23 11:16:30.444930 Error: Error from browser on : /BROWSER1, 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},{\"type\":\"print\",\"value\":\"dart-calling-main\",\"timestamp\":0.496},{\"type\":\"print\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.496},{\"type\":\"print\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.501},{\"type\":\"print\",\"value\":\"dart-main-done\",\"timestamp\":0.502},{\"type\":\"message_received\",\"value\":\"dart-calling-main\",\"timestamp\":0.503},{\"type\":\"message_received\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.504},{\"type\":\"message_received\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.504},{\"type\":\"message_received\",\"value\":\"dart-main-done\",\"timestamp\":0.504},{\"type\":\"print\",\"value\":\"unittest-suite-success\",\"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.506},{\"type\":\"print\",\"value\":\"unittest-suite-done\",\"timestamp\":0.508},{\"type\":\"message_received\",\"value\":\"unittest-suite-done\",\"timestamp\":0.512},{\"type\":\"debug\",\"value\":\"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)\",\"timestamp\":0.512},{\"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 intercept_schedule_microtask5_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=\\\"intercept_schedule_microtask5_test\\\" src=\\\"/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_lib_2_async_intercept_schedule_microtask5_test/intercept_schedule_microtask5_test.js\\\"></script><script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"dart_sdk\\\" src=\\\"/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js\\\"></script></head>\\n<body>\\n<h1>Running intercept_schedule_microtask5_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/dartdevk-checked-sdk/tests_lib_2_async_intercept_schedule_microtask5_test\\\",\\n paths: {\\n \\\"dart_sdk\\\": \\\"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\\\",\\n \\\"async_helper\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\\\",\\n \\\"collection\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/collection\\\",\\n \\\"expect\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/expect\\\",\\n \\\"js\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/js\\\",\\n \\\"matcher\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\\\",\\n \\\"meta\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/meta\\\",\\n \\\"path\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/path\\\",\\n \\\"stack_trace\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\\\",\\n \\\"unittest\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/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([\\\"intercept_schedule_microtask5_test\\\", \\\"dart_sdk\\\", \\\"async_helper\\\"],\\n function(intercept_schedule_microtask5_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 = intercept_schedule_microtask5_test.intercept_schedule_microtask5_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.513}]","is_first_message":false,"is_status_update":false,"is_done":true} 2019-05-23 11:16:43.288054 Error: Error from browser on : /BROWSER5, 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.416},{\"type\":\"print\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.423},{\"type\":\"print\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.424},{\"type\":\"print\",\"value\":\"dart-main-done\",\"timestamp\":0.456},{\"type\":\"message_received\",\"value\":\"dart-calling-main\",\"timestamp\":0.457},{\"type\":\"message_received\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.458},{\"type\":\"message_received\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.458},{\"type\":\"message_received\",\"value\":\"dart-main-done\",\"timestamp\":0.459},{\"type\":\"print\",\"value\":\"unittest-suite-success\",\"timestamp\":0.459},{\"type\":\"message_received\",\"value\":\"unittest-suite-success\",\"timestamp\":0.46},{\"type\":\"debug\",\"value\":\"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)\",\"timestamp\":0.46},{\"type\":\"print\",\"value\":\"unittest-suite-done\",\"timestamp\":0.462},{\"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 zone_empty_description_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_empty_description_test\\\" src=\\\"/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_lib_2_async_zone_empty_description_test/zone_empty_description_test.js\\\"></script><script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"dart_sdk\\\" src=\\\"/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js\\\"></script></head>\\n<body>\\n<h1>Running zone_empty_description_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/dartdevk-checked-sdk/tests_lib_2_async_zone_empty_description_test\\\",\\n paths: {\\n \\\"dart_sdk\\\": \\\"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\\\",\\n \\\"async_helper\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\\\",\\n \\\"collection\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/collection\\\",\\n \\\"expect\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/expect\\\",\\n \\\"js\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/js\\\",\\n \\\"matcher\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\\\",\\n \\\"meta\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/meta\\\",\\n \\\"path\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/path\\\",\\n \\\"stack_trace\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\\\",\\n \\\"unittest\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/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_empty_description_test\\\", \\\"dart_sdk\\\", \\\"async_helper\\\"],\\n function(zone_empty_description_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_empty_description_test.zone_empty_description_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.466}]","is_first_message":false,"is_status_update":false,"is_done":true} 2019-05-23 11:16:43.725024 Error: Error from browser on : /BROWSER5, 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},{\"type\":\"print\",\"value\":\"dart-calling-main\",\"timestamp\":0.327},{\"type\":\"print\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.329},{\"type\":\"print\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.341},{\"type\":\"print\",\"value\":\"dart-main-done\",\"timestamp\":0.341},{\"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\":\"print\",\"value\":\"unittest-suite-success\",\"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.389},{\"type\":\"message_received\",\"value\":\"unittest-suite-done\",\"timestamp\":0.391},{\"type\":\"debug\",\"value\":\"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)\",\"timestamp\":0.391},{\"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 futures_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=\\\"futures_test\\\" src=\\\"/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_lib_2_async_futures_test/futures_test.js\\\"></script><script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"dart_sdk\\\" src=\\\"/root_build/gen/utils/dartdevc/kernel/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_kernel/async_helper.js\\\"></script></head>\\n<body>\\n<h1>Running futures_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/dartdevk-checked-sdk/tests_lib_2_async_futures_test\\\",\\n paths: {\\n \\\"dart_sdk\\\": \\\"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\\\",\\n \\\"async_helper\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\\\",\\n \\\"collection\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/collection\\\",\\n \\\"expect\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/expect\\\",\\n \\\"js\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/js\\\",\\n \\\"matcher\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\\\",\\n \\\"meta\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/meta\\\",\\n \\\"path\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/path\\\",\\n \\\"stack_trace\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\\\",\\n \\\"unittest\\\": \\\"/root_build/gen/utils/dartdevc/pkg_kernel/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([\\\"futures_test\\\", \\\"dart_sdk\\\", \\\"async_helper\\\"],\\n function(futures_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 = futures_test.futures_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.391}]","is_first_message":false,"is_status_update":false,"is_done":true} 2019-05-23 11:16:48.764488 Warning: HttpServer: could not find file for request path: "/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_node_validator_important_if_you_suppress_make_the_bug_critical_test/dice.png" 2019-05-23 11:16:56.888042 Warning: HttpServer: could not find file for request path: "/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_xhr_cross_origin_test/does_not_exist" 2019-05-23 11:17:06.881270 Warning: HttpServer: could not find file for request path: "/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_worker_test/worker.js" Double reporting tests http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_stacktrace_fromstring_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_redirecting_factory_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_init/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_none/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_update/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_body/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_condition/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_postfix_expr_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_await_foreign_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_async_star_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_async_star_cancel_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_async_star_await_for_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_started_immediately_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_yieldstar_pause_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_none/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_03/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_02/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_01/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_04/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_03/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_05/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_none/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_future_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_no_such_method_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_null_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_for_await_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_inference_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_if_await_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_mixin_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_no_cancel_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_return_types_test_none/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_global_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_issue28498_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_nonfuture_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_switch_test_none/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_switch_test_withDefault/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_for_cancel_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_type_annotation_non_deferred/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_none/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new_generic1/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_shared_and_unshared_classes_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_static_method/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_regress_22443_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_asyncstar_yieldstar_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_conditional_import_string_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_regression_2238_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_asyncstar_yield_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_no_cancel2_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_spread_collections_await_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_take_reyield_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_error_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_stream_take_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_regression_23116_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_pause_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_regress_22777_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_asyncstar_concat_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_flatten_test_04/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_flatten_test_01/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_cancel_while_paused_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_throw_in_catch_test_none/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_throw_in_catch_test_forceAwait/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_issue23244_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_this_bound_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_conditional_import_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_regression_23058_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_shadow_load_library_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_closurize_load_library_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_for_use_local_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_regress_24935_test_01/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_assert_message_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_await_catch_regression_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_regression_fisk_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_for_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_await_pauses_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_regress_26175_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_constant_list_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_error_timing_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_await_test_03/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_await_test_02/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_await_test_none/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_exceptions_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_call_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_break_in_finally_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_cancel_and_throw_in_finally_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_regress_23996_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_and_or_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_encode1_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_encoding_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_utf8_encode_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_decode1_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_utf8_decode_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace02_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_schedule_microtask2_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_create_timer_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_async_await_sync_completer_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace14_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors15_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace05_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors7_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_utf8_encode_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace06_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_lib_2_async_stream_last_where_test_none/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors12_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_microtask_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_utf8_decode_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_from_iterable_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_single_to_multi_subscriber_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_run_zoned8_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors28_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_value_chain4_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace17_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace03_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_empty_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_value_chain_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace21_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_delayed_error_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_bind_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_intercept_schedule_microtask6_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_subscription_cancel_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_schedule_microtask3_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors26_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace23_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors3_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_periodic3_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_event_transformed_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors11_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_intercept_schedule_microtask4_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace18_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_periodic2_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors18_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_slow_consumer3_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_transformer_from_bind_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_value_chain3_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_schedule_microtask_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors20_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_run_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors27_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_create_timer2_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_transformer_from_handlers_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_intercept_schedule_microtask3_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace22_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_single_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_join_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_from_futures_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_timer_cancel1_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_state_nonzero_timer_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace15_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_timer_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_run_unary_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_value_chain2_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_periodic_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors5_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_controller_async_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_async_await_zones_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_run_zoned7_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_controller_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_run_guarded_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_subscription_as_future_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_iterator_double_cancel_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_empty_description2_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_distinct_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors14_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace01_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors16_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace07_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace19_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_debug_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_timer_not_available_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_future_schedule_microtask_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_periodic6_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_periodic5_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors13_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace24_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors6_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace12_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace11_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace09_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_listen_zone_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_view_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace25_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors21_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors22_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_transformation_broadcast_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_error_callback_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_wait_for_cancel_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_state_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace13_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors2_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace08_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_zone_create_periodic_timer_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace16_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors4_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_periodic_timer2_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors17_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_lib_2_async_stream_first_where_test_none/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors23_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_periodic_timer3_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors24_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_null_future_zone_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace20_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_async_no_await_zones_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_transform_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_constructor2_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors8_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_iterator_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_timer_isActive_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_schedule_microtask5_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_periodic4_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors19_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stream_zones_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_slow_consumer_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_future_foreach_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace10_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_catch_errors25_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_periodic_timer4_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_multiple_timer_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_async_stack_trace04_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_form_data_test/test.html?crossOriginPort=41103&group=functional http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_form_data_test/test.html?crossOriginPort=41103&group=supported http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_worker_api_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_cssstyledeclaration_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_directory_reader_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_gamepad_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_history_test/test.html?crossOriginPort=41103&group=supported_HashChangeEvent http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_history_test/test.html?crossOriginPort=41103&group=supported_state http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_history_test/test.html?crossOriginPort=41103&group=history http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_file_sample_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_js_dart_to_string_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_5_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_xhr_cross_origin_test/test.html?crossOriginPort=41103&group=functional http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_xhr_cross_origin_test/test.html?crossOriginPort=41103&group=supported http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_file_entry_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_events_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_filereader_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_css_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_supported_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_3_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_directory_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_storage_promise_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_file_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_4_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=41103&group=fillText http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=41103&group=drawImage_canvas_element http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=41103&group=drawImage_video_element_dataUrl http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=41103&group=drawImage_video_element http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=41103&group=arc http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=41103&group=drawImage_image_element http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=41103&group=pixel_manipulation http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_websocket_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_async_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_animate_test/test.html?crossOriginPort=41103&group=omit_timing http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_animate_test/test.html?crossOriginPort=41103&group=simple_timing http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_animate_test/test.html?crossOriginPort=41103&group=animate_supported http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_animate_test/test.html?crossOriginPort=41103&group=timing_dict http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_js_array_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_2_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=41103&group=dynamic http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=41103&group=typed http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=41103&group=supported http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_touchevent_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_interactive_test/test.html?crossOriginPort=41103&group=KeyEvent http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=41103&group=functional http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=41103&group=eventDelegation http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=41103&group=_ElementList http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=41103&group=functional http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=41103&group=matches http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=41103&group=ElementList http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=41103&group=querySelectorAll http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=41103&group=children http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=41103&group=attributes http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=41103&group=click http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=41103&group=eventListening http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=41103&group=position http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=41103&group=constructors http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_worker_test/test.html?crossOriginPort=41103&group=supported http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_worker_test/test.html?crossOriginPort=41103&group=functional http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_async_spawnuri_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_interactive_media_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_entry_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_xhr_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_event_customevent_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_canvas_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fontface_loaded_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_isolates_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_js_interop_1_test/test.html?crossOriginPort=41103 http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_lib_2_html_fileapi_supported_throws_test/test.html?crossOriginPort=41103 2019-05-23 11:17:22.000219 Warning: Double reporting tests: 2019-05-23 11:17:22.000313 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_corelib_2_stacktrace_fromstring_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.000327 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.509},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.526},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.528},{"type":"print","value":"dart-main-done","timestamp":0.529},{"type":"print","value":"unittest-suite-success","timestamp":0.537},{"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.54},{"type":"print","value":"unittest-suite-done","timestamp":0.54},{"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 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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_corelib_2_stacktrace_fromstring_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.543}] 2019-05-23 11:17:22.000350 Warning: 2019-05-23 11:17:22.000360 Warning: 2019-05-23 11:17:22.000370 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_redirecting_factory_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.000380 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.486},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.489},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.49},{"type":"print","value":"dart-main-done","timestamp":0.507},{"type":"message_received","value":"dart-calling-main","timestamp":0.511},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.512},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.512},{"type":"message_received","value":"dart-main-done","timestamp":0.513},{"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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:3871:11)\n at Function._fail (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js:547:17)\n at Function.throws (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js:467:21)\n at test1 (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_deferred_redirecting_factory_test/deferred_redirecting_factory_test.js:29:21)\n at test1.next (<anonymous>)\n at runBody (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28330:34)\n at Object.async.async (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28358:7)\n at Object.deferred_redirecting_factory_test.test1 (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_deferred_redirecting_factory_test/deferred_redirecting_factory_test.js:28:18)\n at test (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_deferred_redirecting_factory_test/deferred_redirecting_factory_test.js:56:47)\n at test.next (<anonymous>)\n at runBody (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28330:34)\n at Object.async.async (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28358:7)\n at Object.deferred_redirecting_factory_test.test (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_deferred_redirecting_factory_test/deferred_redirecting_factory_test.js:55:18)\n at Object.deferred_redirecting_factory_test.main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_deferred_redirecting_factory_test/deferred_redirecting_factory_test.js:63:50)\n at testMainWrapper (http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_redirecting_factory_test/test.html?crossOriginPort=41103:104:86)\n at dartMainRunner (http://127.0.0.1:36427/root_dart/tools/testing/dart/test_controller.js:303:5)\n at http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_redirecting_factory_test/test.html?crossOriginPort=41103:100:3\n at Object.execCb (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:1696:33)\n at Module.check (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:883:51)\n at Module.<anonymous> (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:1139:34)\n at http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:134:23\n at http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:1189:21\n at each (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:59:31)\n at Module.emit (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:1188:17)\n at Module.check (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:938:30)\n at Module.<anonymous> (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:1139:34)\n at http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:134:23\n at http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:1189:21\n at each (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:59:31)\n at Module.emit (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:1188:17)\n at Module.check (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:938:30)\n at Module.enable (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:1176:22)\n at Module.init (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:788:26)\n at callGetModule (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:1203:63)\n at Object.completeLoad (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:1590:21)\n at HTMLScriptElement.onScriptLoad (http://127.0.0.1:36427/root_dart/third_party/requirejs/require.js:1717:29)\n\n","timestamp":0.514},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.514},{"type":"print","value":"unittest-suite-done","timestamp":0.515},{"type":"message_received","value":"unittest-suite-done","timestamp":0.517},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.518},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_deferred_redirecting_factory_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.519}] 2019-05-23 11:17:22.000404 Warning: 2019-05-23 11:17:22.000414 Warning: 2019-05-23 11:17:22.000431 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_init/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.000441 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.372},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.373},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.376},{"type":"print","value":"dart-main-done","timestamp":0.399},{"type":"print","value":"unittest-suite-success","timestamp":0.402},{"type":"message_received","value":"dart-calling-main","timestamp":0.403},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.403},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.403},{"type":"message_received","value":"dart-main-done","timestamp":0.403},{"type":"message_received","value":"unittest-suite-success","timestamp":0.403},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.403},{"type":"print","value":"unittest-suite-done","timestamp":0.404},{"type":"message_received","value":"unittest-suite-done","timestamp":0.404},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.404},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_continue_label_test_await_in_init\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.404}] 2019-05-23 11:17:22.000459 Warning: 2019-05-23 11:17:22.000467 Warning: 2019-05-23 11:17:22.000476 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_none/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.000483 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.401},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.402},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.402},{"type":"print","value":"dart-main-done","timestamp":0.42},{"type":"print","value":"unittest-suite-success","timestamp":0.423},{"type":"message_received","value":"dart-calling-main","timestamp":0.424},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.424},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.424},{"type":"message_received","value":"dart-main-done","timestamp":0.424},{"type":"message_received","value":"unittest-suite-success","timestamp":0.425},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.425},{"type":"print","value":"unittest-suite-done","timestamp":0.426},{"type":"message_received","value":"unittest-suite-done","timestamp":0.427},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.427},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_continue_label_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.428}] 2019-05-23 11:17:22.000499 Warning: 2019-05-23 11:17:22.000508 Warning: 2019-05-23 11:17:22.000518 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_update/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.000527 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.43},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.43},{"type":"print","value":"dart-main-done","timestamp":0.435},{"type":"print","value":"unittest-suite-success","timestamp":0.439},{"type":"message_received","value":"dart-calling-main","timestamp":0.439},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.439},{"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.44},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.44},{"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 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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_continue_label_test_await_in_update\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.441}] 2019-05-23 11:17:22.001154 Warning: 2019-05-23 11:17:22.001196 Warning: 2019-05-23 11:17:22.001209 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_body/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.001218 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.386},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.386},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.389},{"type":"print","value":"dart-main-done","timestamp":0.394},{"type":"print","value":"unittest-suite-success","timestamp":0.399},{"type":"message_received","value":"dart-calling-main","timestamp":0.399},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.4},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.4},{"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.4},{"type":"print","value":"unittest-suite-done","timestamp":0.401},{"type":"message_received","value":"unittest-suite-done","timestamp":0.402},{"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 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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_continue_label_test_await_in_body\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.404}] 2019-05-23 11:17:22.001231 Warning: 2019-05-23 11:17:22.001238 Warning: 2019-05-23 11:17:22.001245 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_condition/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.001252 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.439},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.44},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.441},{"type":"print","value":"dart-main-done","timestamp":0.457},{"type":"print","value":"unittest-suite-success","timestamp":0.462},{"type":"message_received","value":"dart-calling-main","timestamp":0.462},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.462},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.462},{"type":"message_received","value":"dart-main-done","timestamp":0.462},{"type":"message_received","value":"unittest-suite-success","timestamp":0.463},{"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.463},{"type":"message_received","value":"unittest-suite-done","timestamp":0.465},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.465},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_continue_label_test_await_in_condition\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.465}] 2019-05-23 11:17:22.002278 Warning: 2019-05-23 11:17:22.002313 Warning: 2019-05-23 11:17:22.002328 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_postfix_expr_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.002339 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.399},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.402},{"type":"print","value":"dart-main-done","timestamp":0.404},{"type":"print","value":"unittest-suite-success","timestamp":0.409},{"type":"message_received","value":"dart-calling-main","timestamp":0.409},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.409},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.409},{"type":"message_received","value":"dart-main-done","timestamp":0.409},{"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.41},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.41},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_await_postfix_expr_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.41}] 2019-05-23 11:17:22.002357 Warning: 2019-05-23 11:17:22.002366 Warning: 2019-05-23 11:17:22.002375 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_await_foreign_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.002385 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.352},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.352},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.365},{"type":"print","value":"dart-main-done","timestamp":0.367},{"type":"print","value":"unittest-suite-success","timestamp":0.369},{"type":"message_received","value":"dart-calling-main","timestamp":0.369},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.37},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.37},{"type":"message_received","value":"dart-main-done","timestamp":0.37},{"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.371},{"type":"message_received","value":"unittest-suite-done","timestamp":0.371},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.371},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_async_await_foreign_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.372}] 2019-05-23 11:17:22.002820 Warning: 2019-05-23 11:17:22.002840 Warning: 2019-05-23 11:17:22.002852 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_async_star_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.002863 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.469},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.476},{"type":"print","value":"dart-main-done","timestamp":0.476},{"type":"message_received","value":"dart-calling-main","timestamp":0.501},{"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":"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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:3871:11)\n at Function._fail (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js:547:17)\n at Function.listEquals (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js:327:25)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_test/async_star_test.js:224:23)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24448:27)\n at Object.async._microtaskLoop (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28410:13)\n at async._startMicrotaskLoop (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28416:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24894:9)\n\n","timestamp":0.532},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.532},{"type":"print","value":"unittest-suite-done","timestamp":0.536},{"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_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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_async_star_async_star_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.536}] 2019-05-23 11:17:22.002910 Warning: 2019-05-23 11:17:22.002919 Warning: 2019-05-23 11:17:22.002929 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_async_star_cancel_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.002939 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.335},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.335},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.34},{"type":"print","value":"dart-main-done","timestamp":0.342},{"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.37},{"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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:3871:11)\n at Function._fail (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js:547:17)\n at Function.listEquals (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js:327:25)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_cancel_test/async_star_cancel_test.js:49:21)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_completeWithValue] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24555:23)\n at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24573:35)\n at Object.async._microtaskLoop (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28410:13)\n at async._startMicrotaskLoop (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28416:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24894:9)\n\n","timestamp":0.37},{"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.371},{"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_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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_async_star_async_star_cancel_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.372}] 2019-05-23 11:17:22.002990 Warning: 2019-05-23 11:17:22.003 Warning: 2019-05-23 11:17:22.003009 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_async_star_await_for_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.003019 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.539},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.544},{"type":"print","value":"dart-main-done","timestamp":0.549},{"type":"message_received","value":"dart-calling-main","timestamp":0.565},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.565},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.565},{"type":"message_received","value":"dart-main-done","timestamp":0.565},{"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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:110291:30)\n at Function.equals (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:42:39)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:163:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438: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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:110291:30)\n at Function.equals (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:42:39)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:184:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438: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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:110291:30)\n at Function.equals (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:42:39)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:208:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438: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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:110291:30)\n at Function.equals (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:42:39)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:229:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438: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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:110291:30)\n at Function.equals (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:42:39)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:255:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438: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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:110291:30)\n at Function.equals (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:42:39)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:280:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438: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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:110291:30)\n at Function.equals (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:42:39)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:301:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438: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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:110291:30)\n at Function.equals (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:42:39)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:327:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438: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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:110291:30)\n at Function.equals (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:42:39)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:348:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438: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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:110291:30)\n at Function.equals (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:42:39)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:368:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438: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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:110291:30)\n at Function.equals (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:42:39)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:393:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438: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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:110291:30)\n at Function.equals (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:42:39)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:414:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438:9)\nExpectations failed: 12, succeeded: 1\n\n at Object.dart.throw (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:3871:11)\n at Function.summarize (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:32:19)\n at main (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:416:41)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28311:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28200:58)\n at _FutureListener.then.handleValue (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24196:29)\n at handleValueCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24662:49)\n at Function._propagateToListeners (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24694:17)\n at _Future.new.[_complete] (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24546:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23846:30)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438:9)\n\n","timestamp":0.822},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.822},{"type":"print","value":"unittest-suite-done","timestamp":0.84},{"type":"message_received","value":"unittest-suite-done","timestamp":0.84},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.84},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_async_star_async_star_await_for_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.84}] 2019-05-23 11:17:22.003161 Warning: 2019-05-23 11:17:22.003177 Warning: 2019-05-23 11:17:22.003188 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_started_immediately_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.003198 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.484},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.484},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.485},{"type":"print","value":"dart-main-done","timestamp":0.491},{"type":"print","value":"unittest-suite-success","timestamp":0.529},{"type":"message_received","value":"dart-calling-main","timestamp":0.53},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.53},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.53},{"type":"message_received","value":"dart-main-done","timestamp":0.53},{"type":"message_received","value":"unittest-suite-success","timestamp":0.53},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.53},{"type":"print","value":"unittest-suite-done","timestamp":0.532},{"type":"message_received","value":"unittest-suite-done","timestamp":0.532},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.532},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_await_started_immediately_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.532}] 2019-05-23 11:17:22.003828 Warning: 2019-05-23 11:17:22.003848 Warning: 2019-05-23 11:17:22.003861 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_yieldstar_pause_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.003871 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.647},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.648},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.649},{"type":"print","value":"dart-main-done","timestamp":0.656},{"type":"message_received","value":"dart-calling-main","timestamp":0.658},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.658},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.658},{"type":"message_received","value":"dart-main-done","timestamp":0.658},{"type":"print","value":"event","timestamp":0.66},{"type":"print","value":"DONE","timestamp":0.664},{"type":"print","value":"unittest-suite-success","timestamp":0.665},{"type":"message_received","value":"unittest-suite-success","timestamp":0.665},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.665},{"type":"print","value":"unittest-suite-done","timestamp":0.666},{"type":"message_received","value":"unittest-suite-done","timestamp":0.668},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.668},{"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/dartdevk-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/kernel/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_kernel/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/dartdevk-checked-sdk/tests_language_2_yieldstar_pause_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.669}] 2019-05-23 11:17:22.003898 Warning: 2019-05-23 11:17:22.003907 Warning: 2019-05-23 11:17:22.003916 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_none/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.003926 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.366},{"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.377},{"type":"message_received","value":"dart-calling-main","timestamp":0.379},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.38},{"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.381},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.381},{"type":"print","value":"unittest-suite-done","timestamp":0.381},{"type":"message_received","value":"unittest-suite-done","timestamp":0.383},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.384},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.386}] 2019-05-23 11:17:22.003944 Warning: 2019-05-23 11:17:22.003953 Warning: 2019-05-23 11:17:22.003962 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_03/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.003972 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.354},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.356},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.361},{"type":"print","value":"dart-main-done","timestamp":0.363},{"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.373},{"type":"message_received","value":"dart-main-done","timestamp":0.373},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: throw\n at Object.dart.throw (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:3871:11)\n at _AsyncStarImpl.new.f [as initGenerator] (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_03/async_star_invalid_test_03.js:19:36)\n at f.next (<anonymous>)\n at _AsyncStarImpl.new.runBody (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:22440:40)\n at Object.async._microtaskLoop (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28410:13)\n at async._startMicrotaskLoop (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28416:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24894:9)\n\n","timestamp":0.374},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.374},{"type":"print","value":"unittest-suite-done","timestamp":0.375},{"type":"message_received","value":"unittest-suite-done","timestamp":0.375},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.376},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_03\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.376}] 2019-05-23 11:17:22.005020 Warning: 2019-05-23 11:17:22.005043 Warning: 2019-05-23 11:17:22.005057 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_02/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.005068 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.302},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.33},{"type":"print","value":"dart-main-done","timestamp":0.406},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":0.421},{"type":"print","value":"SUCCESS: basic empty","timestamp":0.423},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":0.432},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":0.433},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":0.434},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":0.434},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":0.435},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":0.438},{"type":"print","value":"SUCCESS: basic single","timestamp":0.446},{"type":"print","value":"SUCCESS: basic call delays","timestamp":0.446},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":0.449},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":0.449},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":0.449},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":0.45},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":0.45},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":0.451},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":0.452},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":0.452},{"type":"print","value":"SUCCESS: yield expressions unary operator","timestamp":0.452},{"type":"print","value":"SUCCESS: yield expressions binary operator","timestamp":0.453},{"type":"print","value":"SUCCESS: yield expressions ternary operator","timestamp":0.453},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":0.454},{"type":"print","value":"SUCCESS: yield expressions suffix pre-increment","timestamp":0.454},{"type":"print","value":"SUCCESS: yield expressions assignment","timestamp":0.455},{"type":"print","value":"SUCCESS: yield expressions assignment op","timestamp":0.455},{"type":"print","value":"SUCCESS: yield expressions index operator","timestamp":0.455},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":0.455},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":0.456},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":0.466},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":0.467},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":0.468},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":0.469},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":0.47},{"type":"print","value":"SUCCESS: basic throws","timestamp":0.475},{"type":"print","value":"SUCCESS: basic allows await","timestamp":0.475},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":0.476},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":0.476},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":0.477},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":0.478},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":0.479},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":0.48},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":0.481},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":0.482},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":0.482},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":0.483},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":0.485},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":0.488},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":0.49},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":0.494},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":0.496},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":0.498},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":0.499},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":0.5},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":0.501},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":0.502},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":0.502},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":0.507},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":0.508},{"type":"print","value":"SUCCESS: basic multiple","timestamp":0.532},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":0.552},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":0.555},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":0.558},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":0.56},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":0.561},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":0.562},{"type":"print","value":"SUCCESS: await for nested","timestamp":0.57},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":0.574},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":0.575},{"type":"message_received","value":"dart-calling-main","timestamp":0.577},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.577},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.577},{"type":"message_received","value":"dart-main-done","timestamp":0.577},{"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:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:3871:11)\n at Function._fail (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js:547:17)\n at Function.deepEquals (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js:429:25)\n at dart.fn.v (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_async_star_test_02/async_star_test_02.js:1571:21)\n at Object.async_minitest.expect (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_async_star_test_02/async_star_test_02.js:1463:5)\n at async.Future.delayed.dart.fn (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_async_star_test_02/async_star_test_02.js:1098:28)\n at async.Timer.new.dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:23849:33)\n at async._rootRun (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28555:56)\n at async._CustomZone.new.run (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:27888:14)\n at async._CustomZone.new.runGuarded (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:27805:14)\n at dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:27844:33)\n at async._rootRun (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28558:14)\n at async._CustomZone.new.run (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:27888:14)\n at dart.fn (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:27832:33)\n at internalCallback (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:15438:9)","timestamp":0.689},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":0.743},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":1.649},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: Expect.fail('1 tests failed')\n at Object.dart.throw (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:3871:11)\n at Function._fail (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js:547:17)\n at Function.fail (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/pkg_kernel/async_helper.js:303:21)\n at async._AsyncCallbackEntry.new.async.Zone.root.scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:36427/root_dart/out/ReleaseX64/generated_compilations/dartdevk-checked-sdk/multitest_language_2_async_star_test_02/async_star_test_02.js:1394:25)\n at Object.async._microtaskLoop (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28410:13)\n at async._startMicrotaskLoop (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:28416:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:36427/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk.js:24894:9)\n\n","timestamp":1.649},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.649},{"type":"print","value":"unittest-suite-done","timestamp":1.651},{"type":"message_received","value":"unittest-suite-done","timestamp":1.651},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.651},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_star_test_02\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.652}] 2019-05-23 11:17:22.005210 Warning: 2019-05-23 11:17:22.005222 Warning: 2019-05-23 11:17:22.005233 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_01/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.005242 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.007},{"type":"print","value":"dart-calling-main","timestamp":0.395},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.398},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.413},{"type":"print","value":"dart-main-done","timestamp":0.504},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":0.523},{"type":"print","value":"SUCCESS: basic empty","timestamp":0.525},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":0.537},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":0.537},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":0.538},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":0.538},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":0.538},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":0.543},{"type":"print","value":"SUCCESS: basic single","timestamp":0.551},{"type":"print","value":"SUCCESS: basic call delays","timestamp":0.551},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":0.554},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":0.554},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":0.554},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":0.555},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":0.555},{"type":"print","value":"SUCCESS: yield statement context labeled 2","timestamp":0.556},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":0.557},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":0.557},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":0.557},{"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.559},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":0.559},{"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.56},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":0.561},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":0.561},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":0.573},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":0.573},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":0.585},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":0.586},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":0.586},{"type":"print","value":"SUCCESS: basic throws","timestamp":0.59},{"type":"print","value":"SUCCESS: basic allows await","timestamp":0.59},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":0.591},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":0.592},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":0.592},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":0.592},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":0.592},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":0.594},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":0.6},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":0.606},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":0.608},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":0.608},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":0.609},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":0.615},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":0.617},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":0.622},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":0.623},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":0.625},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":0.626},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":0.627},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":0.627},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":0.628},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":0.628},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":0.632},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":0.632},{"type":"print","value":"SUCCESS: basic multiple","timestamp":0.636},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":0.641},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":0.644},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":0.648},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":0.65},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":0.652},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":0.652},{"type":"print","value":"SUCCESS: await for nested","timestamp":0.66},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":0.675},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":0.676},{"type":"message_received","value":"dart-calling-main","timestamp":0.676},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.676},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.676},{"type":"message_received","value":"dart-main-done","timestamp":0.676},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":0.849},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":1.754},{"type":"print","value":"unittest-suite-success","timestamp":1.754},{"type":"message_received","value":"unittest-suite-success","timestamp":1.755},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.755},{"type":"print","value":"unittest-suite-done","timestamp":1.757},{"type":"message_received","value":"unittest-suite-done","timestamp":1.757},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.758},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_star_test_01\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.758}] 2019-05-23 11:17:22.005349 Warning: 2019-05-23 11:17:22.005359 Warning: 2019-05-23 11:17:22.005369 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_04/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.005379 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.507},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.51},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.526},{"type":"print","value":"dart-main-done","timestamp":0.606},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":0.62},{"type":"print","value":"SUCCESS: basic empty","timestamp":0.623},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":0.629},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":0.63},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":0.63},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":0.631},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":0.631},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":0.634},{"type":"print","value":"SUCCESS: basic single","timestamp":0.64},{"type":"print","value":"SUCCESS: basic call delays","timestamp":0.641},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":0.643},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":0.643},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":0.644},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":0.645},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":0.645},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":0.646},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":0.647},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":0.647},{"type":"print","value":"SUCCESS: yield expressions unary operator","timestamp":0.647},{"type":"print","value":"SUCCESS: yield expressions binary operator","timestamp":0.648},{"type":"print","value":"SUCCESS: yield expressions ternary operator","timestamp":0.648},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":0.648},{"type":"print","value":"SUCCESS: yield expressions suffix pre-increment","timestamp":0.648},{"type":"print","value":"SUCCESS: yield expressions assignment","timestamp":0.649},{"type":"print","value":"SUCCESS: yield expressions assignment op","timestamp":0.649},{"type":"print","value":"SUCCESS: yield expressions index operator","timestamp":0.65},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":0.651},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":0.651},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":0.658},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":0.658},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":0.659},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":0.659},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":0.659},{"type":"print","value":"SUCCESS: basic throws","timestamp":0.662},{"type":"print","value":"SUCCESS: basic allows await","timestamp":0.663},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":0.663},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":0.664},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":0.664},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":0.664},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":0.665},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":0.665},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":0.666},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":0.667},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":0.668},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":0.668},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":0.668},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":0.671},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":0.672},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":0.675},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":0.675},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":0.677},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":0.678},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":0.679},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":0.679},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":0.68},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":0.68},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":0.684},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":0.684},{"type":"print","value":"SUCCESS: basic multiple","timestamp":0.687},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":0.69},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":0.693},{"type":"print","value":"SUCCESS: await for simple stream - take, reyield","timestamp":0.695},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":0.696},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":0.696},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":0.697},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":0.698},{"type":"print","value":"SUCCESS: await for nested","timestamp":0.704},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":0.707},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":0.709},{"type":"message_received","value":"dart-calling-main","timestamp":0.71},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.71},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.71},{"type":"message_received","value":"dart-main-done","timestamp":0.71},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":0.94},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":1.844},{"type":"print","value":"unittest-suite-success","timestamp":1.844},{"type":"message_received","value":"unittest-suite-success","timestamp":1.845},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.845},{"type":"print","value":"unittest-suite-done","timestamp":1.848},{"type":"message_received","value":"unittest-suite-done","timestamp":1.848},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.848},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_star_test_04\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.848}] 2019-05-23 11:17:22.005669 Warning: 2019-05-23 11:17:22.005723 Warning: 2019-05-23 11:17:22.005756 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_03/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.005769 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.563},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.566},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.578},{"type":"print","value":"dart-main-done","timestamp":0.635},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":0.652},{"type":"print","value":"SUCCESS: basic empty","timestamp":0.655},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":0.662},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":0.662},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":0.662},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":0.663},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":0.663},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":0.666},{"type":"print","value":"SUCCESS: basic single","timestamp":0.669},{"type":"print","value":"SUCCESS: basic call delays","timestamp":0.671},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":0.672},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":0.673},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":0.673},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":0.674},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":0.674},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":0.675},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":0.676},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":0.676},{"type":"print","value":"SUCCESS: yield expressions unary operator","timestamp":0.676},{"type":"print","value":"SUCCESS: yield expressions binary operator","timestamp":0.676},{"type":"print","value":"SUCCESS: yield expressions ternary operator","timestamp":0.676},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":0.676},{"type":"print","value":"SUCCESS: yield expressions suffix pre-increment","timestamp":0.677},{"type":"print","value":"SUCCESS: yield expressions assignment","timestamp":0.677},{"type":"print","value":"SUCCESS: yield expressions assignment op","timestamp":0.677},{"type":"print","value":"SUCCESS: yield expressions index operator","timestamp":0.677},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":0.677},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":0.678},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":0.685},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":0.685},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":0.686},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":0.686},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":0.686},{"type":"print","value":"SUCCESS: basic throws","timestamp":0.689},{"type":"print","value":"SUCCESS: basic allows await","timestamp":0.69},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":0.69},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":0.69},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":0.691},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":0.691},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":0.691},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":0.692},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":0.693},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":0.693},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":0.694},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":0.694},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":0.695},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":0.698},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":0.699},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":0.703},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":0.704},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":0.705},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":0.706},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":0.706},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":0.706},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":0.707},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":0.707},{"type":"print","value":"SUCCESS: await for simple stream - take","timestamp":0.707},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":0.709},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":0.709},{"type":"print","value":"SUCCESS: basic multiple","timestamp":0.711},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":0.714},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":0.716},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":0.719},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":0.72},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":0.721},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":0.721},{"type":"print","value":"SUCCESS: await for nested","timestamp":0.726},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":0.729},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":0.73},{"type":"message_received","value":"dart-calling-main","timestamp":0.73},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.73},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.73},{"type":"message_received","value":"dart-main-done","timestamp":0.73},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":0.969},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":1.874},{"type":"print","value":"unittest-suite-success","timestamp":1.875},{"type":"message_received","value":"unittest-suite-success","timestamp":1.875},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.875},{"type":"print","value":"unittest-suite-done","timestamp":1.877},{"type":"message_received","value":"unittest-suite-done","timestamp":1.877},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.877},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_star_test_03\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.877}] 2019-05-23 11:17:22.005797 Warning: 2019-05-23 11:17:22.005806 Warning: 2019-05-23 11:17:22.005816 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_05/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.005825 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.317},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.32},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.33},{"type":"print","value":"dart-main-done","timestamp":0.383},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":0.393},{"type":"print","value":"SUCCESS: basic empty","timestamp":0.397},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":0.402},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":0.402},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":0.402},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":0.402},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":0.403},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":0.406},{"type":"print","value":"SUCCESS: basic single","timestamp":0.409},{"type":"print","value":"SUCCESS: basic call delays","timestamp":0.41},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":0.411},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":0.411},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":0.412},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":0.412},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":0.412},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":0.413},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":0.414},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":0.414},{"type":"print","value":"SUCCESS: yield expressions unary operator","timestamp":0.414},{"type":"print","value":"SUCCESS: yield expressions binary operator","timestamp":0.414},{"type":"print","value":"SUCCESS: yield expressions ternary operator","timestamp":0.414},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":0.415},{"type":"print","value":"SUCCESS: yield expressions suffix pre-increment","timestamp":0.415},{"type":"print","value":"SUCCESS: yield expressions assignment","timestamp":0.415},{"type":"print","value":"SUCCESS: yield expressions assignment op","timestamp":0.415},{"type":"print","value":"SUCCESS: yield expressions index operator","timestamp":0.415},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":0.417},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":0.417},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":0.423},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":0.423},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":0.424},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":0.424},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":0.425},{"type":"print","value":"SUCCESS: basic throws","timestamp":0.428},{"type":"print","value":"SUCCESS: basic allows await","timestamp":0.428},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":0.428},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":0.428},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":0.429},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":0.43},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":0.43},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":0.431},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":0.431},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":0.432},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":0.432},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":0.433},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":0.434},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":0.436},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":0.436},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":0.439},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":0.44},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":0.442},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":0.443},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":0.443},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":0.443},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":0.443},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":0.443},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":0.447},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":0.447},{"type":"print","value":"SUCCESS: basic multiple","timestamp":0.449},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":0.452},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":0.454},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":0.456},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":0.457},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":0.458},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":0.458},{"type":"print","value":"SUCCESS: await for nested","timestamp":0.462},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":0.465},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":0.466},{"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":"print","value":"SUCCESS: await for await pauses loop","timestamp":0.512},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":0.709},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":1.613},{"type":"print","value":"unittest-suite-success","timestamp":1.614},{"type":"message_received","value":"unittest-suite-success","timestamp":1.614},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.614},{"type":"print","value":"unittest-suite-done","timestamp":1.621},{"type":"message_received","value":"unittest-suite-done","timestamp":1.622},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.622},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_star_test_05\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.622}] 2019-05-23 11:17:22.005900 Warning: 2019-05-23 11:17:22.005910 Warning: 2019-05-23 11:17:22.005920 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_star_test_none/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.005930 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.934},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.938},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.952},{"type":"print","value":"dart-main-done","timestamp":1.018},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":1.031},{"type":"print","value":"SUCCESS: basic empty","timestamp":1.033},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":1.039},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":1.039},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":1.039},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":1.04},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":1.04},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":1.044},{"type":"print","value":"SUCCESS: basic single","timestamp":1.049},{"type":"print","value":"SUCCESS: basic call delays","timestamp":1.05},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":1.051},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":1.051},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":1.051},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":1.053},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":1.053},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":1.053},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":1.053},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":1.053},{"type":"print","value":"SUCCESS: yield expressions unary operator","timestamp":1.054},{"type":"print","value":"SUCCESS: yield expressions binary operator","timestamp":1.054},{"type":"print","value":"SUCCESS: yield expressions ternary operator","timestamp":1.054},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":1.055},{"type":"print","value":"SUCCESS: yield expressions suffix pre-increment","timestamp":1.055},{"type":"print","value":"SUCCESS: yield expressions assignment","timestamp":1.055},{"type":"print","value":"SUCCESS: yield expressions assignment op","timestamp":1.055},{"type":"print","value":"SUCCESS: yield expressions index operator","timestamp":1.055},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":1.055},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":1.056},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":1.064},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":1.064},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":1.065},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":1.066},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":1.066},{"type":"print","value":"SUCCESS: basic throws","timestamp":1.069},{"type":"print","value":"SUCCESS: basic allows await","timestamp":1.069},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":1.071},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":1.071},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":1.071},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":1.072},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":1.072},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":1.073},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":1.074},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":1.075},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":1.075},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":1.075},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":1.076},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":1.079},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":1.08},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":1.083},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":1.084},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":1.086},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":1.086},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":1.086},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":1.087},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":1.087},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":1.088},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":1.09},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":1.09},{"type":"print","value":"SUCCESS: basic multiple","timestamp":1.092},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":1.096},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":1.098},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":1.101},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":1.103},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":1.104},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":1.104},{"type":"print","value":"SUCCESS: await for nested","timestamp":1.108},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":1.112},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":1.113},{"type":"message_received","value":"dart-calling-main","timestamp":1.113},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.113},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.113},{"type":"message_received","value":"dart-main-done","timestamp":1.113},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":1.349},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":2.254},{"type":"print","value":"unittest-suite-success","timestamp":2.254},{"type":"message_received","value":"unittest-suite-success","timestamp":2.254},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":2.254},{"type":"print","value":"unittest-suite-done","timestamp":2.257},{"type":"message_received","value":"unittest-suite-done","timestamp":2.257},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":2.257},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_star_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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":2.257}] 2019-05-23 11:17:22.006109 Warning: 2019-05-23 11:17:22.006127 Warning: 2019-05-23 11:17:22.006138 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_future_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.006148 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.432},{"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.439},{"type":"message_received","value":"dart-calling-main","timestamp":0.441},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.441},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.441},{"type":"message_received","value":"dart-main-done","timestamp":0.441},{"type":"print","value":"unittest-suite-success","timestamp":1.635},{"type":"message_received","value":"unittest-suite-success","timestamp":1.635},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.635},{"type":"print","value":"unittest-suite-done","timestamp":1.636},{"type":"message_received","value":"unittest-suite-done","timestamp":1.637},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.637},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_await_future_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.637}] 2019-05-23 11:17:22.006283 Warning: 2019-05-23 11:17:22.006292 Warning: 2019-05-23 11:17:22.006303 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_no_such_method_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.006313 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.369},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.37},{"type":"print","value":"dart-main-done","timestamp":0.37},{"type":"print","value":"unittest-suite-success","timestamp":0.372},{"type":"message_received","value":"dart-calling-main","timestamp":0.374},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.374},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.374},{"type":"message_received","value":"dart-main-done","timestamp":0.374},{"type":"message_received","value":"unittest-suite-success","timestamp":0.374},{"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.376},{"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 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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_deferred_no_such_method_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.379}] 2019-05-23 11:17:22.006331 Warning: 2019-05-23 11:17:22.006341 Warning: 2019-05-23 11:17:22.006351 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_null_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.006361 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.403},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.404},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.411},{"type":"print","value":"dart-main-done","timestamp":0.418},{"type":"print","value":"unittest-suite-success","timestamp":0.419},{"type":"message_received","value":"dart-calling-main","timestamp":0.419},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.419},{"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.42},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.42},{"type":"print","value":"unittest-suite-done","timestamp":0.421},{"type":"message_received","value":"unittest-suite-done","timestamp":0.421},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.421},{"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/dartdevk-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/kernel/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_kernel/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/dartdevk-checked-sdk/tests_language_2_control_flow_collections_await_for_null_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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":0.422}] 2019-05-23 11:17:22.006380 Warning: 2019-05-23 11:17:22.006391 Warning: 2019-05-23 11:17:22.006401 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_for_await_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.006411 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.424},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.426},{"type":"print","value":"dart-main-done","timestamp":0.433},{"type":"message_received","value":"dart-calling-main","timestamp":0.439},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.439},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.44},{"type":"message_received","value":"dart-main-done","timestamp":0.44},{"type":"print","value":"unittest-suite-success","timestamp":0.51},{"type":"message_received","value":"unittest-suite-success","timestamp":0.51},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.511},{"type":"print","value":"unittest-suite-done","timestamp":0.514},{"type":"message_received","value":"unittest-suite-done","timestamp":0.515},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.515},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_control_flow_collections_for_await_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.516}] 2019-05-23 11:17:22.006492 Warning: 2019-05-23 11:17:22.006507 Warning: 2019-05-23 11:17:22.006517 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_inference_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.006527 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.521},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.522},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.525},{"type":"print","value":"dart-main-done","timestamp":0.544},{"type":"print","value":"unittest-suite-success","timestamp":0.588},{"type":"message_received","value":"dart-calling-main","timestamp":0.589},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.589},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.589},{"type":"message_received","value":"dart-main-done","timestamp":0.589},{"type":"message_received","value":"unittest-suite-success","timestamp":0.589},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.589},{"type":"print","value":"unittest-suite-done","timestamp":0.59},{"type":"message_received","value":"unittest-suite-done","timestamp":0.591},{"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 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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_control_flow_collections_await_for_inference_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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":0.591}] 2019-05-23 11:17:22.006547 Warning: 2019-05-23 11:17:22.006556 Warning: 2019-05-23 11:17:22.006566 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_if_await_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.006576 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.461},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.463},{"type":"print","value":"dart-main-done","timestamp":0.476},{"type":"print","value":"unittest-suite-success","timestamp":0.487},{"type":"message_received","value":"dart-calling-main","timestamp":0.489},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.489},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.489},{"type":"message_received","value":"dart-main-done","timestamp":0.489},{"type":"message_received","value":"unittest-suite-success","timestamp":0.489},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.489},{"type":"print","value":"unittest-suite-done","timestamp":0.489},{"type":"message_received","value":"unittest-suite-done","timestamp":0.492},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.492},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_control_flow_collections_if_await_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.492}] 2019-05-23 11:17:22.006597 Warning: 2019-05-23 11:17:22.006606 Warning: 2019-05-23 11:17:22.006617 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.006628 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.366},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.373},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.382},{"type":"print","value":"dart-main-done","timestamp":0.393},{"type":"print","value":"unittest-suite-success","timestamp":0.474},{"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.476},{"type":"message_received","value":"dart-main-done","timestamp":0.476},{"type":"message_received","value":"unittest-suite-success","timestamp":0.476},{"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.477},{"type":"message_received","value":"unittest-suite-done","timestamp":0.479},{"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_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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_control_flow_collections_await_for_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.48}] 2019-05-23 11:17:22.006727 Warning: 2019-05-23 11:17:22.006740 Warning: 2019-05-23 11:17:22.006751 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_mixin_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.006759 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.38},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.381},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.382},{"type":"print","value":"dart-main-done","timestamp":0.382},{"type":"print","value":"unittest-suite-success","timestamp":0.383},{"type":"message_received","value":"dart-calling-main","timestamp":0.384},{"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.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.386},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_deferred_mixin_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.386}] 2019-05-23 11:17:22.006778 Warning: 2019-05-23 11:17:22.006787 Warning: 2019-05-23 11:17:22.006798 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_async_star_no_cancel_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.006808 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.4},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.4},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.403},{"type":"print","value":"dart-main-done","timestamp":0.404},{"type":"message_received","value":"dart-calling-main","timestamp":0.405},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.406},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.406},{"type":"message_received","value":"dart-main-done","timestamp":0.406},{"type":"print","value":"unittest-suite-success","timestamp":0.504},{"type":"message_received","value":"unittest-suite-success","timestamp":0.504},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.504},{"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_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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_async_star_no_cancel_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.507}] 2019-05-23 11:17:22.006911 Warning: 2019-05-23 11:17:22.006923 Warning: 2019-05-23 11:17:22.006935 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_return_types_test_none/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.006945 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.4},{"type":"print","value":"unittest-suite-success","timestamp":0.409},{"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.411},{"type":"message_received","value":"dart-main-done","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.412},{"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.415},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_return_types_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.416}] 2019-05-23 11:17:22.006965 Warning: 2019-05-23 11:17:22.006974 Warning: 2019-05-23 11:17:22.006985 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_deferred_global_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.006995 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.4},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.4},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.401},{"type":"print","value":"dart-main-done","timestamp":0.401},{"type":"print","value":"unittest-suite-success","timestamp":0.403},{"type":"message_received","value":"dart-calling-main","timestamp":0.403},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.403},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.403},{"type":"message_received","value":"dart-main-done","timestamp":0.403},{"type":"message_received","value":"unittest-suite-success","timestamp":0.403},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.403},{"type":"print","value":"unittest-suite-done","timestamp":0.404},{"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 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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_deferred_global_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.407}] 2019-05-23 11:17:22.007016 Warning: 2019-05-23 11:17:22.007025 Warning: 2019-05-23 11:17:22.007035 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_issue28498_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.007046 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.383},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.383},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.384},{"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.391},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.391},{"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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_issue28498_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.391}] 2019-05-23 11:17:22.007197 Warning: 2019-05-23 11:17:22.007211 Warning: 2019-05-23 11:17:22.007222 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/tests_language_2_await_nonfuture_test/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.007233 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.428},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.428},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.451},{"type":"print","value":"dart-main-done","timestamp":0.469},{"type":"print","value":"unittest-suite-success","timestamp":0.471},{"type":"message_received","value":"dart-calling-main","timestamp":0.472},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.472},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.472},{"type":"message_received","value":"dart-main-done","timestamp":0.472},{"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.473},{"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 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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/tests_language_2_await_nonfuture_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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.474}] 2019-05-23 11:17:22.007254 Warning: 2019-05-23 11:17:22.007263 Warning: 2019-05-23 11:17:22.007274 Warning: http://127.0.0.1:36427/root_build/generated_tests/dartdevk-chrome-checked-sdk/multitest_language_2_async_switch_test_none/test.html?crossOriginPort=41103, output: 2019-05-23 11:17:22.007284 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.462},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.466},{"type":"print","value":"dart-main-done","timestamp":0.486},{"type":"print","value":"unittest-suite-success","timestamp":0.49},{"type":"message_received","value":"dart-calling-main","timestamp":0.492},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.492},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.492},{"type":"message_received","value":"dart-main-done","timestamp":0.492},{"type":"message_received","value":"unittest-suite-success","timestamp":0.492},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.492},{"type":"print","value":"unittest-suite-done","timestamp":0.493},{"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 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/dartdevk-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/kernel/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_kernel/async_helper.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/dartdevk-checked-sdk/multitest_language_2_async_switch_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/kernel/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg_kernel/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg_kernel/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg_kernel/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg_kernel/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg_kernel/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg_kernel/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg_kernel/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg_kernel/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg_kernel/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