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

Unified Diff: tests/html/window_open_test.dart

Issue 10855176: And hopefully the last reference to layoutTestController. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « no previous file | 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
diff --git a/tests/html/window_open_test.dart b/tests/html/window_open_test.dart
index 6078867f5f6f0b425ca7465f5fcc751e58e2bda4..a2d04166ac1031481bd3a89d296f038f13eb8cfc 100644
--- a/tests/html/window_open_test.dart
+++ b/tests/html/window_open_test.dart
@@ -9,7 +9,7 @@ main() {
scriptTag.innerHTML = code;
document.body.nodes.add(scriptTag);
}
- evaluateJavaScript('layoutTestController.setCanOpenWindows()');
+ evaluateJavaScript('(testRunner || layoutTestController).setCanOpenWindows()');
podivilov 2012/08/21 16:51:39 Is testRunner getter somehow exposed to JavaScript
Anton Muhin 2012/08/21 18:00:39 Sorry, what do you mean? testRunner is now offici
useHtmlConfiguration();
test('TwoArgumentVersion', () {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698