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

Framed autofill #79

Merged
merged 5 commits into from
Apr 28, 2022
Merged

Framed autofill #79

merged 5 commits into from
Apr 28, 2022

Conversation

GioSensation
Copy link
Member

Adds forms within iframes to test autofill.

jonathanKingston and others added 2 commits November 18, 2021 11:00
Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
@GioSensation GioSensation self-assigned this Mar 24, 2022
Comment on lines +18 to +19
<h2>Cross origin iframe</h2>
<iframe src="https://good.third-party.site/autofill/frame-child.html" id="frame-form-cross-origin"></iframe>
Copy link
Member Author

Choose a reason for hiding this comment

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

I've added a cross-origin iframe for completeness as this was discussed extensively during the Android investigation, though it doesn't really make much difference for our purposes. I'm not entirely sure if using https://good.third-party.site is the correct way to do this, nor if it will actually work. AFAIK, we're not adding cross-origin iframes restrictions in CSPs so they should work by default. Please let me know if I should add anything else to make this work.

Copy link
Member

Choose a reason for hiding this comment

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

without knowing whole context this LGTM. good.third-party.site will work, path checks out. If you used other option (bad. , broken.) frame would be blocked/restricted.

@GioSensation
Copy link
Member Author

@jonathanKingston I piggybacked your branch for https://app.asana.com/0/0/1201935429432145/f. Let me know what you think.

Copy link
Member

@kdzwinel kdzwinel left a comment

Choose a reason for hiding this comment

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

@GioSensation please update the title and drop that htmk file and feel free to merge 👍

autofill/frame-parent.htmk Outdated Show resolved Hide resolved
autofill/frame-parent.html Outdated Show resolved Hide resolved
Comment on lines +18 to +19
<h2>Cross origin iframe</h2>
<iframe src="https://good.third-party.site/autofill/frame-child.html" id="frame-form-cross-origin"></iframe>
Copy link
Member

Choose a reason for hiding this comment

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

without knowing whole context this LGTM. good.third-party.site will work, path checks out. If you used other option (bad. , broken.) frame would be blocked/restricted.

@jonathanKingston
Copy link
Collaborator

jonathanKingston commented Apr 27, 2022

Yeah agree with Konrad's comments here, drop the htmk file :). Happy to make the changes if you're busy also. Thanks for making the changes :)

Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
Signed-off-by: Emanuele Feliziani <feliziani.emanuele@gmail.com>
@GioSensation GioSensation merged commit 70352a3 into main Apr 28, 2022
@GioSensation GioSensation deleted the jkt/framed-autofill branch April 28, 2022 11:58
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.

3 participants