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. |