fix: offscreen mode under window.open creation (#47868)

fix: offscreen mode under new window creation
This commit is contained in:
Shelley Vohr 2025-08-05 14:56:33 +02:00 committed by GitHub
commit 8806499904
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 133 additions and 19 deletions

View file

@ -510,6 +510,8 @@ class WebContents final : public ExclusiveAccessContext,
int opener_render_frame_id,
const content::mojom::CreateNewWindowParams& params,
content::WebContents* new_contents) override;
void MaybeOverrideCreateParamsForNewWindow(
content::WebContents::CreateParams* create_params) override;
content::WebContents* AddNewContents(
content::WebContents* source,
std::unique_ptr<content::WebContents> new_contents,