| Index: pkg/mdv/test/custom_element_bindings_test.dart
|
| diff --git a/pkg/mdv/test/custom_element_bindings_test.dart b/pkg/mdv/test/custom_element_bindings_test.dart
|
| index 882bf16940841cb00aed6afe40c26dc6c4617117..0c277bd1b5cc44afb1bc2593ca8f0cb6dfa6f30d 100644
|
| --- a/pkg/mdv/test/custom_element_bindings_test.dart
|
| +++ b/pkg/mdv/test/custom_element_bindings_test.dart
|
| @@ -32,7 +32,7 @@ customElementBindingsTest() {
|
|
|
| createTestHtml(s) {
|
| var div = new DivElement();
|
| - div.innerHtml = s;
|
| + div.setInnerHtml(s, treeSanitizer: new NullTreeSanitizer());
|
| testDiv.append(div);
|
|
|
| for (var node in div.queryAll('*')) {
|
| @@ -273,3 +273,10 @@ class AttributeMapWrapper<K, V> implements Map<K, V> {
|
| bool get isEmpty => _map.isEmpty;
|
| bool get isNotEmpty => _map.isNotEmpty;
|
| }
|
| +
|
| +/**
|
| + * Sanitizer which does nothing.
|
| + */
|
| +class NullTreeSanitizer implements NodeTreeSanitizer {
|
| + void sanitizeTree(Node node) {}
|
| +}
|
|
|