Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a page for testing autofill for login forms embedded in an iframe #90

Merged

Conversation

szanto90balazs
Copy link
Contributor

Asana: https://app.asana.com/0/72649045549333/1201816478631739/f

Add a new page for testing autofill for logins within an iframe. There are related pages (parent, child) to test autofill with iframes, but they target the autofill email integration and not logins. Felt like adding a new page makes more sense instead of extending the already existing one to avoid breaking tests or whatnot.

Copy link
Member

@GioSensation GioSensation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor suggestion, but it's approved. 👍

e.preventDefault();
e.stopImmediatePropagation();
// Note that form.submit() does not fire a submit event
clickForm.submit();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest also adding a visual indication that the form was indeed submitted. See this as an example.

@szanto90balazs szanto90balazs merged commit be15482 into duckduckgo:main Jul 29, 2022
@szanto90balazs szanto90balazs deleted the boli/autofill-logins-iframe branch July 29, 2022 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants