| Index: tools/dom/src/CrossFrameTypes.dart
|
| diff --git a/tools/dom/src/CrossFrameTypes.dart b/tools/dom/src/CrossFrameTypes.dart
|
| index 679092d47cc3698d0db40082bb5e138f644cf96c..cda5957dd8f652019845c437ba0f2f31c4ccabca 100644
|
| --- a/tools/dom/src/CrossFrameTypes.dart
|
| +++ b/tools/dom/src/CrossFrameTypes.dart
|
| @@ -33,6 +33,16 @@ abstract class WindowBase implements EventTarget {
|
| * print(currentLocation.href); // 'http://www.example.com:80/'
|
| */
|
| LocationBase get location;
|
| +
|
| + /**
|
| + * The current session history for this window.
|
| + *
|
| + * ## Other resources
|
| + *
|
| + * * [Session history and navigation specification]
|
| + * (http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html)
|
| + * from WHATWG.
|
| + */
|
| HistoryBase get history;
|
|
|
| /**
|
| @@ -118,6 +128,19 @@ abstract class WindowBase implements EventTarget {
|
| * * [Window close discussion](http://www.w3.org/TR/html5/browsers.html#dom-window-close) from the W3C
|
| */
|
| void close();
|
| +
|
| + /**
|
| + * Sends a cross-origin message.
|
| + *
|
| + * ## Other resources
|
| + *
|
| + * * [window.postMessage]
|
| + * (https://developer.mozilla.org/en-US/docs/Web/API/Window.postMessage) from
|
| + * MDN.
|
| + * * [Cross-document messaging]
|
| + * (http://www.whatwg.org/specs/web-apps/current-work/multipage/web-messaging.html)
|
| + * from WHATWG.
|
| + */
|
| void postMessage(var message, String targetOrigin, [List messagePorts]);
|
| }
|
|
|
|
|