Implement _flutter.listViews (#1316)

Flutter engine in native world registers _flutter.listViews
extension on the VM. Flutter app registers extensions on the
VM as well, and clients such as dart-code that are connected
to flutter daemon call those extensions. Flutter daemon calls
_flutter.listViews before proceeding to call methods registered
by the app.

The web engine does not have information about the VM and its
isolates so it cannot implement _flutter.listViews method that
requires this information.

For a short term solution, register _flutter.listViews directly
in dwds vm client.
6 files changed
tree: 773068ba36884ab3738589edd4bb90500c8822c2
  1. .github/
  2. dwds/
  3. example/
  4. fixtures/
  5. frontend_server_client/
  6. frontend_server_common/
  7. tool/
  8. webdev/
  9. .gitattributes
  10. .gitignore
  11. analysis_options.yaml
  12. AUTHORS
  13. CONTRIBUTING.md
  14. mono_repo.yaml
  15. README.md
README.md

Dart

dwds Pub Package

A service that proxies between the Chrome debug protocol and the Dart VM service protocol.

webdev Pub Package

A command-line tool for developing and deploying web applications with Dart.