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

Unified Diff: tests/html/window_open_test.dart

Issue 10967023: Move unit test init to start of main in window open test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | « tests/html/html.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/window_open_test.dart
===================================================================
--- tests/html/window_open_test.dart (revision 12649)
+++ tests/html/window_open_test.dart (working copy)
@@ -4,6 +4,7 @@
#import('dart:html');
main() {
+ useHtmlConfiguration();
evaluateJavaScript(code) {
final scriptTag = new Element.tag('script');
scriptTag.innerHTML = code;
@@ -11,7 +12,6 @@
}
evaluateJavaScript('(testRunner || layoutTestController).setCanOpenWindows()');
ahe 2012/09/21 09:24:22 I think this will cause an external exception in n
- useHtmlConfiguration();
test('TwoArgumentVersion', () {
Window win = window.open('../resources/pong.html', 'testWindow');
closeWindow(win);
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698