Chromium Code Reviews| Index: pkg/unittest/lib/html_config.dart |
| diff --git a/pkg/unittest/lib/html_config.dart b/pkg/unittest/lib/html_config.dart |
| index 7fa56f2bbd2a92d2f84f2cfdb1c3b5c876b510ab..24d15bcb2fac993203cc9fac2f19c9b9c19238dd 100644 |
| --- a/pkg/unittest/lib/html_config.dart |
| +++ b/pkg/unittest/lib/html_config.dart |
| @@ -53,7 +53,10 @@ void _showResultsInPage(int passed, int failed, int errors, |
| document.body.innerHtml = newBody.toString(); |
| window.onHashChange.listen((_) { |
| - window.location.reload(); |
| + if (window.location.hash != null && |
| + window.location.hash.contains('testFilter')) { |
|
gram
2013/03/15 16:51:41
Again, please add a comment.
|
| + window.location.reload(); |
| + } |
| }); |
| } |
| } |