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

Unified Diff: pkg/unittest/lib/test_controller.js

Issue 22420002: Add support for ie in the browser controller (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | tools/test.dart » ('j') | tools/testing/dart/browser_controller.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/test_controller.js
===================================================================
--- pkg/unittest/lib/test_controller.js (revision 26105)
+++ pkg/unittest/lib/test_controller.js (working copy)
@@ -51,6 +51,8 @@
driver.postMessage("STARTING", "*");
}
}
+// We call notifyStart here to notify the encapsulating browser.
+notifyStart();
function notifyDone() {
if (testRunner) testRunner.notifyDone();
@@ -158,8 +160,6 @@
// dart2js will generate code to call this function instead of calling
// Dart [main] directly. The argument is a closure that invokes main.
function dartMainRunner(main) {
- // We call notifyStart here to notify the encapsulating browser.
- notifyStart();
window.postMessage('dart-calling-main', '*');
try {
main();
« no previous file with comments | « no previous file | tools/test.dart » ('j') | tools/testing/dart/browser_controller.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698