| Index: LayoutTests/dart/dom/WindowOpen.dart
|
| diff --git a/LayoutTests/dart/dom/WindowOpen.dart b/LayoutTests/dart/dom/WindowOpen.dart
|
| deleted file mode 100644
|
| index f582ccadfd26cb66b8e9fabc9eab7871de8c14dd..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/dart/dom/WindowOpen.dart
|
| +++ /dev/null
|
| @@ -1,32 +0,0 @@
|
| -#import('../../../../../dart/client/testing/unittest/unittest.dart');
|
| -#import('dart:dom');
|
| -
|
| -main() {
|
| - // FIXME: when JS DOM has proper layoutTestController support, should go away.
|
| - window.setTimeout(() {
|
| - evaluateJavaScript(code) {
|
| - final scriptTag = document.createElement('script');
|
| - scriptTag.innerHTML = code;
|
| - document.body.appendChild(scriptTag);
|
| - }
|
| - evaluateJavaScript('layoutTestController.setCanOpenWindows()');
|
| - }, 0);
|
| -
|
| - forLayoutTests();
|
| - asyncTest('TwoArgumentVersion', 1, () {
|
| - Window win = window.open('../resources/pong.html', 'testWindow');
|
| - closeWindow(win);
|
| - });
|
| - asyncTest('ThreeArgumentVersion', 1, () {
|
| - Window win = window.open("resources/pong.html", "testWindow", "scrollbars=yes,width=75,height=100");
|
| - closeWindow(win);
|
| - });
|
| -}
|
| -
|
| -closeWindow(win) {
|
| - win.close();
|
| - doneHandler() {
|
| - window.setTimeout(win.closed ? callbackDone : doneHandler, 1);
|
| - }
|
| - window.setTimeout(doneHandler, 1);
|
| -}
|
|
|