mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:17:35 +00:00
LibWeb: Create a new WebView for window.open()'d top level traversables
This commit is contained in:
parent
677bdc2a4f
commit
adb5c27331
5 changed files with 42 additions and 9 deletions
|
@ -82,6 +82,9 @@ public:
|
|||
Page& page() { return m_page; }
|
||||
Page const& page() const { return m_page; }
|
||||
|
||||
String window_handle() const { return m_window_handle; }
|
||||
void set_window_handle(String window_handle) { m_window_handle = move(window_handle); }
|
||||
|
||||
private:
|
||||
TraversableNavigable(JS::NonnullGCPtr<Page>);
|
||||
|
||||
|
@ -114,6 +117,8 @@ private:
|
|||
SessionHistoryTraversalQueue m_session_history_traversal_queue;
|
||||
|
||||
JS::NonnullGCPtr<Page> m_page;
|
||||
|
||||
String m_window_handle;
|
||||
};
|
||||
|
||||
struct BrowsingContextAndDocument {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue