Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: LayoutTests/dart/dom/WindowOpen.dart

Issue 9188009: Things to unfork. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/dart/dom/WebSocket-expected.txt ('k') | LayoutTests/dart/dom/WindowOpen.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
-}
« no previous file with comments | « LayoutTests/dart/dom/WebSocket-expected.txt ('k') | LayoutTests/dart/dom/WindowOpen.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698