| Index: tests/dom/window_open_test.dart
|
| diff --git a/tests/dom/window_open_test.dart b/tests/dom/window_open_test.dart
|
| index 01f55ee8a1d7c1f7277945b76c70480e31740869..850b8377f3844fbd20ff24475b790a53be99fc72 100644
|
| --- a/tests/dom/window_open_test.dart
|
| +++ b/tests/dom/window_open_test.dart
|
| @@ -1,17 +1,17 @@
|
| #library('WindowOpenTest');
|
| #import('../../lib/unittest/unittest.dart');
|
| -#import('../../lib/unittest/dom_config.dart');
|
| -#import('dart:dom');
|
| +#import('../../lib/unittest/html_config.dart');
|
| +#import('dart:html');
|
|
|
| main() {
|
| evaluateJavaScript(code) {
|
| - final scriptTag = document.createElement('script');
|
| + final scriptTag = new Element.tag('script');
|
| scriptTag.innerHTML = code;
|
| - document.body.appendChild(scriptTag);
|
| + document.body.nodes.add(scriptTag);
|
| }
|
| evaluateJavaScript('layoutTestController.setCanOpenWindows()');
|
|
|
| - useDomConfiguration();
|
| + useHtmlConfiguration();
|
| asyncTest('TwoArgumentVersion', 1, () {
|
| Window win = window.open('../resources/pong.html', 'testWindow');
|
| closeWindow(win);
|
|
|