Chromium Code Reviews| 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); |