Change the URL-space exposed by the browser server.
This is a step towards Dartium support. Rather than only serving the compiled JS and the HTML necessary to run it, the entire package is now served with the compiled JS and HTML wrappers overlayed on top. This will allow Dartium to load all necessary sources from the server, and incidentally also allows tests to access assets. See #60 Closes #27 R=kevmoo@google.com Review URL: https://codereview.chromium.org//1076803003
Showing
- CHANGELOG.md 5 additions, 0 deletionsCHANGELOG.md
- lib/pub_serve.dart 6 additions, 6 deletionslib/pub_serve.dart
- lib/src/runner/browser/server.dart 105 additions, 46 deletionslib/src/runner/browser/server.dart
- lib/src/runner/loader.dart 10 additions, 3 deletionslib/src/runner/loader.dart
- lib/src/util/one_off_handler.dart 7 additions, 11 deletionslib/src/util/one_off_handler.dart
- lib/src/util/path_handler.dart 58 additions, 0 deletionslib/src/util/path_handler.dart
- lib/src/utils.dart 63 additions, 0 deletionslib/src/utils.dart
- pubspec.yaml 2 additions, 1 deletionpubspec.yaml
- test/runner/browser/loader_test.dart 4 additions, 2 deletionstest/runner/browser/loader_test.dart
- test/runner/loader_test.dart 3 additions, 2 deletionstest/runner/loader_test.dart
- test/runner/pub_serve_test.dart 3 additions, 3 deletionstest/runner/pub_serve_test.dart
- test/util/path_handler_test.dart 77 additions, 0 deletionstest/util/path_handler_test.dart
Loading
Please register or sign in to comment