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

Unified Diff: tests/html/wrapping_collections_test.dart

Issue 3004153002: Fixed analyzer test to use dart2js not dartium (Closed)
Patch Set: Removed rest of dartium files. Created 3 years, 3 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: tests/html/wrapping_collections_test.dart
diff --git a/tests/html/wrapping_collections_test.dart b/tests/html/wrapping_collections_test.dart
index 0ea79d2dbb46c0e4efbf65c6af1b1c4cb64c1c3a..51e71e6fa451e28ce40a9b415f608af1b12919a1 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 = js.JsNative.toTypedObject(js.context['performance']);
+ var dartPerformance = window.performance;
var dartEntries = dartPerformance.getEntries();
dartEntries.forEach((x) {
expect(x is PerformanceEntry, isTrue);

Powered by Google App Engine
This is Rietveld 408576698