| Index: tests/html/safe_dom_test.dart
|
| diff --git a/tests/html/safe_dom_test.dart b/tests/html/safe_dom_test.dart
|
| index 686c4e00a74c8d5993de264e64f1799e14e69bca..15f781c35f013be4f4b5c6d6e359cff38aaf2997 100644
|
| --- a/tests/html/safe_dom_test.dart
|
| +++ b/tests/html/safe_dom_test.dart
|
| @@ -39,7 +39,7 @@ main() {
|
| // Make sure that scripts did get executed, so we know our detection works.
|
| test('Unsafe Execution', () {
|
| var div = new DivElement();
|
| - div.innerHtml = unsafeString;
|
| + div.unsafeInnerHtml = unsafeString;
|
| // Crashing DRT ??
|
| // var fragment = createContextualFragment(unsafeString);
|
| // div.append(fragment);
|
| @@ -74,7 +74,7 @@ DocumentFragment createContextualFragment(String html, [String contextTag]) {
|
| range.selectNode(contextElement);
|
| return range.createContextualFragment(html);
|
| } else {
|
| - contextElement.innerHtml = html;
|
| + contextElement.unsafeInnerHtml = html;
|
| var fragment = new DocumentFragment();;
|
| while (contextElement.firstChild != null) {
|
| fragment.append(contextElement.firstChild);
|
|
|