mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 22:11:19 +00:00
4981cbffe2
Setting the `stream` parameter on `developer.postEvent` will now forward those events to a custom stream inside DDS. The first use of this will be for widget inspection. A navigation event will be posted to a custom stream. Our IDE DAP can listen for the Event and react to it by navigating to the desired location in the code. TEST=Updated observatory tests. Created new developer test to check assertions. Added DDS tests for new custom stream behaviour. Manually tested the postEvent and StreamListen with multiple clients https://github.com/flutter/devtools/issues/4533 Change-Id: I870dc634c9a9a7d2ee3a6605319c2a18517ad197 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/274061 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Dan Chevalier <danchevalier@google.com> |
||
---|---|---|
.. | ||
inspect_test.dart | ||
metrics_num_test.dart | ||
metrics_test.dart | ||
post_event_test.dart | ||
timeline_recorders_test.dart | ||
timeline_test.dart | ||
user_tags_test.dart |