| Index: dart/lib/compiler/implementation/lib/js_helper.dart
|
| diff --git a/dart/lib/compiler/implementation/lib/js_helper.dart b/dart/lib/compiler/implementation/lib/js_helper.dart
|
| index eb7ea2d554e96189d555fe519974ab5266314c98..e923f9838b2fc2fc08b9ce5c62cf036dec288297 100644
|
| --- a/dart/lib/compiler/implementation/lib/js_helper.dart
|
| +++ b/dart/lib/compiler/implementation/lib/js_helper.dart
|
| @@ -1278,3 +1278,7 @@ void throwNoSuchMethod(obj, name, arguments) {
|
| void throwCyclicInit(String staticName) {
|
| throw new RuntimeError("Cyclic initialization for static $staticName");
|
| }
|
| +
|
| +void postGlobalMessage(String message) {
|
| + JS('void', 'window.postMessage(String(#), "*")', message);
|
| +}
|
|
|