Граф коммитов

550 Коммитов

Автор SHA1 Сообщение Дата
Ray Lin e2440dcf56 Bug 1420169 - Move the ownership of input handler from form to section. r=lchang
MozReview-Commit-ID: FZgLNAqg1hR

--HG--
extra : rebase_source : e7ca556e80c24d7db32603a28460c1f051dc8eb7
2017-11-24 01:01:45 +08:00
Scott Wu 045d790150 Bug 1417843 - Add supportedCountries pref to configure which countries are supported. r=lchang,steveck
MozReview-Commit-ID: 13m1ezHcR8n

--HG--
extra : rebase_source : 4820c37143af678dd5a72b76622fc88be0ed11c4
2017-11-17 17:15:56 +08:00
Sean Lee 4bcd66dc63 Bug 1416665 - Deduplicate the detail with the same field name even they are in the different `contactType`. r=lchang,ralin
MozReview-Commit-ID: bKGSOUJOCg

--HG--
extra : rebase_source : 5ef34ec34b28d7984d4abbc47a5b81e96a67a50f
2017-11-17 14:18:34 +08:00
steveck-chung 45ecb2c0e5 Bug 1022925 - Part 2: Move alternative name to extension file. r=lchang,scottwu
MozReview-Commit-ID: 4rFagXU5iit

--HG--
extra : rebase_source : af0f34250fd0f92c84aa3d9b648e72d5e08ca828
2017-11-10 18:36:22 +08:00
steveck-chung 84109f9c52 Bug 1022925 - Part 1: move addressReferences to addressmetadata folder. r=lchang,scottwu
MozReview-Commit-ID: 4vRodOAyDdB

--HG--
rename : browser/extensions/formautofill/content/addressReferences.js => browser/extensions/formautofill/addressmetadata/addressReferences.js
extra : rebase_source : 69f1dd8be13d96da6209194aaa7c2d3bf53e3810
2017-11-10 14:39:44 +08:00
Ray Lin 18d07a7d13 Bug 1417775 - Always use short version preferences string on form autofill dropdown footer. r=lchang
MozReview-Commit-ID: 2PTkU8xveoU

--HG--
extra : rebase_source : f28a3fb7b2fa6bcf2f55ad63e65f7b635d8b57da
2017-11-21 16:03:30 +08:00
Sean Lee b02174ee3b Bug 1415077 - Implement the new multiple section tests. r=lchang,ralin
MozReview-Commit-ID: 8MKoPu5bWmZ

--HG--
extra : rebase_source : 49d908fd39d40e29fb6e60e8be5acf6334a4dc4d
2017-11-21 01:43:06 +08:00
Sean Lee fa10921a13 Bug 1415077 - Modify FormAutofill test to satisfy the section support feature. r=lchang,ralin
MozReview-Commit-ID: B0hjUqwZA1g

--HG--
extra : rebase_source : d35eddbd13c60c36a761076c0bf602326f15f2a8
2017-11-17 18:16:56 +08:00
Sean Lee 3108c978e6 Bug 1415077 - Classify the field details with autocomplete attr into multiple groups. r=lchang,ralin
MozReview-Commit-ID: lt8AVNzpRk

--HG--
extra : rebase_source : c11aa1e1165fa741a7b8ff3c0f5386a2b3f8f011
2017-11-07 18:08:44 +08:00
Csoregi Natalia 2bccdfa7a0 Backed out 2 changesets (bug 1022925) for failing browser/base/content/test/static/browser_all_files_referenced.js r=backout on a CLOSED TREE
Backed out changeset edbf6d586c9a (bug 1022925)
Backed out changeset 44f9fc2f03bb (bug 1022925)

--HG--
rename : browser/extensions/formautofill/addressmetadata/addressReferences.js => browser/extensions/formautofill/content/addressReferences.js
2017-11-21 17:00:09 +02:00
steveck-chung 172ad9bbb9 Bug 1022925 - Part 2: Move alternative name to extension file. r=lchang,scottwu
MozReview-Commit-ID: 4rFagXU5iit

--HG--
extra : rebase_source : c80881a1154583494af6c8b560a2ed70e2f0af8c
2017-11-10 18:36:22 +08:00
steveck-chung 32948d2f87 Bug 1022925 - Part 1: move addressReferences to addressmetadata folder. r=lchang,scottwu
MozReview-Commit-ID: 4vRodOAyDdB

