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

Unified Diff: runtime/bin/vmservice/observatory/deployed/web/packages/browser/dart.js

Issue 839543002: Revert "Build Observatory with runtime" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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: runtime/bin/vmservice/observatory/deployed/web/packages/browser/dart.js
diff --git a/pkg/browser/lib/dart.js b/runtime/bin/vmservice/observatory/deployed/web/packages/browser/dart.js
similarity index 88%
copy from pkg/browser/lib/dart.js
copy to runtime/bin/vmservice/observatory/deployed/web/packages/browser/dart.js
index 4dd825d1d14268a8c3db7c966394eba2256fcb31..f8d686e1ab832e4534b442a34a86ecbaf44f17d6 100644
--- a/pkg/browser/lib/dart.js
+++ b/runtime/bin/vmservice/observatory/deployed/web/packages/browser/dart.js
@@ -4,8 +4,7 @@
(function() {
// Bootstrap support for Dart scripts on the page as this script.
-// TODO(18463): Remove user agent check. We will remove 'Dart' from there.
-if (!navigator.dartEnabled && (navigator.userAgent.indexOf('(Dart)') === -1)) {
+if (navigator.userAgent.indexOf('(Dart)') === -1) {
// TODO:
// - Support in-browser compilation.
// - Handle inline Dart scripts.

Powered by Google App Engine
This is Rietveld 408576698