dart-sdk/tests/dartdevc
Nicholas Shahan c83eeac5b8 [ddc] Avoid sending messages to console.debug
Calling `postEvent()` or `registerExtension()` from the
dart:developer library now sends messages via global functions
that can be set by the development infrastructure. For example,
these hooks are set by package:dwds.

When there is no debugger attached to the app, calling `postEvent()`
or `registerExtension()` will produce a warning once each to avoid
spamming the debug log with messages that do nothing.

For backwards compatibility, when a debugger is attached but the
hooks have not defined continue to write the events to the
console.debug log. This support will be removed when package:dwds
no longer reads from the log.
https://github.com/dart-lang/webdev/issues/1342

Change-Id: I126446666b5a85c68424546b8b1198d1582bba74
Issue: https://github.com/flutter/flutter/issues/75225
Fixes: https://github.com/dart-lang/sdk/issues/36143
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/202540
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Gary Roumanis <grouma@google.com>
Reviewed-by: Mark Zhou <markzipan@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2021-06-15 23:28:03 +00:00
..
cast_error [ddc] Add library URIs to cast failure messages 2021-04-09 22:24:43 +00:00
debugger [ddc] Fix failing debugger tests 2020-11-20 23:14:33 +00:00
assertion_failure_message_test.dart
basic_assignment_test.dart
const_test.dart [ddc] Migrate tests in dartdevc suite 2020-07-15 00:16:03 +00:00
developer_events_test.dart [ddc] Avoid sending messages to console.debug 2021-06-15 23:28:03 +00:00
hot_restart_expando_test.dart [ddc] Add a regression test for issue #45874 2021-05-11 22:14:28 +00:00
hot_restart_js_interop_test.dart [dartdevc] Resetting lazy js types on hot restart 2020-09-30 00:08:23 +00:00
hot_restart_late_test.dart
hot_restart_test.dart
hot_restart_timer_test.dart [ddc] Migrate tests in dartdevc suite 2020-07-15 00:16:03 +00:00
js_interop_test.dart
libraries_part.dart
libraries_test.dart
no_such_method_errors_test.dart
runtime_utils.dart
runtime_utils_nnbd.dart
subtype_test.dart
subtype_weak_test.dart
type_normalization_test.dart
utils.dart
variance_subtype_test.dart [ddc] Fix variance test migration to null safety 2020-07-15 00:15:23 +00:00
variance_test.dart [ddc] Migrate tests in dartdevc suite 2020-07-15 00:16:03 +00:00
weak_null_safety_errors_test.dart [ddc] Add option to throw null safety violations 2020-11-16 22:58:50 +00:00