Index: tests/html/serialized_script_value_test.dart |
diff --git a/tests/html/serialized_script_value_test.dart b/tests/html/serialized_script_value_test.dart |
index 1c94277e5ac182fd822d9ceab23a6a458bb00ac2..afbf04cb9ed6f3b9aba2baf0c462862b717c7744 100644 |
--- a/tests/html/serialized_script_value_test.dart |
+++ b/tests/html/serialized_script_value_test.dart |
@@ -5,8 +5,10 @@ import 'dart:html'; |
import 'utils.dart'; |
serializationTest(name, value) => test(name, () { |
- // To check how value is serialized and deserialized, we create a MessageEvent. |
- final event = new MessageEvent('', data:value); |
+ // To check how value is serialized and deserialized, we create a |
+ // MessageEvent. |
+ final event = |
+ new MessageEvent('', data: value, origin: '', lastEventId: ''); |
verifyGraph(value, event.data); |
}); |