Index: tests/html/custom_tags_test.dart |
diff --git a/tests/html/custom_tags_test.dart b/tests/html/custom_tags_test.dart |
index 7ac344c06dfcb3c3f976b0e579414951071c26bc..6295af5b925373bedcdca98c92371bfac62541bc 100644 |
--- a/tests/html/custom_tags_test.dart |
+++ b/tests/html/custom_tags_test.dart |
@@ -6,6 +6,7 @@ library custom_tags_test; |
import '../../pkg/unittest/lib/unittest.dart'; |
import '../../pkg/unittest/lib/html_config.dart'; |
import 'dart:html'; |
+import 'utils.dart'; |
main() { |
useHtmlConfiguration(); |
@@ -24,7 +25,8 @@ main() { |
test('custom inner html', () { |
var element = new DivElement(); |
- element.innerHtml = "<x-basic2 id='basic2'></x-basic2>"; |
+ element.setInnerHtml("<x-basic2 id='basic2'></x-basic2>", |
+ treeSanitizer: new NullTreeSanitizer()); |
document.body.nodes.add(element); |
var queryById = query('#basic2'); |
@@ -37,7 +39,8 @@ main() { |
test('type extension inner html', () { |
var element = new DivElement(); |
- element.innerHtml = "<div is='x-basic3' id='basic3'></div>"; |
+ element.setInnerHtml("<div is='x-basic3' id='basic3'></div>", |
+ treeSanitizer: new NullTreeSanitizer()); |
document.body.nodes.add(element); |
var queryById = query('#basic3'); |