<div dir="ltr">On 26 April 2013 02:36, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div>Using an extension, it might be possible to run a seed context (<a href="https://live.gnome.org/Seed" target="_blank">https://live.gnome.org/Seed</a>) inside the web content process and then have the web context communicate with it through postMessage. Chrome is doing something similar with extensions/context scripts. I'm not sure how well exchanging binary streams would work with that approach (it's going to be important both for datastore and collaboration).<br>

<br></div></div></div></div></blockquote><div><br></div><div>About binary streams, there is very likely a way to do it efficiently. ArrayBuffers for example looks like they might be helpful. <br><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>In theory, since they use the same javascript interpreter, using seed it might even be possible to give access to gobject-introspection (or part of it) directly from the web context. Though that starts to feel messy.<br>
</div></div></div></div></blockquote><div><br></div><div>This is not possible using seed public API at least. Understandably they don't expose the js core context anywhere. <br></div></div><br><br></div><div class="gmail_extra">
All in all I'm getting to like seed-context-inside-web-process idea. Might be worth trying it out.<br clear="all"></div><div class="gmail_extra"><br>-- <br>Daniel Narvaez<br>
</div></div>