You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tabs support: add methods to create additional top level browsing context #17226
Now that #17077 has landed, and after #17200 and #16477 are fixed, we will need a way to create new top level browsing context.
We will need new Browser methods. This will impact the initialization code. And Browser will need to be renamed to something else as we will be create multiple browsers.
Our conclusion was to not abstract as much at these do, and stay as close to Servo as possible. A more user-friendly API will be build on top of this low level API.
Activity
gterzian commentedon Jul 12, 2017
Somewhat unrelated to this issue, but I wasn't sure where else to post it. Came across this project which is an interesting embedding use case: https://github.com/scrapinghub/splash/
They're using PyQt5, which seems to offer a kind of windowing wrapper around Webkit.
The project has it's own "Tab" solution, implemented in Python, which wraps around a PyQt5.QWebview. It's worth taking a look to see what things they had to support themselves: https://github.com/scrapinghub/splash/blob/master/splash/browser_tab.py
It's also interesting to see what access to the browser engine they require, for example access to
console.logoutput.As I understand the "main" event loop of the project is a Twisted event loop (Python).
paulrouget commentedon Jul 12, 2017
Thanks.
There are a lot of embedding projects we have been studying. For example:
Our conclusion was to not abstract as much at these do, and stay as close to Servo as possible. A more user-friendly API will be build on top of this low level API.
paulrouget commentedon Jul 12, 2017
When it comes to the way the embedder and servo communicate, #15645 is a good place to discuss. Also, see #15934.
Auto merge of #17425 - paulrouget:attach-pipeline-2, r=asajeffrey
Auto merge of #17425 - paulrouget:attach-pipeline-2, r=asajeffrey
paulrouget commentedon Aug 15, 2017
Fixed by #17425