Skip to content

Tabs support: add methods to create additional top level browsing context #17226

Closed

Description

@paulrouget

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.

Activity

  1. added
    C-assigned
    on Jun 8, 2017
  2. self-assigned this
    on Jun 8, 2017
  3. gterzian commented on Jul 12, 2017

    @gterzian
    Member

    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.log output.

    As I understand the "main" event loop of the project is a Twisted event loop (Python).

  4. paulrouget commented on Jul 12, 2017

    @paulrouget
    ContributorAuthor

    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.

  5. paulrouget commented on Jul 12, 2017

    @paulrouget
    ContributorAuthor

    Somewhat unrelated to this issue, but I wasn't sure where else to post it

    When it comes to the way the embedder and servo communicate, #15645 is a good place to discuss. Also, see #15934.

  6. added 2 commits that reference this issue on Aug 12, 2017
    76700a3
    7455899
  7. paulrouget commented on Aug 15, 2017

    @paulrouget
    ContributorAuthor

    Fixed by #17425

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-embeddingC-assigned

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions