What you can do today, with C# (or any language that can load a C
library) is to render a page in a GL buffer, and get few events about
what's going on in the page (new title, page navigation, resize, etc.
See:
https://github.com/servo/servo/blob/master/components/embedder_traits/lib.rs#L114).
It is quite limited as you can't manipulate the DOM, get DOM events or
access the JS context. And there is not way (yet) to pass messages
between the embedder and servo.
A deeper integration with the engine is something that has been
requested in the past, and we might eventually look at in the future.
But it's not possible yet without adding hooks all over Servo.
A possible workaround is to setup a websocket server in your C#
application that your webpage could communicate with in JS.
> _______________________________________________
> dev-servo mailing list
>
dev-...@lists.mozilla.org
>
https://lists.mozilla.org/listinfo/dev-servo