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

Unified Diff: sdk/lib/_internal/js_runtime/lib/io_patch.dart

Issue 2988613002: Compute the script Uri lazily (Closed)
Patch Set: Created 3 years, 5 months 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: sdk/lib/_internal/js_runtime/lib/io_patch.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/io_patch.dart b/sdk/lib/_internal/js_runtime/lib/io_patch.dart
index 2dabd3123d6ea8ce7f39c9bdce03fca95ca626df..e84bc85011eda1f210d5394cc28950adaa1ed05c 100644
--- a/sdk/lib/_internal/js_runtime/lib/io_patch.dart
+++ b/sdk/lib/_internal/js_runtime/lib/io_patch.dart
@@ -255,6 +255,11 @@ class _Platform {
static String _localeName() {
throw new UnsupportedError("Platform._localeName");
}
+
+ @patch
+ static Uri _script() {
+ throw new UnsupportedError("Platform._script");
+ }
}
@patch

Powered by Google App Engine
This is Rietveld 408576698