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

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

Issue 408783002: Enable Try Dart to run on IE11. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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 | site/try/src/compiler_isolate.dart » ('j') | site/try/src/compiler_isolate.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/try/src/compilation.dart
===================================================================
--- site/try/src/compilation.dart (revision 38416)
+++ site/try/src/compilation.dart (working copy)
@@ -33,6 +33,8 @@
import 'settings.dart' show
alwaysRunInWorker,
+ alwaysRunInIframe,
+ communicateViaBlobs,
incrementalCompilation,
minified,
onlyAnalyze,
@@ -110,6 +112,8 @@
}
interaction.compilationStarting();
compilerPort.send([['options', options], receivePort.sendPort]);
+ compilerPort.send([['communicateViaBlobs', communicateViaBlobs],
+ receivePort.sendPort]);
receivePort.listen(onMessage);
compilerPort.send([source, receivePort.sendPort]);
}
@@ -214,7 +218,8 @@
..appendText('\n');
}
interaction.aboutToRun();
- if (usesDartHtml && !alwaysRunInWorker) {
+ if (alwaysRunInIframe ||
+ usesDartHtml && !alwaysRunInWorker) {
retryInIframe();
} else {
runInWorker(url, onError);
« no previous file with comments | « no previous file | site/try/src/compiler_isolate.dart » ('j') | site/try/src/compiler_isolate.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698