Fix issues in DevTools load time reporting (#1518)

* Fix issues in DevTools load time reporting

- Store dwdsStats on appServices for an app to make sure we are
  updating an reporting the same stats for an app. Previously,
  if the app services already existed, we would use incorrect
  object to report the stats, causing incorrect times and missing
  reports.
- Set the times on dwdsStats when debug request arrives to make
  sure times are recorded only from the time when the user starts
  debugging.
- Process `pageReady` events from any DevTools page, as DevTools
  does not always show the debugger page first.
- Enabled previously skipped tests.

Closes:https://github.com/dart-lang/webdev/issues/1517

* Format
7 files changed
tree: 42f89ef55974c66b32dc32a42635852b32ca9803
  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.