Bug 1501911 - Support 'address-level3' in @autocomplete for form fields. r=smaug
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Sat, 27 Oct 2018 03:14:05 +0300
changeset 443243 da8a1b9096cb5bc4df19aa005e21d5c92315c19a
parent 443242 81402beaec3d8986c9d2dc127862df7ae166fc5a
child 443244 e9f2f0ad93b3b16fd9e4bc9ed6c1c4596886615d
push id34945
push userncsoregi@mozilla.com
push dateSat, 27 Oct 2018 09:51:30 +0000
treeherdermozilla-central@7007206a3cd4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1501911, 1481972
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1501911 - Support 'address-level3' in @autocomplete for form fields. r=smaug Form Autofill added support in bug 1481972. This change allows authors to feature detect our support.
dom/base/AutocompleteFieldList.h
testing/web-platform/meta/html/semantics/forms/the-form-element/form-autocomplete.html.ini
--- a/dom/base/AutocompleteFieldList.h
+++ b/dom/base/AutocompleteFieldList.h
@@ -55,17 +55,16 @@
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(HONORIFIX_PREFIX, "honorifix-prefix")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(HONORIFIX_SUFFIX, "honorifix-suffix")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(NICKNAME, "nickname")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(ORGANIZATION_TITLE, "organization-title")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(USERNAME, "username")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(NEW_PASSWORD, "new-password")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(CURRENT_PASSWORD, "current-password")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(ADDRESS_LEVEL4, "address-level4")
-AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(ADDRESS_LEVEL3, "address-level3")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(CC_GIVEN_NAME, "cc-given-name")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(CC_ADDITIONAL_NAME, "cc-additional-name")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(CC_FAMILY_NAME, "cc-family-name")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(CC_CSC, "cc-csc")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(CC_TYPE, "cc-type")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(TRANSACTION_CURRENCY, "transaction-currency")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(TRANSACTION_AMOUNT, "transaction-amount")
 AUTOCOMPLETE_UNSUPPORTED_FIELD_NAME(LANGUAGE, "language")
--- a/testing/web-platform/meta/html/semantics/forms/the-form-element/form-autocomplete.html.ini
+++ b/testing/web-platform/meta/html/semantics/forms/the-form-element/form-autocomplete.html.ini
@@ -65,19 +65,16 @@
     expected: FAIL
 
   [current-password is an allowed autocomplete field name]
     expected: FAIL
 
   [address-level4 is an allowed autocomplete field name]
     expected: FAIL
 
-  [address-level3 is an allowed autocomplete field name]
-    expected: FAIL
-
   [transaction-currency is an allowed autocomplete field name]
     expected: FAIL
 
   [transaction-amount is an allowed autocomplete field name]
     expected: FAIL
 
   [Serialize combinations of section, mode, contact, and field]
     expected: FAIL