Index: tests/isolate/browser/package_resolve_browser_hook_test.html |
diff --git a/tests/isolate/browser/package_resolve_browser_hook_test.html b/tests/isolate/browser/package_resolve_browser_hook_test.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a3b67b6ffa83984d7ea4c23de5ed4e9e37e412ca |
--- /dev/null |
+++ b/tests/isolate/browser/package_resolve_browser_hook_test.html |
@@ -0,0 +1,25 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
+ <meta name="dart.unittest" content="full-stack-traces"> |
+ <title> mirrors_test </title> |
+ <style> |
+ .unittest-table { font-family:monospace; border:1px; } |
+ .unittest-pass { background: #6b3;} |
+ .unittest-fail { background: #d55;} |
+ .unittest-error { background: #a11;} |
+ </style> |
+</head> |
+<body> |
+ <h1> Running mirrors_test </h1> |
+ <script type="text/javascript" |
+ src="/root_dart/tools/testing/dart/test_controller.js"></script> |
+ <script> |
+ // Dart2js exposes this hook to override the default base path where resource |
+ // package uris are resolved from. |
+ defaultPackagesBase = 'path/set/from/hook/'; |
+ </script> |
+ %TEST_SCRIPTS% |
+</body> |
+</html> |