--HG--
rename : browser/extensions/formautofill/content/addressReferences.js => browser/extensions/formautofill/addressmetadata/addressReferences.js
extra : rebase_source : aa4e31df31d4e9dbb0608629fb4abbf866b7112b
2017-11-10 14:39:44 +08:00
Ray Lin b17ff5950f Bug 1407508 - Part 5. Add mochitest for clear form button. r=lchang
MozReview-Commit-ID: 2TfAcwKmQTq

--HG--
extra : rebase_source : 55a3bd41c0fa9d324361d0bbbe584b03310a2143
2017-10-24 12:10:09 +08:00
Ray Lin 6e6989c8a6 Bug 1407508 - Part 4. Implement clear populated form function for form autofill clear button. r=lchang,seanlee
With this patch, we're able to clear the populated form already. However,
we need some ways to invalidate mResults in AutoCompleteController to get
new results instead of cached one for clear button once the form has been
populated.

MozReview-Commit-ID: 8No9FXWJv0p

--HG--
extra : rebase_source : 08f598c1f97ade3a3b0dc99e424d0f711c2d6671
2017-10-16 13:52:30 +08:00
Ray Lin 21888b3963 Bug 1407508 - Part 3. Add form autofill clear form button binding. r=lchang,seanlee
MozReview-Commit-ID: 7lDi5zsf1QI

--HG--
extra : rebase_source : c22e1a1a32456b52a9239d1bbe7979dcd1983977
2017-10-16 13:50:16 +08:00
Ray Lin f4ae6e83a9 Bug 1407508 - Part 2. Return clear form result instead of fallback to form history results for filled fields. r=lchang
MozReview-Commit-ID: Dtc2OHHEvUZ

--HG--
extra : rebase_source : 9bdd3e7f41357e84a1bd185858f95a5e6bf992d0
2017-10-11 17:45:46 +08:00
Ray Lin 02f5e6f893 Bug 1407508 - Part 1. Expose field states constants in FormAutofillUtils.jsm. r=lchang
MozReview-Commit-ID: G1jyiub2pRS

--HG--
extra : rebase_source : de7c014facdeb3bec1108b958a7e5910073cd6d9
2017-10-11 16:41:22 +08:00
Sean Lee 747b26c501 Bug 1339731 - Refactor some duplicated codes and remove the unused method. r=lchang,ralin
MozReview-Commit-ID: 5BHR2sJBASl

--HG--
extra : rebase_source : b0cc20356a2b72c5047c475562475b877831c41d
2017-11-20 09:19:51 +08:00
Sean Lee bc4a3d74f8 Bug 1339731 - Refactor FormAutofillHandler to support multiple section machanism. r=lchang,ralin
MozReview-Commit-ID: D9g5fKTeTaL

--HG--
extra : rebase_source : ef5a572e5038dfe6746d99e683c53625d6c45d9a
2017-11-20 08:21:30 +08:00
Ray Lin 64ce3efdf3 Bug 1392947 - Add more credit card expiration date matching patterns to enhance prediction. r=lchang,seanlee
MozReview-Commit-ID: 3WyU6wSC8wD

--HG--
extra : rebase_source : f0ae06296b32e65f2fbc6932f1de57acd532c18f
2017-11-15 17:33:01 +08:00
Scott Wu bb68b625f9 Bug 1413162 - Set width to manageAddresses and manageCreditCards dialogs and move button styles to common stylesheets. r=flod,jaws,lchang
Increased the dialog width and align html button styles with XUL button styles (padding, min-width) in common stylesheets.

MozReview-Commit-ID: Czzu0Ar6JfP

--HG--
extra : rebase_source : 3f9206ac21f0b533952c0ad5c898cfdf0e3a23ea
2017-11-13 18:36:35 +08:00
Luke Chang 02c6955381 Bug 1418885 - [Form Autofill] Ensure all computed fields are removed after normalizing and strip trailing newlines in "street-address". r=steveck
MozReview-Commit-ID: Llhi9AZ3T8H

--HG--
extra : rebase_source : 82a0ebfb286fa65c98688e9f06ac88fa82f37bd0
2017-11-20 13:59:21 +08:00
Dan Banner b2e847755c Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ

--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Andreea Pavel 83c3d396d1 Backed out 2 changesets (bug 1339731) for failing browser/extensions/formautofill/test/mochitest/test_form_changes.html r=backout on a CLOSED TREE
Backed out changeset 9faf8dcf5c6e (bug 1339731)
Backed out changeset 8492412ff6f6 (bug 1339731)
2017-11-17 17:56:44 +02:00
Luke Chang ecdb3157e8 Bug 1413488 - [Form Autofill] Rename the "data" property of "AutofillRecords" to "_data". r=seanlee
MozReview-Commit-ID: CmvqUW9PrrW

--HG--
extra : rebase_source : fe0e5d5570335d0ae0078cfb604a29d70d0a29f1
2017-11-16 13:25:43 +08:00
Sean Lee 6e3173aa24 Bug 1339731 - Refactor some duplicated codes and remove the unused method. r=lchang,ralin
MozReview-Commit-ID: 459i0cUvXRz

--HG--
extra : rebase_source : 4220a26b6616c6964481411bc7f27129c833e85c
2017-11-13 10:19:15 +08:00
Sean Lee 29e1c4d8d8 Bug 1339731 - Refactor FormAutofillHandler to support multiple section machanism. r=lchang,ralin
MozReview-Commit-ID: D9g5fKTeTaL

--HG--
extra : rebase_source : 1b19750a6f1d9137b9e21170b854d89cd6d2859c
2017-10-26 17:57:36 +08:00
Ray Lin fb26627762 Bug 1411990 - Add consecutive cc-exp-* regex check in form autofill heuristics to enhance expiration date pattern matching. r=lchang,seanlee
MozReview-Commit-ID: 5P2nSSJd2Dl

--HG--
extra : rebase_source : e6b5ca770623e43b51b4e59d449ca2f47e9b04cd
2017-11-10 01:28:43 +08:00
Luke Chang 5721194f82 Bug 1413120 - [Form Autofill] Accept credit card numbers with hyphens. r=ralin
MozReview-Commit-ID: BFomE2mTG84

--HG--
extra : rebase_source : 300bdea0e86ea35853d165c8df1827cfaea11a72
2017-11-07 20:07:32 +08:00
Luke Chang ace0d55bd5 Bug 1415451 - [Form Autofill] Storage should avoid saving an empty record. r=steveck
MozReview-Commit-ID: BFomE2mTG84

--HG--
extra : rebase_source : 0670fc072b7a6703e62f9c3f065b9d1591a4d53b
2017-11-07 20:07:32 +08:00
Ray Lin fc52dd1c24 Bug 1385785 - Clicking on form autofill dropdown warning notes should not open preferences tab. r=lchang
MozReview-Commit-ID: 4IWBroDQNT

--HG--
extra : rebase_source : 3f4bfb45e1aa9c52e6b6eadc4dcf2f3bf8f70d48
2017-11-14 14:54:25 +08:00
steveck-chung cdefaace6e Bug 1417032 - Avoid reverting the masked number while saving credit card. r=lchang
MozReview-Commit-ID: BhWC5cQIGF9

--HG--
extra : rebase_source : c48b0d55c884441bcd4c709376979d0e66d2d303
2017-11-15 13:39:06 +08:00
Luke Chang a817a561c5 Bug 1417316 - [Form Autofill] Do not clear the cached autocomplete result when popup closed as it might be reused. r=ralin
MozReview-Commit-ID: 5uOHP5Feuvh

--HG--
extra : rebase_source : aa225be9211bcf7aba45098c99394a46a5932039
2017-11-15 16:12:08 +08:00
Ray Lin c49fb9da0d Bug 1415836 - Make form autofill dropdown footer text centered. r=lchang
MozReview-Commit-ID: Aw8bQFlGQj3

--HG--
extra : rebase_source : d1e707b458cc9de278a79604663860ea5cb4e6a6
2017-11-15 11:49:00 +08:00
Mark Banner ba94a5128c Bug 1371293 - Fix instances of missing 'use strict;' in html files as found after ESLint 4 upgrade. r=mossop
MozReview-Commit-ID: 2q3nqLaXA3E

--HG--
extra : rebase_source : 971ee6ae4dd565ead6f4aa16e06638445ecc5da0
2017-10-31 16:40:37 +00:00
Mark Banner c62d0c64f8 Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop
MozReview-Commit-ID: 2YHYOLTtqxu

--HG--
extra : rebase_source : 7bbc673bb72d546e1fca63227d54b6607a4ab33e
2017-10-09 10:54:16 +01:00
steveck-chung 172c7e5a3b Bug 1415263 - [Form Autofill] Make accesskeys in form autofill doorhanger localizable. r=lchang
MozReview-Commit-ID: 1sAoPhYT9le

--HG--
extra : rebase_source : ac006fb35b036c0c7b1ecca05bb20e7e1a11dc67
2017-11-09 12:06:30 +08:00
Luke Chang 48d5f78470 Bug 1414189 - [Form Autofill] Add a pref to determine whether a user has ever used credit card autofill. r=steveck
MozReview-Commit-ID: BMqPiN1tv80

