Skip to content

Always create Credential Banner to the top window#2984

Open
varjolintu wants to merge 1 commit into
developfrom
fix/create_credential_banner_to_top_window
Open

Always create Credential Banner to the top window#2984
varjolintu wants to merge 1 commit into
developfrom
fix/create_credential_banner_to_top_window

Conversation

@varjolintu
Copy link
Copy Markdown
Member

If changed credentials are detected with a login form that is inside an iframe, the current comparison for window.self and window.top prevents creating the Credential Banner. Instead, if we want to show the banner, create it always to the root document (window.top).

Testing strategy

Manually using https://www.found.fi/en/auctions/. It will open a new tab after entering credentials, but the Credential Banner should be visible when returning to the tab.

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

@varjolintu varjolintu added this to the 1.10.3 milestone May 29, 2026
@varjolintu varjolintu requested a review from droidmonkey May 29, 2026 18:10
@varjolintu varjolintu added the bug label May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

found.fi/hoksu.fi

1 participant