| Index: tests/html/history_test.dart
|
| diff --git a/tests/html/history_test.dart b/tests/html/history_test.dart
|
| index 893fb77db2a97de5526d563f84353e28949135f1..d801a72a76f6b64743a81f92014e95768aef9d32 100644
|
| --- a/tests/html/history_test.dart
|
| +++ b/tests/html/history_test.dart
|
| @@ -34,6 +34,17 @@ main() {
|
| }, expectation);
|
| });
|
|
|
| + test('pushState with data', () {
|
| + expect(() {
|
| + window.history.pushState({'one' : 1}, document.title, '?dummy');
|
| + expect(window.history.state, equals({'one' : 1}));
|
| + window.history.pushState(null, document.title, '?foo=bar');
|
| +
|
| + expect(window.location.href.endsWith('foo=bar'), isTrue);
|
| +
|
| + }, expectation);
|
| + });
|
| +
|
| test('back', () {
|
| expect(() {
|
| window.history.pushState(null, document.title, '?dummy1');
|
|
|