--HG--
extra : rebase_source : 8660936a563ae85cf62af8abe6d8427819f9c22f
2017-11-03 18:23:48 +08:00
Luke Chang 110cc1954a Bug 1374523 - [Form Autofill] Increase timer to wait for dropdown rendering and run keyboard test first in browser_autocomplete_footer.js. r=ralin
MozReview-Commit-ID: EvUZuMx0PPA

--HG--
extra : rebase_source : e6f781bb62ec21fa87e6b8eddec40fcdfa5c4d29
2017-11-09 16:29:35 +08:00
steveck-chung 6153bf3f6c Bug 1403881 - Add credit card update doorhanger. r=lchang
MozReview-Commit-ID: BUd70UyLC9c

--HG--
extra : rebase_source : 1f7fccbfcafc13282b180c2f8ed01317d43fc36e
2017-11-07 16:50:35 +08:00
Kyle Machulis bcce449ae5 Bug 1408186 - Remove nsIDOMHTMLSelectElement and nsIDOMHTMLOptionsCollection; r=bz
MozReview-Commit-ID: Gh3JwLUtmz9

--HG--
extra : rebase_source : 6cdee487246406cafe0e5a9afe4a44f62d131c8b
2017-10-12 16:32:25 -07:00
Scott Wu 2e849a739c Bug 1411509 - Add the country address format parser. r=lchang,steveck
MozReview-Commit-ID: 9ViNsQYeO0d

--HG--
extra : rebase_source : f26166b0e67fedfb7dd40e5f9c184eb662985de8
2017-10-27 15:17:58 +08:00
steveck-chung 80061fee88 Bug 1402963 - Part 2: Merge the credit card record into existing data. r=lchang
MozReview-Commit-ID: 3Hkqvo2rK9R

--HG--
extra : rebase_source : 04b0d7dcfd8b82888cc7e74fa61ece38e025b6c5
2017-10-25 17:46:56 +08:00
steveck-chung d83919d49b Bug 1402963 - Part 1: Deduplicate credit card by checking credit card storage and untouched fields. r=lchang
MozReview-Commit-ID: tuw36eyQnl

--HG--
extra : rebase_source : 303d79f19c0a460365364e322eb796ab8be72a18
2017-09-27 18:38:13 +08:00
Ray Lin 924ad4cf8f Bug 1414740 - Insert info log before async helper functions in form autofill mochitests. r=lchang
MozReview-Commit-ID: JJN7R2WC2D4

--HG--
extra : rebase_source : 7524ffef0f93f74c76630baf221198c33fdf3318
2017-11-06 17:58:41 +08:00
Luke Chang 2e16a8bf4c Bug 1413487 - [Form Autofill] Split "cc-exp" into "cc-exp-month" and "cc-exp-year" in the storage. r=seanlee
MozReview-Commit-ID: 1JKJFudYWHb

--HG--
extra : rebase_source : 142f2bbad8fa7152343d0c8a1938ae6536ad701d
2017-11-02 12:19:22 +08:00
steveck-chung 009db8012b Bug 1395123 - Unhide credit cards sync engine by default. r=lchang,markh
MozReview-Commit-ID: 4WzzW327PTe

--HG--
extra : rebase_source : 6313ebe75131aba4de7a168c20ee3841a173f402
2017-09-11 11:55:05 +08:00
Luke Chang fa911e3e35 Bug 1413118 - [Form Autofill] Fill "tel-national" to a recognized "tel" field even the international format passes "maxlength". r=seanlee
MozReview-Commit-ID: KOyFeaORTWV

--HG--
extra : rebase_source : 6e99ffa7685caab8bed5c31b87c2eeb8e3a7e0b8
2017-11-02 13:17:24 +08:00
steveck-chung c7ab0134de Bug 1413491 - [Form Autofill] Provide 2 different option for address merge for form manual/autofill submission. r=lchang
MozReview-Commit-ID: FqbpOKzWGcb

--HG--
extra : rebase_source : 311df89240b3728495e482f551c43d64949f2832
2017-11-02 09:54:47 +08:00
Sebastian Hengst 7d87ae7f46 Backed out 1 changesets (bug 1413491) for eslint failure at browser/extensions/formautofill/test/unit/test_addressRecords.js:532: Missing semicolon. r=backout on a CLOSED TREE
Backed out changeset 172216504d78 (bug 1413491)
2017-11-03 17:34:01 +01:00