Index: tests/html/documentfragment_test.dart |
diff --git a/tests/html/documentfragment_test.dart b/tests/html/documentfragment_test.dart |
index fbbd642c2151e72c702bdfdabe72b5e8ab88b1c2..9b183d62038e934873d0d766ae7295d14ab64b93 100644 |
--- a/tests/html/documentfragment_test.dart |
+++ b/tests/html/documentfragment_test.dart |
@@ -28,7 +28,7 @@ main() { |
try { |
fn(); |
} catch (e) { |
- if (e is IllegalAccessException || e is UnsupportedOperationException) { |
+ if (e is StateError) { |
return; |
} |
} |