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: dartdevc-checked-mac-release-chrome(architecture: x64, compiler: dartdevc, mode: release, runtime: chrome, system: mac, vm-options: [], dart2js-options: [], timeout: null, checked, preview-dart-2, use-sdk) Suites tested: language_2, corelib_2, lib_2 Total: 9674 tests * 1215 tests will be skipped (675 skipped by design) * 8 tests are expected to be flaky but not crash * 1 tests are expected to flaky crash * 8074 tests are expected to pass * 78 tests are expected to fail that we won't fix * 287 tests are expected to fail that we should fix * 5 tests are expected to crash that we should fix * 0 tests are allowed to timeout * 6 could not be categorized or are in multiple categories FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/ascii-regexp-subject_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 286ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 771ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test/test.html?crossOriginPort=51299 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.722 } - { type: message_received value: dart-main-done timestamp: 0.722 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_ascii-regexp-subject_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/ascii-regexp-subject_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/capture-3_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 321ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 799ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_capture-3_test/test.html?crossOriginPort=51299 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.762 } - { type: message_received value: dart-main-done timestamp: 0.762 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_capture-3_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/capture-3_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/character-match-out-of-order_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 193ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 686ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test/test.html?crossOriginPort=51299 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.649 } - { type: message_received value: dart-main-done timestamp: 0.65 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_character-match-out-of-order_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/character-match-out-of-order_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/ecma-regex-examples_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 163ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test/test.html?crossOriginPort=51299 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.47 } - { type: message_received value: dart-main-done timestamp: 0.47 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_ecma-regex-examples_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/ecma-regex-examples_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/find-first-asserted_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 180ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 707ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test/test.html?crossOriginPort=51299 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.637 } - { type: message_received value: dart-main-done timestamp: 0.637 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_find-first-asserted_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/find-first-asserted_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/look-ahead_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 171ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 829ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_look-ahead_test/test.html?crossOriginPort=51299 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.777 } - { type: message_received value: dart-main-done timestamp: 0.778 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_look-ahead_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/look-ahead_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/malformed-escapes_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 286ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 700ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test/test.html?crossOriginPort=51299 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.636 } - { type: message_received value: dart-main-done timestamp: 0.636 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_malformed-escapes_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/malformed-escapes_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/range-bound-ffff_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 167ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 566ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test/test.html?crossOriginPort=51299 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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_range-bound-ffff_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/range-bound-ffff_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/quantified-assertions_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 173ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 639ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test/test.html?crossOriginPort=51299 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.55 } - { type: message_received value: dart-main-done timestamp: 0.55 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_quantified-assertions_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/quantified-assertions_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/results-cache_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 123ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 556ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_results-cache_test/test.html?crossOriginPort=51299 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.512 } - { type: message_received value: dart-main-done timestamp: 0.513 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_results-cache_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/results-cache_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/unsigned_shift_test/none Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dartdevc" (took 580ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --enable-experiment=triple-shift --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/corelib_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_corelib_2_unsigned_shift_test_none/unsigned_shift_test_none.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/corelib_2) exit code: 1 stdout: [error] The function 'testNonDoubleShifts' isn't defined. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 16, col 3) [error] The operator '>>>' isn't defined for the class 'int'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 43, col 27) [error] The operator '>>>' isn't defined for the class 'int'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 53, col 29) [error] The operator '>>>' isn't defined for the class 'int'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 61, col 16) [error] The operator '>>>' isn't defined for the class 'int'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 62, col 17) [error] In constant expressions, operands of this operator must be of type 'int'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 65, col 26) [error] The operands of the '||' operator must be assignable to 'bool'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 66, col 22) [error] The method 'notNull' isn't defined for the class 'Expect'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 78, col 10) [error] Can't have modifier 'const' here. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 81, col 1) [error] Functions must have an explicit list of parameters. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 81, col 12) [error] Conditions must have a static type of 'bool'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 82, col 23) [error] In constant expressions, operands of this operator must be of type 'bool'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 82, col 23) [error] The operator '>>>' isn't defined for the class 'int'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 88, col 31) [error] The argument type 'String' can't be assigned to the parameter type '(dynamic) → bool'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 88, col 42) [error] Negation argument must have a static type of 'bool'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 91, col 8) [error] The operator '>>>' isn't defined for the class 'int'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 93, col 31) [error] The argument type 'String' can't be assigned to the parameter type '(dynamic) → bool'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 93, col 42) [error] Undefined name 'isJsBitOps'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 97, col 7) [error] The operator '>>>' isn't defined for the class 'int'. (xcodebuild/ReleaseX64/generated_tests/corelib_2/unsigned_shift_test_none.dart, line 109, col 33) Please fix all errors before compiling (warnings are okay). --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/unsigned_shift_test/none FAILED: dartdevc-chrome-checked release_x64 language_2/async_covariant_type_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 141ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 557ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_covariant_type_test/test.html?crossOriginPort=51299 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.524 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.524 } - { type: message_received value: dart-main-done timestamp: 0.524 } - print "unittest-suite-done" - { type: message_received value: unittest-suite-done timestamp: 0.525 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_covariant_type_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/async_covariant_type_test FAILED: dartdevc-chrome-checked release_x64 language_2/async_star_test/01 Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 01.000220s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_01/async_star_test_01.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/async_star_test_01.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 02.000108s): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_01/test.html?crossOriginPort=51299 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 "unittest-suite-wait-for-done" - print "dart-main-done" - print "SUCCESS: canceling at index at start" - print "SUCCESS: basic empty" - print "SUCCESS: yield statement context dead-code return" - print "SUCCESS: yield statement context dead-code throw" - print "SUCCESS: yield statement context dead-code break" - print "SUCCESS: yield statement context dead-code break 2" - print "SUCCESS: yield statement context dead-code continue" - print "SUCCESS: canceling cancels at yield" - print "SUCCESS: basic single" - print "SUCCESS: basic call delays" - print "SUCCESS: basic Cannot yield* non-stream" - print "SUCCESS: basic Cannot yield* non-stream 2" - print "SUCCESS: yield statement context plain" - print "SUCCESS: yield statement context if-then-else" - print "SUCCESS: yield statement context labeled" - print "SUCCESS: yield statement context labeled 2" - print "SUCCESS: yield expressions local variable" - print "SUCCESS: yield expressions constant variable" - print "SUCCESS: yield expressions function call" - print "SUCCESS: yield expressions unary operator" - print "SUCCESS: yield expressions binary operator" - print "SUCCESS: yield expressions ternary operator" - print "SUCCESS: yield expressions suffix post-increment" - print "SUCCESS: yield expressions suffix pre-increment" - print "SUCCESS: yield expressions assignment" - print "SUCCESS: yield expressions assignment op" - print "SUCCESS: yield expressions index operator" - print "SUCCESS: yield expressions function expression block" - print "SUCCESS: yield expressions function expression arrow" - print "SUCCESS: yield statement context try-catch-finally" - print "SUCCESS: yield statement context try-catch-finally 2" - print "SUCCESS: yield expressions await" - print "SUCCESS: yield expressions function expression block async" - print "SUCCESS: yield expressions function expression arrow async" - print "SUCCESS: basic throws" - print "SUCCESS: basic allows await" - print "SUCCESS: yield statement context block" - print "SUCCESS: yield statement context for-loop" - print "SUCCESS: yield statement context for-in-loop" - print "SUCCESS: yield statement context while-loop" - print "SUCCESS: yield statement context do-while-loop" - print "SUCCESS: loops simple yield" - print "SUCCESS: loops yield in try body" - print "SUCCESS: loops yield in catch" - print "SUCCESS: loops yield in finally" - print "SUCCESS: loops keep yielding after cancel" - print "SUCCESS: pausing pauses execution at yield for at least a microtask" - print "SUCCESS: yield expressions function expression block async*" - print "SUCCESS: canceling at index early" - print "SUCCESS: canceling does cancel eventually" - print "SUCCESS: canceling at index before end" - print "SUCCESS: basic allows yield*" - print "SUCCESS: loops yield in double loop" - print "SUCCESS: canceling at index - all, sanity check" - print "SUCCESS: canceling at index after end" - print "SUCCESS: canceling at index at end" - print "SUCCESS: await for simple stream" - print "SUCCESS: yield statement context await for-in-loop" - print "SUCCESS: yield statement context switch-case" - print "SUCCESS: basic multiple" - print "SUCCESS: await for simple stream, await" - print "SUCCESS: await for simple stream reyield" - print "SUCCESS: canceling regression-fugl/fisk" - print "SUCCESS: basic allows yield* of async*" - print "SUCCESS: basic allows await in loop" - print "SUCCESS: await for simple stream, await, reyield" - print "SUCCESS: await for nested" - print "SUCCESS: await for nested, await" - print "SUCCESS: await for nested, await * 2" - { type: message_received value: dart-calling-main timestamp: 0.8 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.8 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.801 } - { type: message_received value: dart-main-done timestamp: 0.801 } - print "SUCCESS: pausing pause stops execution at yield" - print "SUCCESS: pausing pause stops execution at yield 2" - print "unittest-suite-success" - { type: message_received value: unittest-suite-success timestamp: 2.074 } - 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_star_test_01</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_star_test_01" src="/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_01/async_star_test_01.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <body> <h1>Running async_star_test_01</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_01", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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_star_test_01", "dart_sdk", "async_helper"], function(async_star_test_01, 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_star_test_01.async_star_test_01.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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/async_star_test/01 FAILED: dartdevc-chrome-checked release_x64 language_2/built_in_identifier_type_annotation_test/dynamic-list Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 113ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/generated_tests/language_2/built_in_identifier_type_annotation_test_dynamic-list.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 538ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list/test.html?crossOriginPort=51299 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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-list", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/built_in_identifier_type_annotation_test/dynamic-list FAILED: dartdevc-chrome-checked release_x64 language_2/built_in_identifier_type_annotation_test/dynamic-funarg Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 88ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/generated_tests/language_2/built_in_identifier_type_annotation_test_dynamic-funarg.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 01.000438s): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg/test.html?crossOriginPort=51299 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.403 } - { type: message_received value: dart-main-done timestamp: 1.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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funarg", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/built_in_identifier_type_annotation_test/dynamic-funarg FAILED: dartdevc-chrome-checked release_x64 language_2/built_in_identifier_type_annotation_test/dynamic-funret Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 82ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/generated_tests/language_2/built_in_identifier_type_annotation_test_dynamic-funret.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 01.000878s): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret/test.html?crossOriginPort=51299 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.84 } - { type: message_received value: dart-main-done timestamp: 1.84 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_built_in_identifier_type_annotation_test_dynamic-funret", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/built_in_identifier_type_annotation_test/dynamic-funret FAILED: dartdevc-chrome-checked release_x64 language_2/const_list_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 108ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 593ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_const_list_test/test.html?crossOriginPort=51299 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.53 } - { type: message_received value: dart-main-done timestamp: 0.531 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_const_list_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/const_list_test FAILED: dartdevc-chrome-checked release_x64 language_2/constants_2018/potential_const_dynamic_test/sh3 Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dartdevc" (took 214ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --enable-experiment=constant-update-2018 --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_constants_2018_potential_const_dynamic_test_sh3/potential_const_dynamic_test_sh3.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_dynamic_test_sh3.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018) exit code: 1 stdout: [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_dynamic_test_sh3.dart, line 45, col 51) [error] Invalid constant value. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_dynamic_test_sh3.dart, line 45, col 51) [error] Methods must have an explicit list of parameters. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_dynamic_test_sh3.dart, line 68, col 20) [error] Operator '>>' should declare exactly 1 parameter(s), but 0 found. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_dynamic_test_sh3.dart, line 68, col 20) [error] The name '>>' is already defined. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_dynamic_test_sh3.dart, line 68, col 20) [error] A function body must be provided. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_dynamic_test_sh3.dart, line 68, col 22) [error] Operator declarations must be preceded by the keyword 'operator'. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_dynamic_test_sh3.dart, line 68, col 22) [error] The name '>' is already defined. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_dynamic_test_sh3.dart, line 74, col 20) Please fix all errors before compiling (warnings are okay). --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/constants_2018/potential_const_dynamic_test/sh3 FAILED: dartdevc-chrome-checked release_x64 language_2/constants_2018/potential_const_type_test/sh3 Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dartdevc" (took 214ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --enable-experiment=constant-update-2018 --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_constants_2018_potential_const_type_test_sh3/potential_const_type_test_sh3.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_type_test_sh3.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018) exit code: 1 stdout: [error] Const variables must be initialized with a constant value. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_type_test_sh3.dart, line 41, col 30) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_type_test_sh3.dart, line 41, col 30) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_type_test_sh3.dart, line 64, col 39) [error] Invalid constant value. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_type_test_sh3.dart, line 64, col 39) [error] Methods must have an explicit list of parameters. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_type_test_sh3.dart, line 87, col 14) [error] Operator '>>' should declare exactly 1 parameter(s), but 0 found. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_type_test_sh3.dart, line 87, col 14) [error] The name '>>' is already defined. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_type_test_sh3.dart, line 87, col 14) [error] A function body must be provided. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_type_test_sh3.dart, line 87, col 16) [error] Operator declarations must be preceded by the keyword 'operator'. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_type_test_sh3.dart, line 87, col 16) [error] The name '>' is already defined. (xcodebuild/ReleaseX64/generated_tests/language_2/constants_2018/potential_const_type_test_sh3.dart, line 93, col 14) Please fix all errors before compiling (warnings are okay). --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/constants_2018/potential_const_type_test/sh3 FAILED: dartdevc-chrome-checked release_x64 language_2/map_literal3_test/03 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dartdevc" (took 96ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_map_literal3_test_03/map_literal3_test_03.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/map_literal3_test_03.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) 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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/map_literal3_test/03 FAILED: dartdevc-chrome-checked release_x64 language_2/mixin_declaration/mixin_declaration_factory_test/02 Expected: Crash Actual: Pass Missing expected compile error. --- Command "dartdevc" (took 141ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/mixin_declaration --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_mixin_declaration_mixin_declaration_factory_test_02/mixin_declaration_factory_test_02.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/mixin_declaration/mixin_declaration_factory_test_02.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/mixin_declaration) exit code: 1 stdout: [error] Mixins can't declare constructors. (xcodebuild/ReleaseX64/generated_tests/language_2/mixin_declaration/mixin_declaration_factory_test_02.dart, line 15, col 17) [error] The return type 'B' of the redirected constructor isn't assignable to 'M'. (xcodebuild/ReleaseX64/generated_tests/language_2/mixin_declaration/mixin_declaration_factory_test_02.dart, line 15, col 27) Please fix all errors before compiling (warnings are okay). --- 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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/mixin_declaration/mixin_declaration_factory_test/02 FAILED: dartdevc-chrome-checked release_x64 language_2/named_parameters_default_eq_test/none Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 297ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/generated_tests/language_2/named_parameters_default_eq_test_none.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 650ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_named_parameters_default_eq_test_none/test.html?crossOriginPort=51299 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.615 } - { type: message_received value: dart-main-done timestamp: 0.616 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_named_parameters_default_eq_test_none", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/named_parameters_default_eq_test/none FAILED: dartdevc-chrome-checked release_x64 language_2/override_inheritance_field_test/42 Expected: CompileTimeError Actual: Pass Missing expected compile error. --- Command "dartdevc" (took 137ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_override_inheritance_field_test_42/override_inheritance_field_test_42.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/override_inheritance_field_test_42.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 1 stdout: [error] 'Class.field2=' ('(int) → void') isn't a valid override of 'A.field2=' ('(num) → void'). (xcodebuild/ReleaseX64/generated_tests/language_2/override_inheritance_field_test_42.dart, line 101, col 3) Please fix all errors before compiling (warnings are okay). --- 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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/override_inheritance_field_test/42 3896 out of 8459 completed Tests running for 5 minutes FAILED: dartdevc-chrome-checked release_x64 language_2/regress_16640_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 109ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 806ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_regress_16640_test/test.html?crossOriginPort=51299 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.7 } - { type: message_received value: dart-main-done timestamp: 0.7 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_regress_16640_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/regress_16640_test FAILED: dartdevc-chrome-checked release_x64 language_2/regress_28268_test/none Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dartdevc" (took 260ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_regress_28268_test_none/regress_28268_test_none.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/regress_28268_test_none.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 1 stdout: [error] Constant variables can't be assigned a value. (xcodebuild/ReleaseX64/generated_tests/language_2/regress_28268_test_none.dart, line 115, col 3) [error] A value of type 'String' can't be assigned to a variable of type 'int'. (xcodebuild/ReleaseX64/generated_tests/language_2/regress_28268_test_none.dart, line 115, col 7) [error] 'y', a final variable, can only be set once. (xcodebuild/ReleaseX64/generated_tests/language_2/regress_28268_test_none.dart, line 119, col 3) [error] A value of type 'String' can't be assigned to a variable of type 'int'. (xcodebuild/ReleaseX64/generated_tests/language_2/regress_28268_test_none.dart, line 119, col 7) Please fix all errors before compiling (warnings are okay). --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/regress_28268_test/none FAILED: dartdevc-chrome-checked release_x64 language_2/stacktrace_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 101ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 810ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_stacktrace_test/test.html?crossOriginPort=51299 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.76 } - { type: message_received value: dart-main-done timestamp: 0.761 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_stacktrace_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/stacktrace_test FAILED: dartdevc-chrome-checked release_x64 language_2/unsigned_right_shift_test/none Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dartdevc" (took 376ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --enable-experiment=triple-shift --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_unsigned_right_shift_test_none/unsigned_right_shift_test_none.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 1 stdout: [error] Evaluation of this constant expression throws an exception. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 51, col 20) [error] The keywords 'async', 'await', and 'yield' can't be used as identifiers in an asynchronous or generator function. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 99, col 9) [error] The keywords 'async', 'await', and 'yield' can't be used as identifiers in an asynchronous or generator function. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 100, col 33) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 110, col 53) [error] The operator '*' isn't defined for the class 'Assoc'. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 110, col 53) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 110, col 54) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 111, col 56) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 111, col 57) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 112, col 53) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 112, col 54) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 113, col 53) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 113, col 54) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 114, col 53) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 114, col 54) [error] The operator '<' isn't defined for the class 'Assoc'. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 115, col 37) [error] The operator '<' isn't defined for the class 'Assoc'. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 116, col 43) [error] The operator '<' isn't defined for the class 'Type'. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 128, col 17) [error] An equality expression can't be an operand of another equality expression. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 128, col 22) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 128, col 23) [error] The argument type '() → Null' can't be assigned to the parameter type 'String'. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 128, col 25) [error] The operator '<' isn't defined for the class 'Type'. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 129, col 17) [error] An equality expression can't be an operand of another equality expression. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 129, col 22) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 129, col 23) [error] The argument type '() → Null' can't be assigned to the parameter type 'String'. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 129, col 25) [error] The operator '<' isn't defined for the class 'Type'. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 130, col 17) [error] An equality expression can't be an operand of another equality expression. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 130, col 22) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 130, col 23) [error] The argument type '() → Null' can't be assigned to the parameter type 'String'. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 130, col 25) [error] The operator '<' isn't defined for the class 'Type'. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 131, col 17) [error] An equality expression can't be an operand of another equality expression. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 131, col 22) [error] Expected an identifier. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 131, col 23) [error] The argument type '() → Null' can't be assigned to the parameter type 'String'. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 131, col 25) [error] Undefined name 'invocation'. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 157, col 12) [error] A function body must be provided. (xcodebuild/ReleaseX64/generated_tests/language_2/unsigned_right_shift_test_none.dart, line 187, col 3) Please fix all errors before compiling (warnings are okay). --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/unsigned_right_shift_test/none 2019-05-23 09:33:01.451597 Error: Error from browser on : /BROWSER3, 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.587},{\"type\":\"print\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.592},{\"type\":\"print\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.614},{\"type\":\"print\",\"value\":\"dart-main-done\",\"timestamp\":0.615},{\"type\":\"message_received\",\"value\":\"dart-calling-main\",\"timestamp\":0.622},{\"type\":\"message_received\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.623},{\"type\":\"message_received\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.623},{\"type\":\"message_received\",\"value\":\"dart-main-done\",\"timestamp\":0.623},{\"type\":\"print\",\"value\":\"unittest-suite-success\",\"timestamp\":0.678},{\"type\":\"message_received\",\"value\":\"unittest-suite-success\",\"timestamp\":0.679},{\"type\":\"debug\",\"value\":\"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)\",\"timestamp\":0.679},{\"type\":\"print\",\"value\":\"unittest-suite-done\",\"timestamp\":0.683},{\"type\":\"message_received\",\"value\":\"unittest-suite-done\",\"timestamp\":0.684},{\"type\":\"debug\",\"value\":\"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)\",\"timestamp\":0.684},{\"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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js\\\"></script><script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"async_helper\\\" src=\\\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\\\"></script><script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"expect\\\" src=\\\"/root_build/gen/utils/dartdevc/pkg/expect.js\\\"></script></head>\\n<body>\\n<h1>Running 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_futures_test\\\",\\n paths: {\\n \\\"dart_sdk\\\": \\\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\\\",\\n \\\"async_helper\\\": \\\"/root_build/gen/utils/dartdevc/pkg/async_helper\\\",\\n \\\"collection\\\": \\\"/root_build/gen/utils/dartdevc/pkg/collection\\\",\\n \\\"expect\\\": \\\"/root_build/gen/utils/dartdevc/pkg/expect\\\",\\n \\\"js\\\": \\\"/root_build/gen/utils/dartdevc/pkg/js\\\",\\n \\\"matcher\\\": \\\"/root_build/gen/utils/dartdevc/pkg/matcher\\\",\\n \\\"meta\\\": \\\"/root_build/gen/utils/dartdevc/pkg/meta\\\",\\n \\\"path\\\": \\\"/root_build/gen/utils/dartdevc/pkg/path\\\",\\n \\\"stack_trace\\\": \\\"/root_build/gen/utils/dartdevc/pkg/stack_trace\\\",\\n \\\"unittest\\\": \\\"/root_build/gen/utils/dartdevc/pkg/unittest\\\",\\n },\\n waitSeconds: 30,\\n};\\n\\n// Don't try to bring up the debugger on a runtime error.\\nwindow.ddcSettings = {\\n trapRuntimeErrors: false\\n};\\n</script>\\n<script type=\\\"text/javascript\\\" src=\\\"/root_dart/third_party/requirejs/require.js\\\"></script>\\n<script type=\\\"text/javascript\\\">\\nrequirejs([\\\"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.684}]","is_first_message":false,"is_status_update":false,"is_done":true} FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/non-character_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 144ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 368ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_non-character_test/test.html?crossOriginPort=51299 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.339 } - { type: message_received value: dart-main-done timestamp: 0.339 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_non-character_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/non-character_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/ranges-and-escaped-hyphens_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 203ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 331ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test/test.html?crossOriginPort=51299 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.304 } - { type: message_received value: dart-main-done timestamp: 0.304 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_ranges-and-escaped-hyphens_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/ranges-and-escaped-hyphens_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/zero-length-alternatives_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 419ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) 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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test/test.html?crossOriginPort=51299 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.432 } - { type: message_received value: dart-main-done timestamp: 0.432 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_zero-length-alternatives_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/zero-length-alternatives_test FAILED: dartdevc-chrome-checked release_x64 language_2/async_star_test/03 Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 01.000222s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_03/async_star_test_03.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/async_star_test_03.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 02.000029s): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_03/test.html?crossOriginPort=51299 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 "unittest-suite-wait-for-done" - print "dart-main-done" - print "SUCCESS: canceling at index at start" - print "SUCCESS: basic empty" - print "SUCCESS: yield statement context dead-code return" - print "SUCCESS: yield statement context dead-code throw" - print "SUCCESS: yield statement context dead-code break" - print "SUCCESS: yield statement context dead-code break 2" - print "SUCCESS: yield statement context dead-code continue" - print "SUCCESS: canceling cancels at yield" - print "SUCCESS: basic single" - print "SUCCESS: basic call delays" - print "SUCCESS: basic Cannot yield* non-stream" - print "SUCCESS: basic Cannot yield* non-stream 2" - print "SUCCESS: yield statement context plain" - print "SUCCESS: yield statement context if-then-else" - print "SUCCESS: yield statement context labeled" - print "SUCCESS: yield expressions local variable" - print "SUCCESS: yield expressions constant variable" - print "SUCCESS: yield expressions function call" - print "SUCCESS: yield expressions unary operator" - print "SUCCESS: yield expressions binary operator" - print "SUCCESS: yield expressions ternary operator" - print "SUCCESS: yield expressions suffix post-increment" - print "SUCCESS: yield expressions suffix pre-increment" - print "SUCCESS: yield expressions assignment" - print "SUCCESS: yield expressions assignment op" - print "SUCCESS: yield expressions index operator" - print "SUCCESS: yield expressions function expression block" - print "SUCCESS: yield expressions function expression arrow" - print "SUCCESS: yield statement context try-catch-finally" - print "SUCCESS: yield statement context try-catch-finally 2" - print "SUCCESS: yield expressions await" - print "SUCCESS: yield expressions function expression block async" - print "SUCCESS: yield expressions function expression arrow async" - print "SUCCESS: basic throws" - print "SUCCESS: basic allows await" - print "SUCCESS: yield statement context block" - print "SUCCESS: yield statement context for-loop" - print "SUCCESS: yield statement context for-in-loop" - print "SUCCESS: yield statement context while-loop" - print "SUCCESS: yield statement context do-while-loop" - print "SUCCESS: loops simple yield" - print "SUCCESS: loops yield in try body" - print "SUCCESS: loops yield in catch" - print "SUCCESS: loops yield in finally" - print "SUCCESS: loops keep yielding after cancel" - print "SUCCESS: pausing pauses execution at yield for at least a microtask" - print "SUCCESS: yield expressions function expression block async*" - print "SUCCESS: canceling at index early" - print "SUCCESS: canceling does cancel eventually" - print "SUCCESS: canceling at index before end" - print "SUCCESS: basic allows yield*" - print "SUCCESS: loops yield in double loop" - print "SUCCESS: canceling at index - all, sanity check" - print "SUCCESS: canceling at index after end" - print "SUCCESS: canceling at index at end" - print "SUCCESS: await for simple stream" - print "SUCCESS: await for simple stream - take" - print "SUCCESS: yield statement context await for-in-loop" - print "SUCCESS: yield statement context switch-case" - print "SUCCESS: basic multiple" - print "SUCCESS: await for simple stream, await" - print "SUCCESS: await for simple stream reyield" - print "SUCCESS: canceling regression-fugl/fisk" - print "SUCCESS: basic allows yield* of async*" - print "SUCCESS: basic allows await in loop" - print "SUCCESS: await for simple stream, await, reyield" - print "SUCCESS: await for nested" - print "SUCCESS: await for nested, await" - print "SUCCESS: await for nested, await * 2" - { type: message_received value: dart-calling-main timestamp: 0.59 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.591 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.591 } - { type: message_received value: dart-main-done timestamp: 0.591 } - print "SUCCESS: pausing pause stops execution at yield" - print "SUCCESS: pausing pause stops execution at yield 2" - print "unittest-suite-success" - { type: message_received value: unittest-suite-success timestamp: 1.995 } - 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_star_test_03</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_star_test_03" src="/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_03/async_star_test_03.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <body> <h1>Running async_star_test_03</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_03", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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_star_test_03", "dart_sdk", "async_helper"], function(async_star_test_03, 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_star_test_03.async_star_test_03.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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/async_star_test/03 FAILED: dartdevc-chrome-checked release_x64 language_2/string_literals_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 154ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) 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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_string_literals_test/test.html?crossOriginPort=51299 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.352 } - { type: message_received value: dart-main-done timestamp: 0.352 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_string_literals_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/string_literals_test FAILED: dartdevc-chrome-checked release_x64 language_2/super_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 101ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 377ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_super_test/test.html?crossOriginPort=51299 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.343 } - { type: message_received value: dart-main-done timestamp: 0.343 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_super_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/super_test 2019-05-23 09:34:11.439648 Warning: HttpServer: could not find file for request path: "/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_node_validator_important_if_you_suppress_make_the_bug_critical_test/dice.png" 2019-05-23 09:34:12.893485 Warning: HttpServer: could not find file for request path: "/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_worker_test/worker.js" FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/alternative-length-miscalculation_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 246ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 506ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test/test.html?crossOriginPort=51299 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.468 } - { type: message_received value: dart-main-done timestamp: 0.468 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_alternative-length-miscalculation_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/alternative-length-miscalculation_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/many-brackets_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 249ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 411ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_many-brackets_test/test.html?crossOriginPort=51299 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.368 } - { type: message_received value: dart-main-done timestamp: 0.369 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_many-brackets_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/many-brackets_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/regress-6-9-regexp_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 93ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 473ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test/test.html?crossOriginPort=51299 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.43 } - { type: message_received value: dart-main-done timestamp: 0.431 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_regress-6-9-regexp_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/regress-6-9-regexp_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/regress-regexp-construct-result_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 156ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 519ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test/test.html?crossOriginPort=51299 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.459 } - { type: message_received value: dart-main-done timestamp: 0.459 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_regress-regexp-construct-result_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/regress-regexp-construct-result_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/regress-regexp-codeflush_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 138ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 566ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test/test.html?crossOriginPort=51299 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.521 } - { type: message_received value: dart-main-done timestamp: 0.522 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_regress-regexp-codeflush_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/regress-regexp-codeflush_test FAILED: dartdevc-chrome-checked release_x64 language_2/f_bounded_quantification3_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 191ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) 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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_f_bounded_quantification3_test/test.html?crossOriginPort=51299 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.355 } - { type: message_received value: dart-main-done timestamp: 0.355 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_f_bounded_quantification3_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/f_bounded_quantification3_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/extended-characters-more_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 180ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 492ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test/test.html?crossOriginPort=51299 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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_extended-characters-more_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/extended-characters-more_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/non-greedy-parentheses_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 181ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 465ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test/test.html?crossOriginPort=51299 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.427 } - { type: message_received value: dart-main-done timestamp: 0.427 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_non-greedy-parentheses_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/non-greedy-parentheses_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/repeat-match-waldemar_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 215ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 494ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test/test.html?crossOriginPort=51299 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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_repeat-match-waldemar_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/repeat-match-waldemar_test 2019-05-23 09:35:21.578899 Warning: HttpServer: could not find file for request path: "/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_xhr_cross_origin_test/does_not_exist" FAILED: dartdevc-chrome-checked release_x64 corelib_2/error_stack_trace_test/nullThrown Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 134ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/corelib_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown/error_stack_trace_test_nullThrown.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/corelib_2/error_stack_trace_test_nullThrown.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/corelib_2) exit code: 0 --- Command "chrome" (took 386ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown/test.html?crossOriginPort=51299 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.338 } - { type: message_received value: dart-main-done timestamp: 0.338 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_corelib_2_error_stack_trace_test_nullThrown", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/error_stack_trace_test/nullThrown FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/loop-capture_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 224ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 331ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_loop-capture_test/test.html?crossOriginPort=51299 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.295 } - { type: message_received value: dart-main-done timestamp: 0.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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_loop-capture_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/loop-capture_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/bol-with-multiline_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 198ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 472ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test/test.html?crossOriginPort=51299 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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_bol-with-multiline_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/bol-with-multiline_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/stack-overflow_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 174ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 319ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_stack-overflow_test/test.html?crossOriginPort=51299 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.285 } - { type: message_received value: dart-main-done timestamp: 0.285 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_stack-overflow_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/stack-overflow_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/char-insensitive_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 224ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) 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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_char-insensitive_test/test.html?crossOriginPort=51299 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.363 } - { type: message_received value: dart-main-done timestamp: 0.363 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_char-insensitive_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/char-insensitive_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/pcre-test-4_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 592ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 334ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test/test.html?crossOriginPort=51299 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.313 } - { type: message_received value: dart-main-done timestamp: 0.313 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_pcre-test-4_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/pcre-test-4_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/stack-overflow2_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 197ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 430ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test/test.html?crossOriginPort=51299 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.402 } - { type: message_received value: dart-main-done timestamp: 0.402 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_stack-overflow2_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/stack-overflow2_test FAILED: dartdevc-chrome-checked release_x64 language_2/generic_is_check_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 93ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 296ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_generic_is_check_test/test.html?crossOriginPort=51299 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.265 } - { type: message_received value: dart-main-done timestamp: 0.265 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_generic_is_check_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/generic_is_check_test 7046 out of 8459 completed Tests running for 10 minutes FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/extended-characters-match_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 168ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 373ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test/test.html?crossOriginPort=51299 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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_extended-characters-match_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/extended-characters-match_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/range-out-of-order_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 125ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 349ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test/test.html?crossOriginPort=51299 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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_range-out-of-order_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/range-out-of-order_test FAILED: dartdevc-chrome-checked release_x64 language_2/asyncstar_covariant_type_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 173ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 323ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_asyncstar_covariant_type_test/test.html?crossOriginPort=51299 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.294 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.294 } - { type: message_received value: dart-main-done timestamp: 0.294 } - print "unittest-suite-done" - { type: message_received value: unittest-suite-done timestamp: 0.297 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_asyncstar_covariant_type_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/asyncstar_covariant_type_test FAILED: dartdevc-chrome-checked release_x64 language_2/async_star_test/04 Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 01.000460s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_04/async_star_test_04.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/async_star_test_04.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 01.000832s): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_04/test.html?crossOriginPort=51299 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 "unittest-suite-wait-for-done" - print "dart-main-done" - print "SUCCESS: canceling at index at start" - print "SUCCESS: basic empty" - print "SUCCESS: yield statement context dead-code return" - print "SUCCESS: yield statement context dead-code throw" - print "SUCCESS: yield statement context dead-code break" - print "SUCCESS: yield statement context dead-code break 2" - print "SUCCESS: yield statement context dead-code continue" - print "SUCCESS: canceling cancels at yield" - print "SUCCESS: basic single" - print "SUCCESS: basic call delays" - print "SUCCESS: basic Cannot yield* non-stream" - print "SUCCESS: basic Cannot yield* non-stream 2" - print "SUCCESS: yield statement context plain" - print "SUCCESS: yield statement context if-then-else" - print "SUCCESS: yield statement context labeled" - print "SUCCESS: yield expressions local variable" - print "SUCCESS: yield expressions constant variable" - print "SUCCESS: yield expressions function call" - print "SUCCESS: yield expressions unary operator" - print "SUCCESS: yield expressions binary operator" - print "SUCCESS: yield expressions ternary operator" - print "SUCCESS: yield expressions suffix post-increment" - print "SUCCESS: yield expressions suffix pre-increment" - print "SUCCESS: yield expressions assignment" - print "SUCCESS: yield expressions assignment op" - print "SUCCESS: yield expressions index operator" - print "SUCCESS: yield expressions function expression block" - print "SUCCESS: yield expressions function expression arrow" - print "SUCCESS: yield statement context try-catch-finally" - print "SUCCESS: yield statement context try-catch-finally 2" - print "SUCCESS: yield expressions await" - print "SUCCESS: yield expressions function expression block async" - print "SUCCESS: yield expressions function expression arrow async" - print "SUCCESS: basic throws" - print "SUCCESS: basic allows await" - print "SUCCESS: yield statement context block" - print "SUCCESS: yield statement context for-loop" - print "SUCCESS: yield statement context for-in-loop" - print "SUCCESS: yield statement context while-loop" - print "SUCCESS: yield statement context do-while-loop" - print "SUCCESS: loops simple yield" - print "SUCCESS: loops yield in try body" - print "SUCCESS: loops yield in catch" - print "SUCCESS: loops yield in finally" - print "SUCCESS: loops keep yielding after cancel" - print "SUCCESS: pausing pauses execution at yield for at least a microtask" - print "SUCCESS: yield expressions function expression block async*" - print "SUCCESS: canceling at index early" - print "SUCCESS: canceling does cancel eventually" - print "SUCCESS: canceling at index before end" - print "SUCCESS: basic allows yield*" - print "SUCCESS: loops yield in double loop" - print "SUCCESS: canceling at index - all, sanity check" - print "SUCCESS: canceling at index after end" - print "SUCCESS: canceling at index at end" - print "SUCCESS: await for simple stream" - print "SUCCESS: yield statement context await for-in-loop" - print "SUCCESS: yield statement context switch-case" - print "SUCCESS: basic multiple" - print "SUCCESS: await for simple stream, await" - print "SUCCESS: await for simple stream reyield" - print "SUCCESS: await for simple stream - take, reyield" - print "SUCCESS: canceling regression-fugl/fisk" - print "SUCCESS: basic allows yield* of async*" - print "SUCCESS: basic allows await in loop" - print "SUCCESS: await for simple stream, await, reyield" - print "SUCCESS: await for nested" - print "SUCCESS: await for nested, await" - print "SUCCESS: await for nested, await * 2" - { type: message_received value: dart-calling-main timestamp: 0.59 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.59 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.59 } - { type: message_received value: dart-main-done timestamp: 0.59 } - print "SUCCESS: pausing pause stops execution at yield" - print "SUCCESS: pausing pause stops execution at yield 2" - print "unittest-suite-success" - { type: message_received value: unittest-suite-success timestamp: 1.805 } - 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_star_test_04</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_star_test_04" src="/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_04/async_star_test_04.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <body> <h1>Running async_star_test_04</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_04", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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_star_test_04", "dart_sdk", "async_helper"], function(async_star_test_04, 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_star_test_04.async_star_test_04.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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/async_star_test/04 FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/compile-crash_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 219ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 278ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_compile-crash_test/test.html?crossOriginPort=51299 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.247 } - { type: message_received value: dart-main-done timestamp: 0.248 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_compile-crash_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/compile-crash_test FAILED: dartdevc-chrome-checked release_x64 language_2/async_star_test/05 Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 01.000704s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_05/async_star_test_05.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/async_star_test_05.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 01.000976s): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_05/test.html?crossOriginPort=51299 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 "unittest-suite-wait-for-done" - print "dart-main-done" - print "SUCCESS: canceling at index at start" - print "SUCCESS: basic empty" - print "SUCCESS: yield statement context dead-code return" - print "SUCCESS: yield statement context dead-code throw" - print "SUCCESS: yield statement context dead-code break" - print "SUCCESS: yield statement context dead-code break 2" - print "SUCCESS: yield statement context dead-code continue" - print "SUCCESS: canceling cancels at yield" - print "SUCCESS: basic single" - print "SUCCESS: basic call delays" - print "SUCCESS: basic Cannot yield* non-stream" - print "SUCCESS: basic Cannot yield* non-stream 2" - print "SUCCESS: yield statement context plain" - print "SUCCESS: yield statement context if-then-else" - print "SUCCESS: yield statement context labeled" - print "SUCCESS: yield expressions local variable" - print "SUCCESS: yield expressions constant variable" - print "SUCCESS: yield expressions function call" - print "SUCCESS: yield expressions unary operator" - print "SUCCESS: yield expressions binary operator" - print "SUCCESS: yield expressions ternary operator" - print "SUCCESS: yield expressions suffix post-increment" - print "SUCCESS: yield expressions suffix pre-increment" - print "SUCCESS: yield expressions assignment" - print "SUCCESS: yield expressions assignment op" - print "SUCCESS: yield expressions index operator" - print "SUCCESS: yield expressions function expression block" - print "SUCCESS: yield expressions function expression arrow" - print "SUCCESS: yield statement context try-catch-finally" - print "SUCCESS: yield statement context try-catch-finally 2" - print "SUCCESS: yield expressions await" - print "SUCCESS: yield expressions function expression block async" - print "SUCCESS: yield expressions function expression arrow async" - print "SUCCESS: basic throws" - print "SUCCESS: basic allows await" - print "SUCCESS: yield statement context block" - print "SUCCESS: yield statement context for-loop" - print "SUCCESS: yield statement context for-in-loop" - print "SUCCESS: yield statement context while-loop" - print "SUCCESS: yield statement context do-while-loop" - print "SUCCESS: loops simple yield" - print "SUCCESS: loops yield in try body" - print "SUCCESS: loops yield in catch" - print "SUCCESS: loops yield in finally" - print "SUCCESS: loops keep yielding after cancel" - print "SUCCESS: pausing pauses execution at yield for at least a microtask" - print "SUCCESS: yield expressions function expression block async*" - print "SUCCESS: canceling at index early" - print "SUCCESS: canceling does cancel eventually" - print "SUCCESS: canceling at index before end" - print "SUCCESS: basic allows yield*" - print "SUCCESS: loops yield in double loop" - print "SUCCESS: canceling at index - all, sanity check" - print "SUCCESS: canceling at index after end" - print "SUCCESS: canceling at index at end" - print "SUCCESS: await for simple stream" - print "SUCCESS: yield statement context await for-in-loop" - print "SUCCESS: yield statement context switch-case" - print "SUCCESS: basic multiple" - print "SUCCESS: await for simple stream, await" - print "SUCCESS: await for simple stream reyield" - print "SUCCESS: canceling regression-fugl/fisk" - print "SUCCESS: basic allows yield* of async*" - print "SUCCESS: basic allows await in loop" - print "SUCCESS: await for simple stream, await, reyield" - print "SUCCESS: await for nested" - print "SUCCESS: await for nested, await" - print "SUCCESS: await for nested, await * 2" - { 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 } - print "SUCCESS: await for await pauses loop" - print "SUCCESS: pausing pause stops execution at yield" - print "SUCCESS: pausing pause stops execution at yield 2" - print "unittest-suite-success" - { type: message_received value: unittest-suite-success timestamp: 1.951 } - 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_star_test_05</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_star_test_05" src="/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_05/async_star_test_05.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <body> <h1>Running async_star_test_05</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_05", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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_star_test_05", "dart_sdk", "async_helper"], function(async_star_test_05, 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_star_test_05.async_star_test_05.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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/async_star_test/05 FAILED: dartdevc-chrome-checked release_x64 lib_2/html/mediasource_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 179ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/lib_2/html --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_html_mediasource_test/mediasource_test.js /b/s/w/ir/cache/builder/sdk/tests/lib_2/html/mediasource_test.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/lib_2/html) exit code: 0 --- Command "chrome" (took 351ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_mediasource_test/test.html?crossOriginPort=51299 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.331 } - { type: message_received value: dart-main-done timestamp: 0.331 } - 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 mediasource_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="mediasource_test" src="/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_html_mediasource_test/mediasource_test.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <body> <h1>Running mediasource_test</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_html_mediasource_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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(["mediasource_test", "dart_sdk", "async_helper"], function(mediasource_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 = mediasource_test.mediasource_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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome lib_2/html/mediasource_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/invalid-range-in-class_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 197ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 358ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test/test.html?crossOriginPort=51299 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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_invalid-range-in-class_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/invalid-range-in-class_test 2019-05-23 09:37:28.452828 Error: Error from browser on : /BROWSER2, 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.268},{\"type\":\"print\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.268},{\"type\":\"print\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.272},{\"type\":\"print\",\"value\":\"dart-main-done\",\"timestamp\":0.286},{\"type\":\"message_received\",\"value\":\"dart-calling-main\",\"timestamp\":0.288},{\"type\":\"message_received\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.289},{\"type\":\"message_received\",\"value\":\"unittest-suite-wait-for-done\",\"timestamp\":0.289},{\"type\":\"message_received\",\"value\":\"dart-main-done\",\"timestamp\":0.291},{\"type\":\"print\",\"value\":\"unittest-suite-success\",\"timestamp\":0.295},{\"type\":\"message_received\",\"value\":\"unittest-suite-success\",\"timestamp\":0.296},{\"type\":\"debug\",\"value\":\"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)\",\"timestamp\":0.296},{\"type\":\"print\",\"value\":\"unittest-suite-done\",\"timestamp\":0.303},{\"type\":\"message_received\",\"value\":\"unittest-suite-done\",\"timestamp\":0.305},{\"type\":\"debug\",\"value\":\"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)\",\"timestamp\":0.305},{\"type\":\"dom\",\"value\":\"<head>\\n <meta http-equiv=\\\"X-UA-Compatible\\\" content=\\\"IE=edge\\\">\\n <meta name=\\\"dart.unittest\\\" content=\\\"full-stack-traces\\\">\\n <title>Test await_for_cancel_test</title>\\n <style>\\n .unittest-table { font-family:monospace; border:1px; }\\n .unittest-pass { background: #6b3;}\\n .unittest-fail { background: #d55;}\\n .unittest-error { background: #a11;}\\n </style>\\n<script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"await_for_cancel_test\\\" src=\\\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_for_cancel_test/await_for_cancel_test.js\\\"></script><script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"dart_sdk\\\" src=\\\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\\\"></script><script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"async_helper\\\" src=\\\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\\\"></script><script type=\\\"text/javascript\\\" charset=\\\"utf-8\\\" async=\\\"\\\" data-requirecontext=\\\"_\\\" data-requiremodule=\\\"expect\\\" src=\\\"/root_build/gen/utils/dartdevc/pkg/expect.js\\\"></script></head>\\n<body>\\n<h1>Running await_for_cancel_test</h1>\\n<script type=\\\"text/javascript\\\" src=\\\"/root_dart/tools/testing/dart/test_controller.js\\\">\\n</script>\\n<script>\\nvar require = {\\n baseUrl: \\\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_for_cancel_test\\\",\\n paths: {\\n \\\"dart_sdk\\\": \\\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\\\",\\n \\\"async_helper\\\": \\\"/root_build/gen/utils/dartdevc/pkg/async_helper\\\",\\n \\\"collection\\\": \\\"/root_build/gen/utils/dartdevc/pkg/collection\\\",\\n \\\"expect\\\": \\\"/root_build/gen/utils/dartdevc/pkg/expect\\\",\\n \\\"js\\\": \\\"/root_build/gen/utils/dartdevc/pkg/js\\\",\\n \\\"matcher\\\": \\\"/root_build/gen/utils/dartdevc/pkg/matcher\\\",\\n \\\"meta\\\": \\\"/root_build/gen/utils/dartdevc/pkg/meta\\\",\\n \\\"path\\\": \\\"/root_build/gen/utils/dartdevc/pkg/path\\\",\\n \\\"stack_trace\\\": \\\"/root_build/gen/utils/dartdevc/pkg/stack_trace\\\",\\n \\\"unittest\\\": \\\"/root_build/gen/utils/dartdevc/pkg/unittest\\\",\\n },\\n waitSeconds: 30,\\n};\\n\\n// Don't try to bring up the debugger on a runtime error.\\nwindow.ddcSettings = {\\n trapRuntimeErrors: false\\n};\\n</script>\\n<script type=\\\"text/javascript\\\" src=\\\"/root_dart/third_party/requirejs/require.js\\\"></script>\\n<script type=\\\"text/javascript\\\">\\nrequirejs([\\\"await_for_cancel_test\\\", \\\"dart_sdk\\\", \\\"async_helper\\\"],\\n function(await_for_cancel_test, sdk, async_helper) {\\n sdk.dart.ignoreWhitelistedErrors(false);\\n sdk._isolate_helper.startRootIsolate(function() {}, []);\\n sdk._debugger.registerDevtoolsFormatter();\\n\\n testErrorToStackTrace = function(error) {\\n var stackTrace = sdk.dart.stackTrace(error).toString();\\n \\n var lines = stackTrace.split(\\\"\\\\n\\\");\\n \\n // Remove the first line, which is just \\\"Error\\\".\\n lines = lines.slice(1);\\n\\n // Strip off all of the lines for the bowels of the test runner.\\n for (var i = 0; i < lines.length; i++) {\\n if (lines[i].indexOf(\\\"dartMainRunner\\\") != -1) {\\n lines = lines.slice(0, i);\\n break;\\n }\\n }\\n \\n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\\n // lines too.\\n return lines.join(\\\"\\\\n\\\");\\n };\\n\\n let pendingCallbacks = 0;\\n let waitForDone = false, isDone = false;\\n\\n sdk.dart.addAsyncCallback = function() {\\n pendingCallbacks++;\\n if (!waitForDone) {\\n // When the first callback is added, signal that test_controller.js\\n // should wait until done.\\n waitForDone = true;\\n dartPrint('unittest-suite-wait-for-done');\\n }\\n };\\n\\n sdk.dart.removeAsyncCallback = function() {\\n if (--pendingCallbacks <= 0) {\\n // We might be done with async callbacks. Schedule a task to check.\\n // Note: can't use a Promise here, because the unhandled rejection event\\n // is fired as a task, rather than a microtask. `setTimeout` will create a\\n // task, giving an unhandled promise reject time to fire before this does.\\n setTimeout(() => {\\n if (pendingCallbacks <= 0 && !isDone) {\\n isDone = true;\\n dartPrint('unittest-suite-done');\\n }\\n }, 0);\\n }\\n };\\n\\n dartMainRunner(function testMainWrapper() {\\n // Some callbacks are not scheduled with timers/microtasks, so they don't\\n // go through our async tracking (e.g. DOM events). For those tests, check\\n // if the result of calling `main()` is a Future, and if so, wait for it.\\n let result = await_for_cancel_test.await_for_cancel_test.main();\\n if (sdk.async.Future.is(result)) {\\n sdk.dart.addAsyncCallback();\\n result.whenComplete(sdk.dart.removeAsyncCallback);\\n }\\n return result;\\n });\\n});\\n</script>\\n\\n\\n</body>\",\"timestamp\":0.305}]","is_first_message":false,"is_status_update":false,"is_done":true} FAILED: dartdevc-chrome-checked release_x64 language_2/exception_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 143ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 385ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_exception_test/test.html?crossOriginPort=51299 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: 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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_exception_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/exception_test FAILED: dartdevc-chrome-checked release_x64 language_2/function_subtype_inline2_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 375ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 307ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_function_subtype_inline2_test/test.html?crossOriginPort=51299 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.275 } - { type: message_received value: dart-main-done timestamp: 0.275 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_function_subtype_inline2_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/function_subtype_inline2_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/non-capturing-groups_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 333ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 288ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test/test.html?crossOriginPort=51299 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.26 } - { type: message_received value: dart-main-done timestamp: 0.261 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_non-capturing-groups_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/non-capturing-groups_test FAILED: dartdevc-chrome-checked release_x64 language_2/example_constructor_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 234ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 358ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_example_constructor_test/test.html?crossOriginPort=51299 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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_example_constructor_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/example_constructor_test FAILED: dartdevc-chrome-checked release_x64 language_2/function_propagation_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 404ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 278ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_function_propagation_test/test.html?crossOriginPort=51299 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.258 } - { type: message_received value: dart-main-done timestamp: 0.258 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_function_propagation_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/function_propagation_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/early-acid3-86_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 143ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 330ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test/test.html?crossOriginPort=51299 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.286 } - { type: message_received value: dart-main-done timestamp: 0.286 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_early-acid3-86_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/early-acid3-86_test FAILED: dartdevc-chrome-checked release_x64 language_2/async_star_test/none Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 01.000741s): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_none/async_star_test_none.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/async_star_test_none.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 01.000862s): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_none/test.html?crossOriginPort=51299 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 "unittest-suite-wait-for-done" - print "dart-main-done" - print "SUCCESS: canceling at index at start" - print "SUCCESS: basic empty" - print "SUCCESS: yield statement context dead-code return" - print "SUCCESS: yield statement context dead-code throw" - print "SUCCESS: yield statement context dead-code break" - print "SUCCESS: yield statement context dead-code break 2" - print "SUCCESS: yield statement context dead-code continue" - print "SUCCESS: canceling cancels at yield" - print "SUCCESS: basic single" - print "SUCCESS: basic call delays" - print "SUCCESS: basic Cannot yield* non-stream" - print "SUCCESS: basic Cannot yield* non-stream 2" - print "SUCCESS: yield statement context plain" - print "SUCCESS: yield statement context if-then-else" - print "SUCCESS: yield statement context labeled" - print "SUCCESS: yield expressions local variable" - print "SUCCESS: yield expressions constant variable" - print "SUCCESS: yield expressions function call" - print "SUCCESS: yield expressions unary operator" - print "SUCCESS: yield expressions binary operator" - print "SUCCESS: yield expressions ternary operator" - print "SUCCESS: yield expressions suffix post-increment" - print "SUCCESS: yield expressions suffix pre-increment" - print "SUCCESS: yield expressions assignment" - print "SUCCESS: yield expressions assignment op" - print "SUCCESS: yield expressions index operator" - print "SUCCESS: yield expressions function expression block" - print "SUCCESS: yield expressions function expression arrow" - print "SUCCESS: yield statement context try-catch-finally" - print "SUCCESS: yield statement context try-catch-finally 2" - print "SUCCESS: yield expressions await" - print "SUCCESS: yield expressions function expression block async" - print "SUCCESS: yield expressions function expression arrow async" - print "SUCCESS: basic throws" - print "SUCCESS: basic allows await" - print "SUCCESS: yield statement context block" - print "SUCCESS: yield statement context for-loop" - print "SUCCESS: yield statement context for-in-loop" - print "SUCCESS: yield statement context while-loop" - print "SUCCESS: yield statement context do-while-loop" - print "SUCCESS: loops simple yield" - print "SUCCESS: loops yield in try body" - print "SUCCESS: loops yield in catch" - print "SUCCESS: loops yield in finally" - print "SUCCESS: loops keep yielding after cancel" - print "SUCCESS: pausing pauses execution at yield for at least a microtask" - print "SUCCESS: yield expressions function expression block async*" - print "SUCCESS: canceling at index early" - print "SUCCESS: canceling does cancel eventually" - print "SUCCESS: canceling at index before end" - print "SUCCESS: basic allows yield*" - print "SUCCESS: loops yield in double loop" - print "SUCCESS: canceling at index - all, sanity check" - print "SUCCESS: canceling at index after end" - print "SUCCESS: canceling at index at end" - print "SUCCESS: await for simple stream" - print "SUCCESS: yield statement context await for-in-loop" - print "SUCCESS: yield statement context switch-case" - print "SUCCESS: basic multiple" - print "SUCCESS: await for simple stream, await" - print "SUCCESS: await for simple stream reyield" - print "SUCCESS: canceling regression-fugl/fisk" - print "SUCCESS: basic allows yield* of async*" - print "SUCCESS: basic allows await in loop" - print "SUCCESS: await for simple stream, await, reyield" - print "SUCCESS: await for nested" - print "SUCCESS: await for nested, await" - print "SUCCESS: await for nested, await * 2" - { type: message_received value: dart-calling-main timestamp: 0.481 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.481 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.481 } - { type: message_received value: dart-main-done timestamp: 0.484 } - print "SUCCESS: pausing pause stops execution at yield" - print "SUCCESS: pausing pause stops execution at yield 2" - print "unittest-suite-success" - { type: message_received value: unittest-suite-success timestamp: 1.838 } - 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_star_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="async_star_test_none" src="/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_none/async_star_test_none.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <body> <h1>Running async_star_test_none</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_none", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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_star_test_none", "dart_sdk", "async_helper"], function(async_star_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 = async_star_test_none.async_star_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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/async_star_test/none FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/non-bmp_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 137ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 299ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_non-bmp_test/test.html?crossOriginPort=51299 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.276 } - { type: message_received value: dart-main-done timestamp: 0.276 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_non-bmp_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/non-bmp_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/no-extensions_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 203ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 398ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_no-extensions_test/test.html?crossOriginPort=51299 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.36 } - { type: message_received value: dart-main-done timestamp: 0.361 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_no-extensions_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/no-extensions_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/non-capturing-backtracking_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 153ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 356ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test/test.html?crossOriginPort=51299 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.329 } - { type: message_received value: dart-main-done timestamp: 0.329 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_non-capturing-backtracking_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/non-capturing-backtracking_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/lookbehind_test/01 Expected: Pass Actual: RuntimeError --- Command "dartdevc" (took 597ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_corelib_2_regexp_lookbehind_test_01/lookbehind_test_01.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/corelib_2/regexp/lookbehind_test_01.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 413ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_corelib_2_regexp_lookbehind_test_01/test.html?crossOriginPort=51299 Runtime error: Error: Expect.throws(Test null) fails: Did not throw at Object.dart.throw (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4560:11) at Function._fail (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/pkg/expect.js:461:17) at Function.throws (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/pkg/expect.js:390:21) at Object.v8_regexp_utils.assertThrows (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_corelib_2_regexp_lookbehind_test_01/lookbehind_test_01.js:292:20) at Object.lookbehind_test_01.main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_corelib_2_regexp_lookbehind_test_01/lookbehind_test_01.js:272:21) at testMainWrapper (http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_corelib_2_regexp_lookbehind_test_01/test.html?crossOriginPort=51299:104:56) 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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/lookbehind_test/01 FAILED: dartdevc-chrome-checked release_x64 language_2/syncstar_covariant_type_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 130ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/language_2) exit code: 0 --- Command "chrome" (took 318ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_syncstar_covariant_type_test/test.html?crossOriginPort=51299 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.295 } - { type: message_received value: dart-main-done timestamp: 0.295 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_syncstar_covariant_type_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/syncstar_covariant_type_test FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/negative-special-characters_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 187ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 337ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test/test.html?crossOriginPort=51299 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.31 } - { type: message_received value: dart-main-done timestamp: 0.311 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_negative-special-characters_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/negative-special-characters_test FAILED: dartdevc-chrome-checked release_x64 language_2/const_cast2_test/none Expected: CompileTimeError Actual: Pass --- Command "dartdevc" (took 141ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2 --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_const_cast2_test_none/const_cast2_test_none.js /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2/const_cast2_test_none.dart -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_tests/language_2) exit code: 0 --- Command "chrome" (took 276ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_const_cast2_test_none/test.html?crossOriginPort=51299 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.253 } - { type: message_received value: dart-main-done timestamp: 0.254 } - 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_cast2_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="const_cast2_test_none" src="/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_const_cast2_test_none/const_cast2_test_none.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="dart_sdk" src="/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script></head> <body> <h1>Running const_cast2_test_none</h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script> var require = { baseUrl: "/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_const_cast2_test_none", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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_cast2_test_none", "dart_sdk", "async_helper"], function(const_cast2_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 = const_cast2_test_none.const_cast2_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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome language_2/const_cast2_test/none FAILED: dartdevc-chrome-checked release_x64 corelib_2/regexp/unicode-handling_test Expected: RuntimeError Actual: Pass --- Command "dartdevc" (took 157ms): DART_CONFIGURATION=ReleaseX64 xcodebuild/ReleaseX64/dart-sdk/bin/dartdevc --library-root /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp --ignore-unrecognized-flags --no-summarize --no-source-map -o /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/async_helper.sum=async_helper -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/collection.sum=collection -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/expect.sum=expect -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/js.sum=js -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/matcher.sum=matcher -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/meta.sum=meta -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/path.sum=path -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/stack_trace.sum=stack_trace -s /b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/gen/utils/dartdevc/pkg/unittest.sum=unittest (working directory: /b/s/w/ir/cache/builder/sdk/tests/corelib_2/regexp) exit code: 0 --- Command "chrome" (took 315ms): /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:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_regexp_unicode-handling_test/test.html?crossOriginPort=51299 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.29 } - { type: message_received value: dart-main-done timestamp: 0.29 } - 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="async_helper" src="/root_build/gen/utils/dartdevc/pkg/async_helper.js"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="expect" src="/root_build/gen/utils/dartdevc/pkg/expect.js"></script></head> <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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_corelib_2_regexp_unicode-handling_test", paths: { "dart_sdk": "/root_build/gen/utils/dartdevc/js/amd/dart_sdk", "async_helper": "/root_build/gen/utils/dartdevc/pkg/async_helper", "collection": "/root_build/gen/utils/dartdevc/pkg/collection", "expect": "/root_build/gen/utils/dartdevc/pkg/expect", "js": "/root_build/gen/utils/dartdevc/pkg/js", "matcher": "/root_build/gen/utils/dartdevc/pkg/matcher", "meta": "/root_build/gen/utils/dartdevc/pkg/meta", "path": "/root_build/gen/utils/dartdevc/pkg/path", "stack_trace": "/root_build/gen/utils/dartdevc/pkg/stack_trace", "unittest": "/root_build/gen/utils/dartdevc/pkg/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 51298 -c 51299 --network 127.0.0.1 --build-directory=/b/s/w/ir/cache/builder/sdk/xcodebuild/ReleaseX64/ --runtime=chrome --packages=/b/s/w/ir/cache/builder/sdk/.packages --- Re-run this test: python tools/test.py -n dartdevc-checked-mac-release-chrome corelib_2/regexp/unicode-handling_test Double reporting tests http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_and_or_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_break_in_finally_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_call_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_error_timing_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_await_test_none/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_condition/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_async_star_await_for_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_async_star_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_return_types_test_none/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_regression_23116_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_this_bound_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_regression_fisk_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_postfix_expr_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_for_use_local_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_switch_test_none/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_future_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_throw_in_catch_test_forceAwait/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_01/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_control_flow_collections_if_await_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_constant_list_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_shadow_load_library_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_shared_and_unshared_classes_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_none/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new_generic1/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_type_annotation_non_deferred/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_issue23244_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_spread_collections_await_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_async_no_await_zones_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors13_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors17_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors15_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors21_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors14_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors7_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors4_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors27_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_foreach_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_value_chain2_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_intercept_schedule_microtask5_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_periodic_timer2_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace03_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace08_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace11_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace14_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace25_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace20_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace01_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_from_futures_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_event_transformed_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_iterator_double_cancel_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_slow_consumer3_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_join_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_iterator_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_periodic2_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_periodic6_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_periodic_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_periodic5_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_periodic3_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_from_iterable_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_transformer_from_bind_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_lib_2_async_stream_first_where_test_none/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_take_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_view_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_future_schedule_microtask_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_convert_encoding_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_encode1_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=51299&group=arc http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_events_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_fileapi_file_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_indexeddb_3_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_corelib_2_stacktrace_fromstring_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_async_star_cancel_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_await_pauses_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_03/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_utf8_decode_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_flatten_test_01/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors6_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_value_chain4_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_value_chain3_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace06_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace05_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace17_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_distinct_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_bind_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_canvas_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_cssstyledeclaration_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=51299&group=pixel_manipulation http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=51299&group=click http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=51299&group=attributes http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_indexeddb_4_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_worker_test/test.html?crossOriginPort=51299&group=functional http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_asyncstar_yieldstar_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_no_cancel2_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_for_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_conditional_import_string_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_redirecting_factory_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_async_await_sync_completer_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_microtask_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_schedule_microtask2_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace19_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors28_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_lib_2_async_stream_last_where_test_none/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=51299&group=constructors http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_js_array_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_update/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_stream_take_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_exceptions_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_regression_2238_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_no_such_method_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors24_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors23_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors12_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace16_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace15_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_listen_zone_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_subscription_as_future_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_zones_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_create_timer2_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_fontface_loaded_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_form_data_test/test.html?crossOriginPort=51299&group=supported http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_xhr_cross_origin_test/test.html?crossOriginPort=51299&group=supported http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_xhr_cross_origin_test/test.html?crossOriginPort=51299&group=functional http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_timer_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_init/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_started_immediately_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_global_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_mixin_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors22_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors20_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_intercept_schedule_microtask6_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors8_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace07_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace21_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_state_nonzero_timer_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_create_timer_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_create_periodic_timer_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_empty_description2_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=51299&group=drawImage_canvas_element http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=51299&group=drawImage_image_element http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_fileapi_directory_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_file_sample_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_utf8_encode_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_isolates_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_utf8_decode_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_assert_message_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_take_reyield_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_regress_24935_test_01/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors11_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors5_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_intercept_schedule_microtask4_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_run_zoned8_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_run_guarded_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_state_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace24_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_animate_test/test.html?crossOriginPort=51299&group=timing_dict http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=51299&group=eventListening http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=51299&group=dynamic http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_js_dart_to_string_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_body/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_continue_label_test_none/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_switch_test_withDefault/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_async_await_zones_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_null_future_zone_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace12_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace23_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace18_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_timer_cancel1_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_run_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_animate_test/test.html?crossOriginPort=51299&group=omit_timing http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_canvasrenderingcontext2d_test/test.html?crossOriginPort=51299&group=fillText http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=51299&group=eventDelegation http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_event_customevent_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_gamepad_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_throw_in_catch_test_none/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_error_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_04/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_null_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_closurize_load_library_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_regress_22777_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_intercept_schedule_microtask3_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_schedule_microtask3_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_schedule_microtask_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_schedule_microtask5_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_wait_for_cancel_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_debug_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_async_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_fileapi_supported_throws_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_fileapi_supported_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_touchevent_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_await_test_03/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_05/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors2_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_constructor2_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace09_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace13_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_empty_description_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_convert_streamed_conversion_json_decode1_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=51299&group=matches http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_form_data_test/test.html?crossOriginPort=51299&group=functional http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_interactive_test/test.html?crossOriginPort=51299&group=KeyEvent http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_storage_promise_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_regression_23058_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_flatten_test_04/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_yieldstar_pause_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace04_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors19_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_css_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_fileapi_file_entry_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_history_test/test.html?crossOriginPort=51299&group=supported_state http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_asyncstar_yield_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_issue28498_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_regress_26175_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace22_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_subscription_cancel_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_periodic_timer3_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_animate_test/test.html?crossOriginPort=51299&group=simple_timing http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_animate_test/test.html?crossOriginPort=51299&group=animate_supported http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_multiple_timer_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_cancel_while_paused_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_control_flow_collections_for_await_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_static_method/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace10_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_empty_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_transformation_broadcast_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_async_spawnuri_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=51299&group=typed http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_await_foreign_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors3_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_error_callback_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=51299&group=querySelectorAll http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_timer_isActive_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_slow_consumer_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_regress_22443_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors26_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors16_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_transformer_from_handlers_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors18_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_filereader_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_indexeddb_2_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_await_catch_regression_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_asyncstar_concat_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_none/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_transform_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=51299&group=_ElementList http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_js_interop_1_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_history_test/test.html?crossOriginPort=51299&group=history http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_nonfuture_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_inference_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_single_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_fileapi_entry_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_none/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors25_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_controller_async_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_pause_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_no_cancel_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=51299&group=position http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_cancel_and_throw_in_finally_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_async_star_invalid_test_03/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_value_chain_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_delayed_error_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_history_test/test.html?crossOriginPort=51299&group=supported_HashChangeEvent http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_await_test_02/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=51299&group=supported http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_websocket_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_conditional_import_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_regress_23996_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=51299&group=functional http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=51299&group=children http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_indexeddb_5_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_indexeddb_1_test/test.html?crossOriginPort=51299&group=functional http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_run_zoned7_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace02_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_worker_test/test.html?crossOriginPort=51299&group=supported http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_zone_run_unary_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_single_to_multi_subscriber_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_periodic4_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_worker_api_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_labeled_variable_declaration_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_element_test/test.html?crossOriginPort=51299&group=ElementList http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stream_controller_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_xhr_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_html_fileapi_directory_reader_test/test.html?crossOriginPort=51299 http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_02/test.html?crossOriginPort=51299 2019-05-23 09:38:52.115841 Warning: Double reporting tests: 2019-05-23 09:38:52.115911 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_and_or_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.115937 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.633},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.634},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.641},{"type":"print","value":"dart-main-done","timestamp":0.656},{"type":"print","value":"unittest-suite-success","timestamp":0.668},{"type":"message_received","value":"dart-calling-main","timestamp":0.67},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.673},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.673},{"type":"message_received","value":"dart-main-done","timestamp":0.674},{"type":"message_received","value":"unittest-suite-success","timestamp":0.674},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.674},{"type":"print","value":"unittest-suite-done","timestamp":0.677},{"type":"message_received","value":"unittest-suite-done","timestamp":0.679},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.68},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_and_or_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_and_or_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_and_or_test/async_and_or_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_and_or_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_and_or_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_and_or_test\", \"dart_sdk\", \"async_helper\"],\n function(async_and_or_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_and_or_test.async_and_or_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.68}] 2019-05-23 09:38:52.115963 Warning: 2019-05-23 09:38:52.115979 Warning: 2019-05-23 09:38:52.115996 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_break_in_finally_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.116011 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.57},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.571},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.575},{"type":"print","value":"dart-main-done","timestamp":0.581},{"type":"print","value":"unittest-suite-success","timestamp":0.585},{"type":"message_received","value":"dart-calling-main","timestamp":0.585},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.585},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.585},{"type":"message_received","value":"dart-main-done","timestamp":0.586},{"type":"message_received","value":"unittest-suite-success","timestamp":0.586},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.586},{"type":"print","value":"unittest-suite-done","timestamp":0.587},{"type":"message_received","value":"unittest-suite-done","timestamp":0.588},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.588},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_break_in_finally_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_break_in_finally_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_break_in_finally_test/async_break_in_finally_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_break_in_finally_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_break_in_finally_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_break_in_finally_test\", \"dart_sdk\", \"async_helper\"],\n function(async_break_in_finally_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_break_in_finally_test.async_break_in_finally_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.588}] 2019-05-23 09:38:52.116039 Warning: 2019-05-23 09:38:52.116056 Warning: 2019-05-23 09:38:52.116073 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_call_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.116089 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.615},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.615},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.617},{"type":"print","value":"dart-main-done","timestamp":0.621},{"type":"message_received","value":"dart-calling-main","timestamp":0.623},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.623},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.623},{"type":"message_received","value":"dart-main-done","timestamp":0.623},{"type":"print","value":"unittest-suite-success","timestamp":0.624},{"type":"message_received","value":"unittest-suite-success","timestamp":0.624},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.625},{"type":"print","value":"unittest-suite-done","timestamp":0.626},{"type":"message_received","value":"unittest-suite-done","timestamp":0.627},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.627},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_call_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_call_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_call_test/async_call_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_call_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_call_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_call_test\", \"dart_sdk\", \"async_helper\"],\n function(async_call_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_call_test.async_call_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.627}] 2019-05-23 09:38:52.116110 Warning: 2019-05-23 09:38:52.116126 Warning: 2019-05-23 09:38:52.116142 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_error_timing_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.116158 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.61},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.611},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.612},{"type":"print","value":"dart-main-done","timestamp":0.615},{"type":"print","value":"unittest-suite-success","timestamp":0.621},{"type":"message_received","value":"dart-calling-main","timestamp":0.621},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.621},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.622},{"type":"message_received","value":"dart-main-done","timestamp":0.622},{"type":"message_received","value":"unittest-suite-success","timestamp":0.623},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.623},{"type":"print","value":"unittest-suite-done","timestamp":0.623},{"type":"message_received","value":"unittest-suite-done","timestamp":0.624},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.624},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_error_timing_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_error_timing_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_error_timing_test/async_error_timing_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_error_timing_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_error_timing_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_error_timing_test\", \"dart_sdk\", \"async_helper\"],\n function(async_error_timing_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_error_timing_test.async_error_timing_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.624}] 2019-05-23 09:38:52.116179 Warning: 2019-05-23 09:38:52.116194 Warning: 2019-05-23 09:38:52.116210 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_await_test_none/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.116225 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.617},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.635},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.65},{"type":"print","value":"dart-main-done","timestamp":0.928},{"type":"print","value":"unittest-suite-success","timestamp":1},{"type":"message_received","value":"dart-calling-main","timestamp":1.005},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.008},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.009},{"type":"message_received","value":"dart-main-done","timestamp":1.009},{"type":"message_received","value":"unittest-suite-success","timestamp":1.009},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.009},{"type":"print","value":"unittest-suite-done","timestamp":1.01},{"type":"message_received","value":"unittest-suite-done","timestamp":1.011},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.011},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_await_test_none</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_await_test_none\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_await_test_none/async_await_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_await_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_await_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_await_test_none\", \"dart_sdk\", \"async_helper\"],\n function(async_await_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_await_test_none.async_await_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.011}] 2019-05-23 09:38:52.116245 Warning: 2019-05-23 09:38:52.116260 Warning: 2019-05-23 09:38:52.116276 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_continue_label_test_await_in_condition/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.116292 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.543},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.544},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.545},{"type":"print","value":"dart-main-done","timestamp":0.553},{"type":"print","value":"unittest-suite-success","timestamp":0.556},{"type":"message_received","value":"dart-calling-main","timestamp":0.557},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.558},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.558},{"type":"message_received","value":"dart-main-done","timestamp":0.558},{"type":"message_received","value":"unittest-suite-success","timestamp":0.558},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.558},{"type":"print","value":"unittest-suite-done","timestamp":0.559},{"type":"message_received","value":"unittest-suite-done","timestamp":0.56},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.56},{"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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_continue_label_test_await_in_condition/async_continue_label_test_await_in_condition.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_continue_label_test_await_in_condition</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_continue_label_test_await_in_condition\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_continue_label_test_await_in_condition\", \"dart_sdk\", \"async_helper\"],\n function(async_continue_label_test_await_in_condition, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_continue_label_test_await_in_condition.async_continue_label_test_await_in_condition.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.561}] 2019-05-23 09:38:52.116312 Warning: 2019-05-23 09:38:52.116327 Warning: 2019-05-23 09:38:52.116343 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_async_star_await_for_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.116359 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.396},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.398},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.401},{"type":"print","value":"dart-main-done","timestamp":0.403},{"type":"message_received","value":"dart-calling-main","timestamp":0.41},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.41},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.41},{"type":"message_received","value":"dart-main-done","timestamp":0.41},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: FAILURE:\nExpect.equals(at index 9: Expected <...(^?1!1p1[]?2!2?3!3$)...>, Found: <...(^?1!1p1[?2]!2?3!3$)...>, 'pause at 1 (did not pause in time)') fails.\nError\n at Function.get current [as current] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41278:30)\n at Function.equals (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:121:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561: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:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41278:30)\n at Function.equals (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:142:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561: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:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41278:30)\n at Function.equals (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:166:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561: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:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41278:30)\n at Function.equals (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:187:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561: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:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41278:30)\n at Function.equals (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:213:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561: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:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41278:30)\n at Function.equals (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:238:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561: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:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41278:30)\n at Function.equals (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:259:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561: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:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41278:30)\n at Function.equals (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:285:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561: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:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41278:30)\n at Function.equals (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:306:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561: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:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41278:30)\n at Function.equals (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:326:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561: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:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41278:30)\n at Function.equals (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:351:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561: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:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:41278:30)\n at Function.equals (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:399:39)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:372:43)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561:9)\nExpectations failed: 12, succeeded: 1\n\n at Object.dart.throw (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4560:11)\n at Function.summarize (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:389:19)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js:374:41)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at _Future.new.[_complete] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24640:25)\n at async.Timer.new.dart.fn (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:23922:30)\n at internalCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:15561:9)\n\n","timestamp":1.168},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.168},{"type":"print","value":"unittest-suite-done","timestamp":1.171},{"type":"message_received","value":"unittest-suite-done","timestamp":1.171},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.171},{"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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test/async_star_await_for_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_await_for_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_await_for_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_await_for_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_await_for_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_await_for_test.async_star_await_for_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.171}] 2019-05-23 09:38:52.117097 Warning: 2019-05-23 09:38:52.117122 Warning: 2019-05-23 09:38:52.117140 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_async_star_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.117156 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.549},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.551},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.557},{"type":"print","value":"dart-main-done","timestamp":0.559},{"type":"message_received","value":"dart-calling-main","timestamp":0.586},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.586},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.586},{"type":"message_received","value":"dart-main-done","timestamp":0.586},{"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:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4560:11)\n at Function._fail (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/pkg/expect.js:461:17)\n at Function.listEquals (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/pkg/expect.js:250:25)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_test/async_star_test.js:225:24)\n at main.next (<anonymous>)\n at onValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22387:33)\n at async._RootZone.new.runUnary (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:28536:59)\n at _FutureListener.then.handleValue (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24293:29)\n at handleValueCallback (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24757:49)\n at Function._propagateToListeners (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24789:17)\n at async._AsyncCallbackEntry.new.(anonymous function).scheduleMicrotask.dart.fn [as callback] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:24542:27)\n at Object.async._microtaskLoop (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25002:13)\n at async._startMicrotaskLoop (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25008:13)\n at dart.global.Promise.resolve.then (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:25083:9)\n\n","timestamp":0.642},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.642},{"type":"print","value":"unittest-suite-done","timestamp":0.644},{"type":"message_received","value":"unittest-suite-done","timestamp":0.645},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.647},{"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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_test/async_star_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_async_star_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_test.async_star_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.647}] 2019-05-23 09:38:52.118314 Warning: 2019-05-23 09:38:52.118348 Warning: 2019-05-23 09:38:52.118368 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_return_types_test_none/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.118385 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.484},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.484},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.484},{"type":"print","value":"dart-main-done","timestamp":0.487},{"type":"print","value":"unittest-suite-success","timestamp":0.506},{"type":"message_received","value":"dart-calling-main","timestamp":0.506},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.507},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.507},{"type":"message_received","value":"dart-main-done","timestamp":0.508},{"type":"message_received","value":"unittest-suite-success","timestamp":0.508},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.508},{"type":"print","value":"unittest-suite-done","timestamp":0.508},{"type":"message_received","value":"unittest-suite-done","timestamp":0.508},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.508},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_return_types_test_none/async_return_types_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_return_types_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_return_types_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_return_types_test_none\", \"dart_sdk\", \"async_helper\"],\n function(async_return_types_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_return_types_test_none.async_return_types_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.508}] 2019-05-23 09:38:52.118408 Warning: 2019-05-23 09:38:52.118423 Warning: 2019-05-23 09:38:52.118440 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_regression_23116_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.118455 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.421},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.422},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.439},{"type":"print","value":"dart-main-done","timestamp":0.464},{"type":"print","value":"unittest-suite-success","timestamp":0.472},{"type":"message_received","value":"dart-calling-main","timestamp":0.474},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.474},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.474},{"type":"message_received","value":"dart-main-done","timestamp":0.474},{"type":"message_received","value":"unittest-suite-success","timestamp":0.475},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.475},{"type":"print","value":"unittest-suite-done","timestamp":0.475},{"type":"message_received","value":"unittest-suite-done","timestamp":0.477},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.477},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_regression_23116_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_regression_23116_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_regression_23116_test/async_star_regression_23116_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_regression_23116_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_regression_23116_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_regression_23116_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_regression_23116_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_regression_23116_test.async_star_regression_23116_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.477}] 2019-05-23 09:38:52.118762 Warning: 2019-05-23 09:38:52.118793 Warning: 2019-05-23 09:38:52.118813 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_this_bound_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.118830 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.48},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.481},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.482},{"type":"print","value":"dart-main-done","timestamp":0.488},{"type":"print","value":"unittest-suite-success","timestamp":0.492},{"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.493},{"type":"print","value":"unittest-suite-done","timestamp":0.494},{"type":"message_received","value":"unittest-suite-done","timestamp":0.495},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.495},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_this_bound_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_this_bound_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_this_bound_test/async_this_bound_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_this_bound_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_this_bound_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_this_bound_test\", \"dart_sdk\", \"async_helper\"],\n function(async_this_bound_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_this_bound_test.async_this_bound_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.495}] 2019-05-23 09:38:52.118852 Warning: 2019-05-23 09:38:52.118868 Warning: 2019-05-23 09:38:52.118885 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_async_star_regression_fisk_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.118901 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.563},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.564},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.572},{"type":"print","value":"dart-main-done","timestamp":0.572},{"type":"print","value":"unittest-suite-success","timestamp":0.582},{"type":"message_received","value":"dart-calling-main","timestamp":0.584},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.584},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.584},{"type":"message_received","value":"dart-main-done","timestamp":0.585},{"type":"message_received","value":"unittest-suite-success","timestamp":0.585},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.585},{"type":"print","value":"unittest-suite-done","timestamp":0.586},{"type":"message_received","value":"unittest-suite-done","timestamp":0.587},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.587},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_star_regression_fisk_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_star_regression_fisk_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_regression_fisk_test/async_star_regression_fisk_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_regression_fisk_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_async_star_regression_fisk_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_regression_fisk_test\", \"dart_sdk\", \"async_helper\"],\n function(async_star_regression_fisk_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_regression_fisk_test.async_star_regression_fisk_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.587}] 2019-05-23 09:38:52.119102 Warning: 2019-05-23 09:38:52.119126 Warning: 2019-05-23 09:38:52.119144 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_postfix_expr_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.119159 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.461},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.462},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.472},{"type":"print","value":"dart-main-done","timestamp":0.476},{"type":"print","value":"unittest-suite-success","timestamp":0.483},{"type":"message_received","value":"dart-calling-main","timestamp":0.488},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.488},{"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.49},{"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 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_postfix_expr_test/await_postfix_expr_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_postfix_expr_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_postfix_expr_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_postfix_expr_test\", \"dart_sdk\", \"async_helper\"],\n function(await_postfix_expr_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_postfix_expr_test.await_postfix_expr_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.493}] 2019-05-23 09:38:52.119179 Warning: 2019-05-23 09:38:52.119194 Warning: 2019-05-23 09:38:52.119211 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_for_use_local_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.119226 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.649},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.65},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.658},{"type":"print","value":"dart-main-done","timestamp":0.663},{"type":"print","value":"unittest-suite-success","timestamp":0.668},{"type":"message_received","value":"dart-calling-main","timestamp":0.668},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.668},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.668},{"type":"message_received","value":"dart-main-done","timestamp":0.669},{"type":"message_received","value":"unittest-suite-success","timestamp":0.669},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.669},{"type":"print","value":"unittest-suite-done","timestamp":0.67},{"type":"message_received","value":"unittest-suite-done","timestamp":0.682},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.683},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_for_use_local_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_for_use_local_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_for_use_local_test/await_for_use_local_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_for_use_local_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_for_use_local_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_for_use_local_test\", \"dart_sdk\", \"async_helper\"],\n function(await_for_use_local_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_for_use_local_test.await_for_use_local_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.683}] 2019-05-23 09:38:52.119246 Warning: 2019-05-23 09:38:52.119261 Warning: 2019-05-23 09:38:52.119277 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_switch_test_none/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.119292 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.388},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.388},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.391},{"type":"print","value":"dart-main-done","timestamp":0.406},{"type":"print","value":"unittest-suite-success","timestamp":0.411},{"type":"message_received","value":"dart-calling-main","timestamp":0.412},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.412},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.412},{"type":"message_received","value":"dart-main-done","timestamp":0.412},{"type":"message_received","value":"unittest-suite-success","timestamp":0.413},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.413},{"type":"print","value":"unittest-suite-done","timestamp":0.413},{"type":"message_received","value":"unittest-suite-done","timestamp":0.413},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.414},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_switch_test_none/async_switch_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_switch_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_switch_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_switch_test_none\", \"dart_sdk\", \"async_helper\"],\n function(async_switch_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_switch_test_none.async_switch_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.414}] 2019-05-23 09:38:52.119350 Warning: 2019-05-23 09:38:52.119382 Warning: 2019-05-23 09:38:52.119402 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_await_future_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.119419 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.518},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.519},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.523},{"type":"print","value":"dart-main-done","timestamp":0.541},{"type":"message_received","value":"dart-calling-main","timestamp":0.544},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.545},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.545},{"type":"message_received","value":"dart-main-done","timestamp":0.545},{"type":"print","value":"unittest-suite-success","timestamp":2.867},{"type":"message_received","value":"unittest-suite-success","timestamp":2.867},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":2.867},{"type":"print","value":"unittest-suite-done","timestamp":2.868},{"type":"message_received","value":"unittest-suite-done","timestamp":2.869},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":2.869},{"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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_future_test/await_future_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_future_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_await_future_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_future_test\", \"dart_sdk\", \"async_helper\"],\n function(await_future_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_future_test.await_future_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":2.869}] 2019-05-23 09:38:52.119442 Warning: 2019-05-23 09:38:52.119458 Warning: 2019-05-23 09:38:52.119474 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_throw_in_catch_test_forceAwait/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.119489 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.416},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.417},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.422},{"type":"print","value":"dart-main-done","timestamp":0.427},{"type":"print","value":"unittest-suite-success","timestamp":0.441},{"type":"message_received","value":"dart-calling-main","timestamp":0.442},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.442},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.443},{"type":"message_received","value":"dart-main-done","timestamp":0.443},{"type":"message_received","value":"unittest-suite-success","timestamp":0.443},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.443},{"type":"print","value":"unittest-suite-done","timestamp":0.445},{"type":"message_received","value":"unittest-suite-done","timestamp":0.446},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.446},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test async_throw_in_catch_test_forceAwait</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_throw_in_catch_test_forceAwait\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_throw_in_catch_test_forceAwait/async_throw_in_catch_test_forceAwait.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_throw_in_catch_test_forceAwait</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_throw_in_catch_test_forceAwait\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_throw_in_catch_test_forceAwait\", \"dart_sdk\", \"async_helper\"],\n function(async_throw_in_catch_test_forceAwait, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_throw_in_catch_test_forceAwait.async_throw_in_catch_test_forceAwait.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.446}] 2019-05-23 09:38:52.123436 Warning: 2019-05-23 09:38:52.123467 Warning: 2019-05-23 09:38:52.123487 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_async_star_test_01/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.123503 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0.001},{"type":"print","value":"dart-calling-main","timestamp":0.489},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.492},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.51},{"type":"print","value":"dart-main-done","timestamp":0.674},{"type":"print","value":"SUCCESS: canceling at index at start","timestamp":0.703},{"type":"print","value":"SUCCESS: basic empty","timestamp":0.706},{"type":"print","value":"SUCCESS: yield statement context dead-code return","timestamp":0.714},{"type":"print","value":"SUCCESS: yield statement context dead-code throw","timestamp":0.715},{"type":"print","value":"SUCCESS: yield statement context dead-code break","timestamp":0.715},{"type":"print","value":"SUCCESS: yield statement context dead-code break 2","timestamp":0.715},{"type":"print","value":"SUCCESS: yield statement context dead-code continue","timestamp":0.715},{"type":"print","value":"SUCCESS: canceling cancels at yield","timestamp":0.722},{"type":"print","value":"SUCCESS: basic single","timestamp":0.726},{"type":"print","value":"SUCCESS: basic call delays","timestamp":0.726},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream","timestamp":0.729},{"type":"print","value":"SUCCESS: basic Cannot yield* non-stream 2","timestamp":0.73},{"type":"print","value":"SUCCESS: yield statement context plain","timestamp":0.73},{"type":"print","value":"SUCCESS: yield statement context if-then-else","timestamp":0.731},{"type":"print","value":"SUCCESS: yield statement context labeled","timestamp":0.732},{"type":"print","value":"SUCCESS: yield statement context labeled 2","timestamp":0.732},{"type":"print","value":"SUCCESS: yield expressions local variable","timestamp":0.734},{"type":"print","value":"SUCCESS: yield expressions constant variable","timestamp":0.734},{"type":"print","value":"SUCCESS: yield expressions function call","timestamp":0.734},{"type":"print","value":"SUCCESS: yield expressions unary operator","timestamp":0.735},{"type":"print","value":"SUCCESS: yield expressions binary operator","timestamp":0.735},{"type":"print","value":"SUCCESS: yield expressions ternary operator","timestamp":0.736},{"type":"print","value":"SUCCESS: yield expressions suffix post-increment","timestamp":0.737},{"type":"print","value":"SUCCESS: yield expressions suffix pre-increment","timestamp":0.737},{"type":"print","value":"SUCCESS: yield expressions assignment","timestamp":0.737},{"type":"print","value":"SUCCESS: yield expressions assignment op","timestamp":0.737},{"type":"print","value":"SUCCESS: yield expressions index operator","timestamp":0.738},{"type":"print","value":"SUCCESS: yield expressions function expression block","timestamp":0.739},{"type":"print","value":"SUCCESS: yield expressions function expression arrow","timestamp":0.739},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally","timestamp":0.747},{"type":"print","value":"SUCCESS: yield statement context try-catch-finally 2","timestamp":0.747},{"type":"print","value":"SUCCESS: yield expressions await","timestamp":0.749},{"type":"print","value":"SUCCESS: yield expressions function expression block async","timestamp":0.749},{"type":"print","value":"SUCCESS: yield expressions function expression arrow async","timestamp":0.75},{"type":"print","value":"SUCCESS: basic throws","timestamp":0.754},{"type":"print","value":"SUCCESS: basic allows await","timestamp":0.755},{"type":"print","value":"SUCCESS: yield statement context block","timestamp":0.756},{"type":"print","value":"SUCCESS: yield statement context for-loop","timestamp":0.756},{"type":"print","value":"SUCCESS: yield statement context for-in-loop","timestamp":0.756},{"type":"print","value":"SUCCESS: yield statement context while-loop","timestamp":0.757},{"type":"print","value":"SUCCESS: yield statement context do-while-loop","timestamp":0.758},{"type":"print","value":"SUCCESS: loops simple yield","timestamp":0.758},{"type":"print","value":"SUCCESS: loops yield in try body","timestamp":0.758},{"type":"print","value":"SUCCESS: loops yield in catch","timestamp":0.759},{"type":"print","value":"SUCCESS: loops yield in finally","timestamp":0.759},{"type":"print","value":"SUCCESS: loops keep yielding after cancel","timestamp":0.759},{"type":"print","value":"SUCCESS: pausing pauses execution at yield for at least a microtask","timestamp":0.76},{"type":"print","value":"SUCCESS: yield expressions function expression block async*","timestamp":0.762},{"type":"print","value":"SUCCESS: canceling at index early","timestamp":0.762},{"type":"print","value":"SUCCESS: canceling does cancel eventually","timestamp":0.766},{"type":"print","value":"SUCCESS: canceling at index before end","timestamp":0.766},{"type":"print","value":"SUCCESS: basic allows yield*","timestamp":0.77},{"type":"print","value":"SUCCESS: loops yield in double loop","timestamp":0.77},{"type":"print","value":"SUCCESS: canceling at index - all, sanity check","timestamp":0.771},{"type":"print","value":"SUCCESS: canceling at index after end","timestamp":0.772},{"type":"print","value":"SUCCESS: canceling at index at end","timestamp":0.772},{"type":"print","value":"SUCCESS: await for simple stream","timestamp":0.772},{"type":"print","value":"SUCCESS: yield statement context await for-in-loop","timestamp":0.776},{"type":"print","value":"SUCCESS: yield statement context switch-case","timestamp":0.776},{"type":"print","value":"SUCCESS: basic multiple","timestamp":0.779},{"type":"print","value":"SUCCESS: await for simple stream, await","timestamp":0.782},{"type":"print","value":"SUCCESS: await for simple stream reyield","timestamp":0.784},{"type":"print","value":"SUCCESS: canceling regression-fugl/fisk","timestamp":0.787},{"type":"print","value":"SUCCESS: basic allows yield* of async*","timestamp":0.787},{"type":"print","value":"SUCCESS: basic allows await in loop","timestamp":0.788},{"type":"print","value":"SUCCESS: await for simple stream, await, reyield","timestamp":0.788},{"type":"print","value":"SUCCESS: await for nested","timestamp":0.792},{"type":"print","value":"SUCCESS: await for nested, await","timestamp":0.799},{"type":"print","value":"SUCCESS: await for nested, await * 2","timestamp":0.799},{"type":"message_received","value":"dart-calling-main","timestamp":0.8},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.8},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.801},{"type":"message_received","value":"dart-main-done","timestamp":0.801},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield","timestamp":1.038},{"type":"print","value":"SUCCESS: pausing pause stops execution at yield 2","timestamp":2.074},{"type":"print","value":"unittest-suite-success","timestamp":2.074},{"type":"message_received","value":"unittest-suite-success","timestamp":2.074},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":2.075},{"type":"print","value":"unittest-suite-done","timestamp":2.077},{"type":"message_received","value":"unittest-suite-done","timestamp":2.077},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":2.077},{"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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_01/async_star_test_01.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_star_test_01</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_async_star_test_01\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_star_test_01\", \"dart_sdk\", \"async_helper\"],\n function(async_star_test_01, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = async_star_test_01.async_star_test_01.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":2.078}] 2019-05-23 09:38:52.123537 Warning: 2019-05-23 09:38:52.123555 Warning: 2019-05-23 09:38:52.123572 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_control_flow_collections_if_await_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.123588 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.53},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.531},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.536},{"type":"print","value":"dart-main-done","timestamp":0.549},{"type":"print","value":"unittest-suite-success","timestamp":0.562},{"type":"message_received","value":"dart-calling-main","timestamp":0.563},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.563},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.563},{"type":"message_received","value":"dart-main-done","timestamp":0.563},{"type":"message_received","value":"unittest-suite-success","timestamp":0.563},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.563},{"type":"print","value":"unittest-suite-done","timestamp":0.564},{"type":"message_received","value":"unittest-suite-done","timestamp":0.565},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.565},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_if_await_test/if_await_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running if_await_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_if_await_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"if_await_test\", \"dart_sdk\", \"async_helper\"],\n function(if_await_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = if_await_test.if_await_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.565}] 2019-05-23 09:38:52.123787 Warning: 2019-05-23 09:38:52.123817 Warning: 2019-05-23 09:38:52.123837 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_control_flow_collections_await_for_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.123854 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.453},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.453},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.46},{"type":"print","value":"dart-main-done","timestamp":0.468},{"type":"print","value":"unittest-suite-success","timestamp":0.575},{"type":"message_received","value":"dart-calling-main","timestamp":0.575},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.576},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.576},{"type":"message_received","value":"dart-main-done","timestamp":0.576},{"type":"message_received","value":"unittest-suite-success","timestamp":0.576},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.577},{"type":"print","value":"unittest-suite-done","timestamp":0.577},{"type":"message_received","value":"unittest-suite-done","timestamp":0.579},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.579},{"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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_await_for_test/await_for_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_for_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_control_flow_collections_await_for_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_for_test\", \"dart_sdk\", \"async_helper\"],\n function(await_for_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_for_test.await_for_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.579}] 2019-05-23 09:38:52.123875 Warning: 2019-05-23 09:38:52.123891 Warning: 2019-05-23 09:38:52.123907 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_constant_list_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.123923 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":2.09},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":2.09},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":2.105},{"type":"print","value":"dart-main-done","timestamp":2.107},{"type":"print","value":"unittest-suite-success","timestamp":2.116},{"type":"message_received","value":"dart-calling-main","timestamp":2.118},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":2.118},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":2.118},{"type":"message_received","value":"dart-main-done","timestamp":2.118},{"type":"message_received","value":"unittest-suite-success","timestamp":2.118},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":2.118},{"type":"print","value":"unittest-suite-done","timestamp":2.119},{"type":"message_received","value":"unittest-suite-done","timestamp":2.121},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":2.121},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_constant_list_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_constant_list_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_constant_list_test/deferred_constant_list_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running deferred_constant_list_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_constant_list_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_constant_list_test\", \"dart_sdk\", \"async_helper\"],\n function(deferred_constant_list_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_constant_list_test.deferred_constant_list_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":2.121}] 2019-05-23 09:38:52.124154 Warning: 2019-05-23 09:38:52.124185 Warning: 2019-05-23 09:38:52.124215 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_shadow_load_library_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.124232 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.585},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.586},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.586},{"type":"print","value":"dart-main-done","timestamp":0.588},{"type":"print","value":"unittest-suite-success","timestamp":0.589},{"type":"message_received","value":"dart-calling-main","timestamp":0.59},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.59},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.59},{"type":"message_received","value":"dart-main-done","timestamp":0.59},{"type":"message_received","value":"unittest-suite-success","timestamp":0.59},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.59},{"type":"print","value":"unittest-suite-done","timestamp":0.592},{"type":"message_received","value":"unittest-suite-done","timestamp":0.592},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.593},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_shadow_load_library_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_shadow_load_library_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_shadow_load_library_test/deferred_shadow_load_library_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running deferred_shadow_load_library_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_shadow_load_library_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_shadow_load_library_test\", \"dart_sdk\", \"async_helper\"],\n function(deferred_shadow_load_library_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_shadow_load_library_test.deferred_shadow_load_library_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.593}] 2019-05-23 09:38:52.124254 Warning: 2019-05-23 09:38:52.124270 Warning: 2019-05-23 09:38:52.124286 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_deferred_shared_and_unshared_classes_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.124302 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.578},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.58},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.581},{"type":"print","value":"dart-main-done","timestamp":0.601},{"type":"print","value":"C1","timestamp":0.602},{"type":"print","value":"shared","timestamp":0.603},{"type":"print","value":"C2","timestamp":0.605},{"type":"print","value":"shared","timestamp":0.605},{"type":"print","value":"unittest-suite-success","timestamp":0.607},{"type":"message_received","value":"dart-calling-main","timestamp":0.608},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.608},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.608},{"type":"message_received","value":"dart-main-done","timestamp":0.609},{"type":"message_received","value":"unittest-suite-success","timestamp":0.609},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.609},{"type":"print","value":"unittest-suite-done","timestamp":0.61},{"type":"message_received","value":"unittest-suite-done","timestamp":0.611},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.612},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_shared_and_unshared_classes_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_shared_and_unshared_classes_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_shared_and_unshared_classes_test/deferred_shared_and_unshared_classes_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running deferred_shared_and_unshared_classes_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_deferred_shared_and_unshared_classes_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_shared_and_unshared_classes_test\", \"dart_sdk\", \"async_helper\"],\n function(deferred_shared_and_unshared_classes_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_shared_and_unshared_classes_test.deferred_shared_and_unshared_classes_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.613}] 2019-05-23 09:38:52.124321 Warning: 2019-05-23 09:38:52.124336 Warning: 2019-05-23 09:38:52.124352 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.124367 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.442},{"type":"print","value":"unittest-suite-success","timestamp":0.444},{"type":"message_received","value":"dart-calling-main","timestamp":0.445},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.445},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.445},{"type":"message_received","value":"dart-main-done","timestamp":0.446},{"type":"message_received","value":"unittest-suite-success","timestamp":0.446},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.446},{"type":"print","value":"unittest-suite-done","timestamp":0.447},{"type":"message_received","value":"unittest-suite-done","timestamp":0.448},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.448},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_constraints_type_annotation_test_new</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_constraints_type_annotation_test_new\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new/deferred_constraints_type_annotation_test_new.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running deferred_constraints_type_annotation_test_new</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_constraints_type_annotation_test_new\", \"dart_sdk\", \"async_helper\"],\n function(deferred_constraints_type_annotation_test_new, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_constraints_type_annotation_test_new.deferred_constraints_type_annotation_test_new.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.448}] 2019-05-23 09:38:52.124603 Warning: 2019-05-23 09:38:52.124628 Warning: 2019-05-23 09:38:52.124646 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_none/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.124661 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.463},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.464},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.465},{"type":"print","value":"dart-main-done","timestamp":0.467},{"type":"print","value":"unittest-suite-success","timestamp":0.468},{"type":"message_received","value":"dart-calling-main","timestamp":0.468},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.468},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.469},{"type":"message_received","value":"dart-main-done","timestamp":0.469},{"type":"message_received","value":"unittest-suite-success","timestamp":0.469},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.469},{"type":"print","value":"unittest-suite-done","timestamp":0.471},{"type":"message_received","value":"unittest-suite-done","timestamp":0.472},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.472},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_constraints_type_annotation_test_none</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_constraints_type_annotation_test_none\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_none/deferred_constraints_type_annotation_test_none.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running deferred_constraints_type_annotation_test_none</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_none\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_constraints_type_annotation_test_none\", \"dart_sdk\", \"async_helper\"],\n function(deferred_constraints_type_annotation_test_none, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_constraints_type_annotation_test_none.deferred_constraints_type_annotation_test_none.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.472}] 2019-05-23 09:38:52.124681 Warning: 2019-05-23 09:38:52.124696 Warning: 2019-05-23 09:38:52.124712 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new_generic1/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.124727 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.604},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.605},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.605},{"type":"print","value":"dart-main-done","timestamp":0.606},{"type":"print","value":"unittest-suite-success","timestamp":0.607},{"type":"message_received","value":"dart-calling-main","timestamp":0.608},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.608},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.608},{"type":"message_received","value":"dart-main-done","timestamp":0.609},{"type":"message_received","value":"unittest-suite-success","timestamp":0.609},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.609},{"type":"print","value":"unittest-suite-done","timestamp":0.611},{"type":"message_received","value":"unittest-suite-done","timestamp":0.612},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.612},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_constraints_type_annotation_test_new_generic1</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_constraints_type_annotation_test_new_generic1\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new_generic1/deferred_constraints_type_annotation_test_new_generic1.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running deferred_constraints_type_annotation_test_new_generic1</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_new_generic1\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_constraints_type_annotation_test_new_generic1\", \"dart_sdk\", \"async_helper\"],\n function(deferred_constraints_type_annotation_test_new_generic1, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_constraints_type_annotation_test_new_generic1.deferred_constraints_type_annotation_test_new_generic1.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.612}] 2019-05-23 09:38:52.124933 Warning: 2019-05-23 09:38:52.124962 Warning: 2019-05-23 09:38:52.124981 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_type_annotation_non_deferred/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.124998 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":1.854},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.855},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":1.857},{"type":"print","value":"dart-main-done","timestamp":1.858},{"type":"print","value":"unittest-suite-success","timestamp":1.862},{"type":"message_received","value":"dart-calling-main","timestamp":1.863},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.863},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":1.863},{"type":"message_received","value":"dart-main-done","timestamp":1.864},{"type":"message_received","value":"unittest-suite-success","timestamp":1.864},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.864},{"type":"print","value":"unittest-suite-done","timestamp":1.865},{"type":"message_received","value":"unittest-suite-done","timestamp":1.87},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.87},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test deferred_constraints_type_annotation_test_type_annotation_non_deferred</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"deferred_constraints_type_annotation_test_type_annotation_non_deferred\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_type_annotation_non_deferred/deferred_constraints_type_annotation_test_type_annotation_non_deferred.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running deferred_constraints_type_annotation_test_type_annotation_non_deferred</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/multitest_language_2_deferred_constraints_type_annotation_test_type_annotation_non_deferred\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"deferred_constraints_type_annotation_test_type_annotation_non_deferred\", \"dart_sdk\", \"async_helper\"],\n function(deferred_constraints_type_annotation_test_type_annotation_non_deferred, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = deferred_constraints_type_annotation_test_type_annotation_non_deferred.deferred_constraints_type_annotation_test_type_annotation_non_deferred.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.87}] 2019-05-23 09:38:52.125019 Warning: 2019-05-23 09:38:52.125035 Warning: 2019-05-23 09:38:52.125052 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_issue23244_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.125068 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.597},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.599},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.6},{"type":"print","value":"dart-main-done","timestamp":0.602},{"type":"message_received","value":"dart-calling-main","timestamp":0.606},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.607},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.607},{"type":"message_received","value":"dart-main-done","timestamp":0.607},{"type":"window_onerror","value":"window.onunhandledrejection called: \n\nError: Unsupported operation: dart:isolate is not supported on dart4web\n at Object.dart.throw (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:4560:11)\n at Object.isolate._unsupported (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:53608:15)\n at isolate._ReceivePort.new.get sendPort [as sendPort] (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:53584:22)\n at main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_issue23244_test/issue23244_test.js:51:112)\n at main.next (<anonymous>)\n at runBody (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22406:34)\n at Object.async.async (http://127.0.0.1:51298/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js:22434:7)\n at Object.issue23244_test.main (http://127.0.0.1:51298/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_issue23244_test/issue23244_test.js:48:18)\n at testMainWrapper (http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_issue23244_test/test.html?crossOriginPort=51299:104:50)\n at dartMainRunner (http://127.0.0.1:51298/root_dart/tools/testing/dart/test_controller.js:303:5)\n at http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_issue23244_test/test.html?crossOriginPort=51299:100:3\n at Object.execCb (http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:1696:33)\n at Module.check (http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:883:51)\n at Module.<anonymous> (http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:1139:34)\n at http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:134:23\n at http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:1189:21\n at each (http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:59:31)\n at Module.emit (http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:1188:17)\n at Module.check (http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:938:30)\n at Module.enable (http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:1176:22)\n at Module.init (http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:788:26)\n at callGetModule (http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:1203:63)\n at Object.completeLoad (http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:1590:21)\n at HTMLScriptElement.onScriptLoad (http://127.0.0.1:51298/root_dart/third_party/requirejs/require.js:1717:29)\n\n","timestamp":0.608},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.609},{"type":"print","value":"unittest-suite-done","timestamp":0.61},{"type":"message_received","value":"unittest-suite-done","timestamp":0.612},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.612},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test issue23244_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"issue23244_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_issue23244_test/issue23244_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script></head>\n<body>\n<h1>Running issue23244_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_issue23244_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"issue23244_test\", \"dart_sdk\", \"async_helper\"],\n function(issue23244_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = issue23244_test.issue23244_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.612}] 2019-05-23 09:38:52.125284 Warning: 2019-05-23 09:38:52.125329 Warning: 2019-05-23 09:38:52.125351 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_language_2_spread_collections_await_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.125367 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.556},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.557},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.561},{"type":"print","value":"dart-main-done","timestamp":0.578},{"type":"print","value":"unittest-suite-success","timestamp":0.611},{"type":"message_received","value":"dart-calling-main","timestamp":0.612},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.613},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.613},{"type":"message_received","value":"dart-main-done","timestamp":0.613},{"type":"message_received","value":"unittest-suite-success","timestamp":0.614},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.614},{"type":"print","value":"unittest-suite-done","timestamp":0.615},{"type":"message_received","value":"unittest-suite-done","timestamp":0.616},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.616},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test await_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"await_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_spread_collections_await_test/await_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running await_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_language_2_spread_collections_await_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"await_test\", \"dart_sdk\", \"async_helper\"],\n function(await_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = await_test.await_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.616}] 2019-05-23 09:38:52.125389 Warning: 2019-05-23 09:38:52.125405 Warning: 2019-05-23 09:38:52.125421 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_async_no_await_zones_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.125437 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.364},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.364},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.372},{"type":"print","value":"dart-main-done","timestamp":0.376},{"type":"print","value":"unittest-suite-success","timestamp":0.391},{"type":"message_received","value":"dart-calling-main","timestamp":0.393},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.393},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.394},{"type":"message_received","value":"dart-main-done","timestamp":0.394},{"type":"message_received","value":"unittest-suite-success","timestamp":0.394},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.395},{"type":"print","value":"unittest-suite-done","timestamp":0.396},{"type":"message_received","value":"unittest-suite-done","timestamp":0.398},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.398},{"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_no_await_zones_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_no_await_zones_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_async_no_await_zones_test/async_no_await_zones_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running async_no_await_zones_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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_async_no_await_zones_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"async_no_await_zones_test\", \"dart_sdk\", \"async_helper\"],\n function(async_no_await_zones_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_no_await_zones_test.async_no_await_zones_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.4}] 2019-05-23 09:38:52.125457 Warning: 2019-05-23 09:38:52.125471 Warning: 2019-05-23 09:38:52.125488 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors13_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.125503 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.316},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.317},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.317},{"type":"print","value":"dart-main-done","timestamp":0.331},{"type":"message_received","value":"dart-calling-main","timestamp":0.333},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.333},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.333},{"type":"message_received","value":"dart-main-done","timestamp":0.333},{"type":"print","value":"unittest-suite-success","timestamp":0.346},{"type":"message_received","value":"unittest-suite-success","timestamp":0.347},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.347},{"type":"print","value":"unittest-suite-done","timestamp":0.348},{"type":"message_received","value":"unittest-suite-done","timestamp":0.349},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.349},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test catch_errors13_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"catch_errors13_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors13_test/catch_errors13_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running catch_errors13_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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors13_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"catch_errors13_test\", \"dart_sdk\", \"async_helper\"],\n function(catch_errors13_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = catch_errors13_test.catch_errors13_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.35}] 2019-05-23 09:38:52.125617 Warning: 2019-05-23 09:38:52.125646 Warning: 2019-05-23 09:38:52.125664 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors17_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.125680 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.44},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.441},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.458},{"type":"print","value":"dart-main-done","timestamp":0.461},{"type":"message_received","value":"dart-calling-main","timestamp":0.507},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.508},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.508},{"type":"message_received","value":"dart-main-done","timestamp":0.508},{"type":"print","value":"unittest-suite-success","timestamp":0.511},{"type":"message_received","value":"unittest-suite-success","timestamp":0.511},{"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.512},{"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.516},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test catch_errors17_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"catch_errors17_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors17_test/catch_errors17_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running catch_errors17_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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors17_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"catch_errors17_test\", \"dart_sdk\", \"async_helper\"],\n function(catch_errors17_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = catch_errors17_test.catch_errors17_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.527}] 2019-05-23 09:38:52.125701 Warning: 2019-05-23 09:38:52.125716 Warning: 2019-05-23 09:38:52.125732 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors15_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.125748 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.718},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.719},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.725},{"type":"print","value":"dart-main-done","timestamp":0.728},{"type":"message_received","value":"dart-calling-main","timestamp":0.733},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.734},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.734},{"type":"message_received","value":"dart-main-done","timestamp":0.735},{"type":"print","value":"unittest-suite-success","timestamp":0.786},{"type":"message_received","value":"unittest-suite-success","timestamp":0.786},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.786},{"type":"print","value":"unittest-suite-done","timestamp":0.787},{"type":"message_received","value":"unittest-suite-done","timestamp":0.788},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.788},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test catch_errors15_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"catch_errors15_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors15_test/catch_errors15_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running catch_errors15_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors15_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"catch_errors15_test\", \"dart_sdk\", \"async_helper\"],\n function(catch_errors15_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = catch_errors15_test.catch_errors15_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.788}] 2019-05-23 09:38:52.125997 Warning: 2019-05-23 09:38:52.126024 Warning: 2019-05-23 09:38:52.126043 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors21_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.126059 Warning: [{"type":"debug","value":"test_controller.js started","timestamp":0},{"type":"debug","value":"Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)","timestamp":0},{"type":"print","value":"dart-calling-main","timestamp":0.406},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.407},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.431},{"type":"print","value":"dart-main-done","timestamp":0.432},{"type":"message_received","value":"dart-calling-main","timestamp":0.451},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.452},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.452},{"type":"message_received","value":"dart-main-done","timestamp":0.452},{"type":"print","value":"unittest-suite-success","timestamp":0.453},{"type":"message_received","value":"unittest-suite-success","timestamp":0.457},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.457},{"type":"print","value":"unittest-suite-done","timestamp":0.46},{"type":"message_received","value":"unittest-suite-done","timestamp":0.463},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.464},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test catch_errors21_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"catch_errors21_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors21_test/catch_errors21_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running catch_errors21_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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors21_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"catch_errors21_test\", \"dart_sdk\", \"async_helper\"],\n function(catch_errors21_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = catch_errors21_test.catch_errors21_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.464}] 2019-05-23 09:38:52.126080 Warning: 2019-05-23 09:38:52.126096 Warning: 2019-05-23 09:38:52.126112 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors14_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.126127 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.576},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.577},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.601},{"type":"print","value":"dart-main-done","timestamp":0.604},{"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":"unittest-suite-wait-for-done","timestamp":0.605},{"type":"message_received","value":"dart-main-done","timestamp":0.605},{"type":"print","value":"unittest-suite-success","timestamp":1.213},{"type":"message_received","value":"unittest-suite-success","timestamp":1.213},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.213},{"type":"print","value":"unittest-suite-done","timestamp":1.214},{"type":"message_received","value":"unittest-suite-done","timestamp":1.215},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.215},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test catch_errors14_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"catch_errors14_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors14_test/catch_errors14_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running catch_errors14_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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors14_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"catch_errors14_test\", \"dart_sdk\", \"async_helper\"],\n function(catch_errors14_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = catch_errors14_test.catch_errors14_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":1.215}] 2019-05-23 09:38:52.126146 Warning: 2019-05-23 09:38:52.126180 Warning: 2019-05-23 09:38:52.126198 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors7_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.126314 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.482},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.483},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.487},{"type":"print","value":"dart-main-done","timestamp":0.49},{"type":"message_received","value":"dart-calling-main","timestamp":0.494},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.494},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.494},{"type":"message_received","value":"dart-main-done","timestamp":0.495},{"type":"print","value":"unittest-suite-success","timestamp":0.495},{"type":"message_received","value":"unittest-suite-success","timestamp":0.497},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.497},{"type":"print","value":"unittest-suite-done","timestamp":0.497},{"type":"message_received","value":"unittest-suite-done","timestamp":0.498},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.498},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test catch_errors7_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"catch_errors7_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors7_test/catch_errors7_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running catch_errors7_test</h1>\n<script type=\"text/javascript\" src=\"/root_dart/tools/testing/dart/test_controller.js\">\n</script>\n<script>\nvar require = {\n baseUrl: \"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors7_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"catch_errors7_test\", \"dart_sdk\", \"async_helper\"],\n function(catch_errors7_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = catch_errors7_test.catch_errors7_test.main();\n if (sdk.async.Future.is(result)) {\n sdk.dart.addAsyncCallback();\n result.whenComplete(sdk.dart.removeAsyncCallback);\n }\n return result;\n });\n});\n</script>\n\n\n</body>","timestamp":0.498}] 2019-05-23 09:38:52.126344 Warning: 2019-05-23 09:38:52.126360 Warning: 2019-05-23 09:38:52.126377 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors4_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.126392 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.389},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.39},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.395},{"type":"print","value":"dart-main-done","timestamp":0.395},{"type":"print","value":"unittest-suite-success","timestamp":0.396},{"type":"message_received","value":"dart-calling-main","timestamp":0.398},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.398},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.399},{"type":"message_received","value":"dart-main-done","timestamp":0.399},{"type":"message_received","value":"unittest-suite-success","timestamp":0.399},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.399},{"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 catch_errors4_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"catch_errors4_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors4_test/catch_errors4_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running catch_errors4_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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors4_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"catch_errors4_test\", \"dart_sdk\", \"async_helper\"],\n function(catch_errors4_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = catch_errors4_test.catch_errors4_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.403}] 2019-05-23 09:38:52.126411 Warning: 2019-05-23 09:38:52.126427 Warning: 2019-05-23 09:38:52.126443 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_catch_errors27_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.126458 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.648},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.65},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.696},{"type":"print","value":"dart-main-done","timestamp":0.706},{"type":"message_received","value":"dart-calling-main","timestamp":0.813},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.814},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.814},{"type":"message_received","value":"dart-main-done","timestamp":0.814},{"type":"print","value":"unittest-suite-success","timestamp":0.819},{"type":"message_received","value":"unittest-suite-success","timestamp":0.819},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.819},{"type":"print","value":"unittest-suite-done","timestamp":0.821},{"type":"message_received","value":"unittest-suite-done","timestamp":0.823},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.823},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test catch_errors27_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"catch_errors27_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors27_test/catch_errors27_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running catch_errors27_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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_catch_errors27_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"catch_errors27_test\", \"dart_sdk\", \"async_helper\"],\n function(catch_errors27_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = catch_errors27_test.catch_errors27_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.823}] 2019-05-23 09:38:52.126614 Warning: 2019-05-23 09:38:52.126639 Warning: 2019-05-23 09:38:52.126657 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_foreach_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.126673 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.503},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.504},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.522},{"type":"print","value":"dart-main-done","timestamp":0.562},{"type":"message_received","value":"dart-calling-main","timestamp":0.601},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.601},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.601},{"type":"message_received","value":"dart-main-done","timestamp":0.602},{"type":"print","value":"unittest-suite-success","timestamp":0.627},{"type":"message_received","value":"unittest-suite-success","timestamp":0.627},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.627},{"type":"print","value":"unittest-suite-done","timestamp":0.633},{"type":"message_received","value":"unittest-suite-done","timestamp":0.635},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.635},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test future_foreach_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"future_foreach_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_future_foreach_test/future_foreach_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running future_foreach_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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_future_foreach_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"future_foreach_test\", \"dart_sdk\", \"async_helper\"],\n function(future_foreach_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = future_foreach_test.future_foreach_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.636}] 2019-05-23 09:38:52.126693 Warning: 2019-05-23 09:38:52.126708 Warning: 2019-05-23 09:38:52.126724 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_future_value_chain2_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.126739 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.624},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.624},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.625},{"type":"print","value":"dart-main-done","timestamp":0.626},{"type":"print","value":"unittest-suite-success","timestamp":0.627},{"type":"message_received","value":"dart-calling-main","timestamp":0.628},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.628},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.628},{"type":"message_received","value":"dart-main-done","timestamp":0.628},{"type":"message_received","value":"unittest-suite-success","timestamp":0.629},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.629},{"type":"print","value":"unittest-suite-done","timestamp":0.63},{"type":"message_received","value":"unittest-suite-done","timestamp":0.63},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.63},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test future_value_chain2_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"future_value_chain2_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_future_value_chain2_test/future_value_chain2_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running future_value_chain2_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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_future_value_chain2_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"future_value_chain2_test\", \"dart_sdk\", \"async_helper\"],\n function(future_value_chain2_test, sdk, async_helper) {\n sdk.dart.ignoreWhitelistedErrors(false);\n sdk._isolate_helper.startRootIsolate(function() {}, []);\n sdk._debugger.registerDevtoolsFormatter();\n\n testErrorToStackTrace = function(error) {\n var stackTrace = sdk.dart.stackTrace(error).toString();\n \n var lines = stackTrace.split(\"\\n\");\n \n // Remove the first line, which is just \"Error\".\n lines = lines.slice(1);\n\n // Strip off all of the lines for the bowels of the test runner.\n for (var i = 0; i < lines.length; i++) {\n if (lines[i].indexOf(\"dartMainRunner\") != -1) {\n lines = lines.slice(0, i);\n break;\n }\n }\n \n // TODO(rnystrom): It would be nice to shorten the URLs of the remaining\n // lines too.\n return lines.join(\"\\n\");\n };\n\n let pendingCallbacks = 0;\n let waitForDone = false, isDone = false;\n\n sdk.dart.addAsyncCallback = function() {\n pendingCallbacks++;\n if (!waitForDone) {\n // When the first callback is added, signal that test_controller.js\n // should wait until done.\n waitForDone = true;\n dartPrint('unittest-suite-wait-for-done');\n }\n };\n\n sdk.dart.removeAsyncCallback = function() {\n if (--pendingCallbacks <= 0) {\n // We might be done with async callbacks. Schedule a task to check.\n // Note: can't use a Promise here, because the unhandled rejection event\n // is fired as a task, rather than a microtask. `setTimeout` will create a\n // task, giving an unhandled promise reject time to fire before this does.\n setTimeout(() => {\n if (pendingCallbacks <= 0 && !isDone) {\n isDone = true;\n dartPrint('unittest-suite-done');\n }\n }, 0);\n }\n };\n\n dartMainRunner(function testMainWrapper() {\n // Some callbacks are not scheduled with timers/microtasks, so they don't\n // go through our async tracking (e.g. DOM events). For those tests, check\n // if the result of calling `main()` is a Future, and if so, wait for it.\n let result = future_value_chain2_test.future_value_chain2_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.63}] 2019-05-23 09:38:52.127081 Warning: 2019-05-23 09:38:52.127107 Warning: 2019-05-23 09:38:52.127125 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_intercept_schedule_microtask5_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.127140 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.657},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.658},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.661},{"type":"print","value":"dart-main-done","timestamp":0.662},{"type":"message_received","value":"dart-calling-main","timestamp":0.663},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.663},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.664},{"type":"message_received","value":"dart-main-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.667},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.667},{"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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-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/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running 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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_intercept_schedule_microtask5_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"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.667}] 2019-05-23 09:38:52.127161 Warning: 2019-05-23 09:38:52.127176 Warning: 2019-05-23 09:38:52.127192 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_periodic_timer2_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.127207 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.718},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.718},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.721},{"type":"print","value":"dart-main-done","timestamp":0.721},{"type":"message_received","value":"dart-calling-main","timestamp":0.722},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.722},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.723},{"type":"message_received","value":"dart-main-done","timestamp":0.723},{"type":"print","value":"unittest-suite-success","timestamp":1.145},{"type":"message_received","value":"unittest-suite-success","timestamp":1.146},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.146},{"type":"print","value":"unittest-suite-done","timestamp":1.146},{"type":"message_received","value":"unittest-suite-done","timestamp":1.146},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":1.146},{"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 periodic_timer2_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=\"periodic_timer2_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_periodic_timer2_test/periodic_timer2_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running periodic_timer2_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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_periodic_timer2_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript\">\nrequirejs([\"periodic_timer2_test\", \"dart_sdk\", \"async_helper\"],\n function(periodic_timer2_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 = periodic_timer2_test.periodic_timer2_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.146}] 2019-05-23 09:38:52.127227 Warning: 2019-05-23 09:38:52.127243 Warning: 2019-05-23 09:38:52.127258 Warning: http://127.0.0.1:51298/root_build/generated_tests/dartdevc-chrome-checked-sdk/tests_lib_2_async_stack_trace03_test/test.html?crossOriginPort=51299, output: 2019-05-23 09:38:52.127274 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.475},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.475},{"type":"print","value":"unittest-suite-wait-for-done","timestamp":0.475},{"type":"print","value":"dart-main-done","timestamp":0.477},{"type":"message_received","value":"dart-calling-main","timestamp":0.478},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.478},{"type":"message_received","value":"unittest-suite-wait-for-done","timestamp":0.478},{"type":"message_received","value":"dart-main-done","timestamp":0.478},{"type":"print","value":"unittest-suite-success","timestamp":0.48},{"type":"message_received","value":"unittest-suite-success","timestamp":0.48},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.48},{"type":"print","value":"unittest-suite-done","timestamp":0.481},{"type":"message_received","value":"unittest-suite-done","timestamp":0.481},{"type":"debug","value":"Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)","timestamp":0.481},{"type":"dom","value":"<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta name=\"dart.unittest\" content=\"full-stack-traces\">\n <title>Test stack_trace03_test</title>\n <style>\n .unittest-table { font-family:monospace; border:1px; }\n .unittest-pass { background: #6b3;}\n .unittest-fail { background: #d55;}\n .unittest-error { background: #a11;}\n </style>\n<script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"stack_trace03_test\" src=\"/root_dart/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace03_test/stack_trace03_test.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"dart_sdk\" src=\"/root_build/gen/utils/dartdevc/js/amd/dart_sdk.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"async_helper\" src=\"/root_build/gen/utils/dartdevc/pkg/async_helper.js\"></script><script type=\"text/javascript\" charset=\"utf-8\" async=\"\" data-requirecontext=\"_\" data-requiremodule=\"expect\" src=\"/root_build/gen/utils/dartdevc/pkg/expect.js\"></script></head>\n<body>\n<h1>Running stack_trace03_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/xcodebuild/ReleaseX64/generated_compilations/dartdevc-checked-sdk/tests_lib_2_async_stack_trace03_test\",\n paths: {\n \"dart_sdk\": \"/root_build/gen/utils/dartdevc/js/amd/dart_sdk\",\n \"async_helper\": \"/root_build/gen/utils/dartdevc/pkg/async_helper\",\n \"collection\": \"/root_build/gen/utils/dartdevc/pkg/collection\",\n \"expect\": \"/root_build/gen/utils/dartdevc/pkg/expect\",\n \"js\": \"/root_build/gen/utils/dartdevc/pkg/js\",\n \"matcher\": \"/root_build/gen/utils/dartdevc/pkg/matcher\",\n \"meta\": \"/root_build/gen/utils/dartdevc/pkg/meta\",\n \"path\": \"/root_build/gen/utils/dartdevc/pkg/path\",\n \"stack_trace\": \"/root_build/gen/utils/dartdevc/pkg/stack_trace\",\n \"unittest\": \"/root_build/gen/utils/dartdevc/pkg/unittest\",\n },\n waitSeconds: 30,\n};\n\n// Don't try to bring up the debugger on a runtime error.\nwindow.ddcSettings = {\n trapRuntimeErrors: false\n};\n</script>\n<script type=\"text/javascript\" src=\"/root_dart/third_party/requirejs/require.js\"></script>\n<script type=\"text/javascript