New issue
Advanced search Search tips

Issue 712928 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug

Blocked on:
issue 228179



Sign in to add a comment

onblur events not triggering with forms inside iframes on iOS with soft keyboard up

Reported by he...@pfinders.com, Apr 19 2017

Issue description

Steps to reproduce the problem:
1. https://mail2.pfinders.com/vindicia/
2. Accept certificate if necessary.
3. Press finger on credit card field see it turn blue with onfocus event.
4. Enter a number that is not a valid credit card.
5. If you press the Done button on the soft keyboard the field turns red because the Done button triggered the onblur event which triggered validation.
6. Press finger back down on the credit card field and enter a valid credit card number ex: '4111111111111111' and tap the side of the page to be off the input box. No onblur event triggered so the field did not turn green.
7. Click the 'Done' button and notice the onblur event did not trigger the field to turn green.
8. Press back inside the credit card field and click the Done button on the soft keyboard. Watch the onblur event turn the field green.

What is the expected behavior?
I expect the onblur event to be triggered with leaving the input box by any means especially with tapping away from it.

What went wrong?
The only way the onblur event is triggered is by clicking the Done button on the soft keyboard.

Did this work before? N/A 

Chrome version: 57.0.2987.137  Channel: stable
OS Version: 10.2
Flash Version: 

This page has single input boxes of forms inside iframes. This  separation of forms across multiple iframes is required for Credit Card PCI compliance as mandated by Visa and Mastercard.
It works fine on other platforms. This seems to be iOS specific.
 
Blockedon: 228179

Comment 2 by he...@pfinders.com, Apr 20 2017

What does "Blockedon: 228179" mean?

Comment 3 by jif@chromium.org, Apr 21 2017

Owner: kkhorimoto@chromium.org
Status: Assigned (was: Unconfirmed)
It means that we need to fix crbug.com/228179 (1) before this bug can be fixed.

(1) crbug.com/228179 is not visible by the public, but basically it's about injecting JS in iframes.

Cc: kkhorimoto@chromium.org danyao@chromium.org
Owner: ----
Status: Available (was: Assigned)
Project Member

Comment 5 by sheriffbot@chromium.org, Apr 23 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 6 by pkl@chromium.org, Apr 23 2018

Components: UI>Browser>Autofill
Owner: michaeldo@chromium.org
Status: Assigned (was: Untriaged)
Forms inside iFrames?

Comment 7 by he...@pfinders.com, Apr 23 2018

This came up with accepting credit cards on your website. Visa (PCI compliance) is now requiring strict security which many companies cannot afford. So 3rd parties are PCI compliant are putting forms inside iframes to receive the credit card numbers during the submit.

This way no credit card numbers are going to the parent window's server. So, the merchant does not need high security or storage of credit card numbers.

Comment 8 by he...@pfinders.com, Apr 23 2018

There is a work around by attempting to catch the blur event in the div tag in the parent window surrounding the iframe on iOS.

Sign in to add a comment