| Index: client/tests/client/dom/WindowOpenTest.dart
|
| diff --git a/client/tests/client/dom/WindowOpenTest.dart b/client/tests/client/dom/WindowOpenTest.dart
|
| index a16b280c7417a44347df3e321643fea2c0271a7c..0e7d81c2e6fcd48415504d3c27cf2c85d246eb86 100644
|
| --- a/client/tests/client/dom/WindowOpenTest.dart
|
| +++ b/client/tests/client/dom/WindowOpenTest.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);
|
|
|