Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Unified Diff: tests/isolate/browser/package_resolve_browser_hook_test.html

Issue 2495383003: Add implementation of Isolate.resolvePackageUri for dart2js. (Closed)
Patch Set: cl comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « tests/isolate/browser/package_resolve_browser_hook_test.dart ('k') | tests/isolate/browser/package_resolve_browser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698