W3C home > Mailing lists > Public > public-secondscreen@w3.org > April 2015

Re: [presentation-api] Define a bi-directional data channel between opening and presenting browsing contexts

From: Anssi Kostiainen via GitHub <sysbot+gh@w3.org>
Date: Mon, 20 Apr 2015 13:22:54 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-94449853-1429536173-sysbot+gh@w3.org>
All - I suggest we review this issue at F2F since communication 
between contexts is a core part of the API. We also seem to have 
multiple work-in-progress implementations, so my expectation is 
implementers (ping @mfoltzgoogle @schien) would be able to share some 
concrete implementation feedback at F2F regarding this feature.

* API http://w3c.github.io/presentation-api/#presentationsession:
```
// Communication
  attribute BinaryType binaryType;
  EventHandler onmessage;
  void send (DOMString message);
  void send (Blob data);
  void send (ArrayBuffer data);
  void send (ArrayBufferView data);
```

* Algorithms and prose:
 * 
http://w3c.github.io/presentation-api/#sending-a-message-through-presentationsession
 * 
http://w3c.github.io/presentation-api/#receiving-a-message-through-presentationsession

-- 
GitHub Notif of comment by anssiko
See 
https://github.com/w3c/presentation-api/issues/46#issuecomment-94449853
Received on Monday, 20 April 2015 13:23:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 20 April 2015 13:23:44 UTC