| Index: tests/html/safe_dom_test.dart
|
| diff --git a/tests/html/safe_dom_test.dart b/tests/html/safe_dom_test.dart
|
| index 5e7ae35c30b1f554e9bc773382039ecbae2333c4..9d767e6ed79c3cd47eb0c5723807b8485d4eccd8 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.deprecatedInnerHtml = 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.deprecatedInnerHtml = html;
|
| var fragment = new DocumentFragment();;
|
| while (contextElement.$dom_firstChild != null) {
|
| fragment.append(contextElement.$dom_firstChild);
|
|
|