Commit c7fb971b authored by Matthias Körber's avatar Matthias Körber Committed by Commit Bot

[Autofill] Relaxed address requirements for Egypt.

The requirements for storing new profiles address in Egypt enforce
both a ZIP code and a state entry.
Both are commonly not present in address forms from Egypt.
This prevents Egyptian users from using autofill as intended.

This change simply relaxes the requirements to enable Egypt users to
use autofill.

Change-Id: I3511941ef5195e8f16c53d6dd535b9eef0cc52a7
Bug: 1073078
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159434
Commit-Queue: Dominic Battré <battre@chromium.org>
Reviewed-by: default avatarDominic Battré <battre@chromium.org>
Reviewed-by: default avatarMatthias Körber <koerber@google.com>
Auto-Submit: Matthias Körber <koerber@google.com>
Cr-Commit-Position: refs/heads/master@{#761008}
parent 3e7ee15e
...@@ -234,7 +234,7 @@ const StaticCountryData kCountryData[] = { ...@@ -234,7 +234,7 @@ const StaticCountryData kCountryData[] = {
ADDRESS_REQUIRES_CITY_ZIP } }, ADDRESS_REQUIRES_CITY_ZIP } },
{"EG", { IDS_AUTOFILL_FIELD_LABEL_POSTAL_CODE, {"EG", { IDS_AUTOFILL_FIELD_LABEL_POSTAL_CODE,
IDS_AUTOFILL_FIELD_LABEL_PROVINCE, IDS_AUTOFILL_FIELD_LABEL_PROVINCE,
ADDRESS_REQUIRES_CITY_STATE_ZIP } }, ADDRESS_REQUIRES_CITY } },
{"EH", { IDS_AUTOFILL_FIELD_LABEL_POSTAL_CODE, {"EH", { IDS_AUTOFILL_FIELD_LABEL_POSTAL_CODE,
IDS_AUTOFILL_FIELD_LABEL_PROVINCE, IDS_AUTOFILL_FIELD_LABEL_PROVINCE,
ADDRESS_REQUIRES_CITY_ZIP } }, ADDRESS_REQUIRES_CITY_ZIP } },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment