mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 11:03: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> |
||
---|---|---|
.. | ||
bin | ||
docs | ||
include | ||
lib | ||
observatory | ||
observatory_2 | ||
platform | ||
tests | ||
third_party | ||
tools | ||
vm | ||
.clang-tidy | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
configs.gni | ||
CPPLINT.cfg | ||
OWNERS | ||
PRESUBMIT.py | ||
runtime_args.gni |