3 ms·
The closest I think they got to a concrete proposal was web_view (https://wg21.link/p1108 https://wg21.link/p1108).
by jcranmer 2y ago
The closest I think they got to a concrete proposal was web_view (https://wg21.link/p1108 https://wg21.link/p1108).
- spacechild1 2y agoInteresting! AFAICT this would allow to run some JS code in a web browser, right? One thing I don't understand: > Each web_view class instance represents an independent, asynchronous web-content interface. The provided web_view shall support content complying with the [HTML5], [PNG], and [ECMAScript] standards. Who is supposed to provide the runtime? Also, it shows how to call a JS function and get the result back in C++, but how would you interface with C++ from within JS (e.g. in an event handler)?