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

Unified Diff: tests/html/storage_test.dart

Issue 12036060: Fixing tests after event constructor change. (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
« no previous file with comments | « tests/html/serialized_script_value_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/storage_test.dart
diff --git a/tests/html/storage_test.dart b/tests/html/storage_test.dart
index f24e1b7757a17482d716e42624101f18b4bdb0d9..9c0cc3f8f6907579c5176c7dcce5ec6c1c990084 100644
--- a/tests/html/storage_test.dart
+++ b/tests/html/storage_test.dart
@@ -18,7 +18,9 @@ main() {
});
test('event', () {
- var event = new StorageEvent('something', oldValue: 'old', newValue: 'new');
+ // Bug 8076 that not all optional params are optional in Dartium.
+ var event = new StorageEvent('something', oldValue: 'old', newValue: 'new',
+ url: 'url');
expect(event is StorageEvent, isTrue);
expect(event.oldValue, 'old');
expect(event.newValue, 'new');
« no previous file with comments | « tests/html/serialized_script_value_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698