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

Unified Diff: tests/html/transferables_test.dart

Issue 12040059: Converting tests over to using event streams. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: tests/html/transferables_test.dart
diff --git a/tests/html/transferables_test.dart b/tests/html/transferables_test.dart
index 0a709a5f724394a627523ad6dafd6ba826d57455..3db9c42641cc8113e9ea13ebc5510c9bb366a282 100644
--- a/tests/html/transferables_test.dart
+++ b/tests/html/transferables_test.dart
@@ -14,7 +14,7 @@ main() {
predicate((x) => x is ArrayBuffer, 'is an ArrayBuffer');
test('TransferableTest', () {
- window.on.message.add(expectAsync1((messageEvent) {
+ window.onMessage.listen(expectAsync1((messageEvent) {
expect(messageEvent.data, isArrayBuffer);
}));
final buffer = (new Float32Array(3)).buffer;

Powered by Google App Engine
This is Rietveld 408576698