Skip to content

[Shred] Extend browser test to check ShouldSuppressDialogs #51210

@vadimstruts

Description

@vadimstruts
  • For overridden method: bool ShouldSuppressDialogs(content::WebContents* source) in the BraveBrowser we heed to have separate browser test, to make sure we ignore the onbeforeunload only for selected tabs.
  • We should pass tab->GetContents() directly to PrepareTabForFirstPartyStorageCleanup instead of tabs::TabHandle

It is follow up for: #50670

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions