Closed rainemak closed 2 years ago
This PR supersedes https://github.com/sailfishos/sailfish-components-webview/pull/141
One comment (which might not be valid anyway), aside from that LGTM.
One comment (which might not be valid anyway), aside from that LGTM.
Currently API is marked as internal (highlighted it in previous comment). Mismatches between parent-child browsing contexts will assert inside the engine. Only way to bypass on QML side window.open to somewhat work is to break parent-child relationship between parent&child webview => i.e. treat parentId always is zero. This of course have implications like parent web content cannot close created child not can child close itself.
This implies that for QML we need at some point better API.
Browsing context cannot be optional for sub windows.