Index: sdk/lib/_internal/compiler/implementation/lib/native_helper.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart |
index b7a1f4449299505350bb3aceb697a1a18906901a..79cf3a7d6da6a961360824f8d3167e09bb42faa9 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/native_helper.dart |
@@ -163,6 +163,7 @@ Function getFunctionForTypeNameOf() { |
if (!identical(JS('String', 'typeof(navigator)'), 'object')) return typeNameInChrome; |
String userAgent = JS('String', "navigator.userAgent"); |
+ // TODO(antonm): remove a reference to DumpRenderTree. |
if (contains(userAgent, 'Chrome') || contains(userAgent, 'DumpRenderTree')) { |
return typeNameInChrome; |
} else if (contains(userAgent, 'Firefox')) { |