| Index: tests/dom/dom_isolates_test.dart
|
| diff --git a/tests/dom/dom_isolates_test.dart b/tests/dom/dom_isolates_test.dart
|
| index d78b076ad9c40787098003e05cc86e0b3257229e..1574a1f772d4ae4f4363beec18dbf46759cb0a3a 100644
|
| --- a/tests/dom/dom_isolates_test.dart
|
| +++ b/tests/dom/dom_isolates_test.dart
|
| @@ -1,7 +1,7 @@
|
| #library('DOMIsolatesTest');
|
| #import('../../lib/unittest/unittest.dart');
|
| -#import('../../lib/unittest/dom_config.dart');
|
| -#import('dart:dom');
|
| +#import('../../lib/unittest/html_config.dart');
|
| +#import('dart:html');
|
| #import('dart:isolate');
|
|
|
| isolateMain(port) {
|
| @@ -27,10 +27,10 @@ isolateMainTrampoline(port) {
|
| }
|
|
|
| main() {
|
| - useDomConfiguration();
|
| + useHtmlConfiguration();
|
|
|
| - final iframe = document.createElement('iframe');
|
| - document.body.appendChild(iframe);
|
| + final iframe = new Element.tag('iframe');
|
| + document.body.nodes.add(iframe);
|
|
|
| asyncTest('Simple DOM isolate test', 1, () {
|
| spawnDomIsolate(iframe.contentWindow, 'isolateMain').then((sendPort) {
|
|
|