This commit renames webpage's setInitialTab to setInitialState and
sets all initial state related attributes there.
Setting initial state happens right before initialize() is called.
Browsing context is added to the tab and parent id has been moved to
the tab so that those get carried to the initialization. This implies
that parentId got removed from the methods and signals. Further, to QML
side we only expose newTab(url) and only from C++ side we're calling
newTab with parent id and browsing context.
This commit renames webpage's setInitialTab to setInitialState and sets all initial state related attributes there. Setting initial state happens right before initialize() is called.
Browsing context is added to the tab and parent id has been moved to the tab so that those get carried to the initialization. This implies that parentId got removed from the methods and signals. Further, to QML side we only expose newTab(url) and only from C++ side we're calling newTab with parent id and browsing context.
This change requires https://github.com/sailfishos/qtmozembed/pull/30