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

Unified Diff: dart/site/try/src/compilation.dart

Issue 216113004: Try Dart! end-to-end test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 | dart/tests/try/end_to_end_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/site/try/src/compilation.dart
diff --git a/dart/site/try/src/compilation.dart b/dart/site/try/src/compilation.dart
index b5da4dcafea23468ba7940dff5797a8506518d0d..3f6fbafacb6d2e85247dcd22a1280ced04795507 100644
--- a/dart/site/try/src/compilation.dart
+++ b/dart/site/try/src/compilation.dart
@@ -291,6 +291,10 @@ self.importScripts("$url");
}
void consolePrint(message) {
+ if (window.parent != window) {
+ // Test support.
+ window.parent.postMessage('$message\n', '/');
+ }
console.appendText('$message\n');
}
}
« no previous file with comments | « no previous file | dart/tests/try/end_to_end_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698