Index: tests/html/wrapping_collections_test.dart |
diff --git a/tests/html/wrapping_collections_test.dart b/tests/html/wrapping_collections_test.dart |
index 51e71e6fa451e28ce40a9b415f608af1b12919a1..0ea79d2dbb46c0e4efbf65c6af1b1c4cb64c1c3a 100644 |
--- a/tests/html/wrapping_collections_test.dart |
+++ b/tests/html/wrapping_collections_test.dart |
@@ -18,7 +18,7 @@ main() { |
}); |
test("Access through dart:html", () { |
- var dartPerformance = window.performance; |
+ var dartPerformance = js.JsNative.toTypedObject(js.context['performance']); |
var dartEntries = dartPerformance.getEntries(); |
dartEntries.forEach((x) { |
expect(x is PerformanceEntry, isTrue); |