Commit graph

140 commits

Author SHA1 Message Date
Ehsan Akhgari
cd91a2efc3 Bug 1374887 - Remove nsIFormAutoComplete::StopControllingInput() from the C++ side; r=MattN
This currently only incurs some XPConnect and exception creation
overhead, as the method has no implementation.
2017-06-21 23:43:37 -04:00
Ehsan Akhgari
d711c402c2 Bug 1374893 - Don't handle the input event for inputs that aren't text controls; r=MattN 2017-06-21 23:29:15 -04:00
Carsten "Tomcat" Book
8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Ehsan Akhgari
7fccf77722 Bug 1373063 - Make nsFormFillController::HandleEvent() a bit faster by avoiding some string comparisons; r=MattN 2017-06-15 09:39:30 -04:00
Ehsan Akhgari
2fef4ff0fb Bug 1372794 - Cache the form autocomplete service instead of repeatedly getting it in the form fill controller; r=MattN 2017-06-14 08:24:16 -04:00
Jonathan Guillotte-Blouin
969046c009 Bug 1365068 - Added missing brackets & refactored some conditional statements. r=MattN
MozReview-Commit-ID: 1eOkjI06RCJ

--HG--
extra : rebase_source : 18068d1483d9127c06b858ce917f53dc41f4c58f
2017-05-16 15:56:28 -07:00
Ray Lin
f50d5b5b45 Bug 1340483 - Part 3. Enable preview function only when input is marked as autofill field. r=heycam
MozReview-Commit-ID: FFqYJ3icRd7

--HG--
extra : rebase_source : 2ba1caff6676a3af769e8aac58a19e9d9de81254
2017-03-22 16:55:56 +08:00
Mike Conley
a4439189a7 Bug 1350243 - Combine e10s and non-e10s code paths when reacting to datalist updates. r=MattN
MozReview-Commit-ID: 1O3wAzzwWAR

--HG--
extra : rebase_source : 74a698ad29b4df25eddf9a3381dc742e3bb66a96
2017-04-06 16:39:08 -04:00
Johann Hofmann
c7f84eacc4 Bug 1337772 - Part 1 - Use mousedown instead of contextmenu to avoid showing the password autocomplete. r=MattN
MozReview-Commit-ID: EUZ1f6Qdm0c

--HG--
extra : rebase_source : e0b4f4f5d14407a831ca6efe4481f6c884682b39
2017-04-07 00:01:31 +02:00
Olli Pettay
d47c995985 Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica
--HG--
extra : rebase_source : b7d76ce3321ea0d622da74a72b7278fd0fa63310
2017-03-31 22:49:00 -04:00
Olli Pettay
31b1f5cc92 Backout Bug 1351860, r=backout 2017-03-31 16:55:32 -04:00
Olli Pettay
b84c192a09 Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica
--HG--
extra : rebase_source : 5f2cac2c4e944e2c9f2f1acf0d3064e153c40451
2017-03-31 13:13:36 -04:00
Boris Zbarsky
060aadda89 Bug 1343037 part 16. Implement a version of nsTextEditorState::SetSelectionRange that takes a string for the direction. r=ehsan
MozReview-Commit-ID: E8zYAWolg94
2017-03-09 14:44:06 -05:00
Boris Zbarsky
03aa46332c Bug 1343037 part 2. Get rid of nsIDOMHTMLInputElement's selectionEnd accessors. r=ehsan,MattN
MozReview-Commit-ID: L2Ozu7Vvort
2017-03-09 14:44:03 -05:00
Boris Zbarsky
e2ba9aed19 Bug 1343037 part 1. Get rid of nsIDOMHTMLInputElement's selectionStart accessors. r=ehsan,MattN
MozReview-Commit-ID: IyFv8NRuZIO
2017-03-09 14:44:03 -05:00
Johann Hofmann
4642af4d8e Bug 1337772 - Fix intermittent browser_context_menu_autocomplete_interaction.js. r=MattN
MozReview-Commit-ID: 6vAWN4z2wRP

--HG--
extra : rebase_source : d16b3d8e84dbaf0c9cdb30d9043286f829922c17
2017-03-01 20:05:38 +01:00
Johann Hofmann
6591e6548f Bug 1337259 - Don't show password autocomplete upon a right click into the password field. r=mconley
MozReview-Commit-ID: JEODCfZOMRW

--HG--
extra : rebase_source : cbf2fe788f075e9c27b4f7ce162f08ee25dc2c5a
2017-02-10 12:45:26 +01:00
Luke Chang
3374d73693 Bug 1341582 - Apply form autofill to an already-focused input, r=MattN
MozReview-Commit-ID: C6zT7jKBb4c

--HG--
extra : rebase_source : 1154380e8b4a0c3be5443ac8044febe096f550ff
2017-02-23 14:44:07 +08:00
Matthew Noorenberghe
f54bfb10ae Bug 1330111 - Expose nsFormFillController's showPopup via nsIFormFillController. r=felipe
MozReview-Commit-ID: 9pc2QDDWTrQ
2017-02-03 12:44:49 -08:00
Matthew Noorenberghe
939f782a58 Bug 1330111 - Convert the getFocusedInput method on nsIFormFillController to an attribute. r=felipe
The convention is to use an attribute. This also fixes reference counting.

MozReview-Commit-ID: B38ZVNt4Ugi
2017-01-31 23:57:49 -08:00
Matthew Noorenberghe
d14b1e4ab2 Bug 1330111 - Always attempt to autocomplete on type=password fields upon focus. r=daleharvey
Let password manager handle opening the popup on username fields itself.

MozReview-Commit-ID: FbI6CgsadEd
2017-02-07 11:15:35 +08:00
Carsten "Tomcat" Book
9164286e22 Backed out changeset 6b7069ed30e0 (bug 1330111) for causing frequent timeouts in browser_autocomplete_insecure_warning.js 2017-02-07 14:03:42 +01:00
Carsten "Tomcat" Book
220298580e Backed out changeset dee4bf1753cd (bug 1330111) 2017-02-07 14:03:21 +01:00
Carsten "Tomcat" Book
5a4e82d5a7 Backed out changeset e0f1b7028872 (bug 1330111) 2017-02-07 14:03:20 +01:00
Matthew Noorenberghe
6318a3b74c Bug 1330111 - Expose nsFormFillController's showPopup via nsIFormFillController. r=felipe
MozReview-Commit-ID: 9pc2QDDWTrQ

--HG--
extra : rebase_source : 5587376b97a52081ab67154b410eb0a745c833f0
2017-02-03 12:44:49 -08:00
Matthew Noorenberghe
3742b4bd15 Bug 1330111 - Convert the getFocusedInput method on nsIFormFillController to an attribute. r=felipe
The convention is to use an attribute. This also fixes reference counting.

MozReview-Commit-ID: B38ZVNt4Ugi

--HG--
extra : rebase_source : d84db245899e434c90b124e4ee1c5ebb1c0e79b9
2017-01-31 23:57:49 -08:00
Matthew Noorenberghe
3e2d9794ad Bug 1330111 - Always attempt to autocomplete on type=password fields upon focus. r=daleharvey
Let password manager handle opening the popup on username fields itself.

MozReview-Commit-ID: FbI6CgsadEd

--HG--
extra : rebase_source : a52ffb5e7e5ae0f15a71309bdf5bf3bbf246b09e
2017-02-07 11:15:35 +08:00
Wes Kocher
03fa75727b Backed out 9 changesets (bug 1330111) for bc bustage in various tests a=backout
Backed out changeset e87c86970a29 (bug 1330111)
Backed out changeset 9e2e44a7a159 (bug 1330111)
Backed out changeset 7abc377ef809 (bug 1330111)
Backed out changeset f1e782d1c944 (bug 1330111)
Backed out changeset d94d72846952 (bug 1330111)
Backed out changeset 23180cae4a46 (bug 1330111)
Backed out changeset 09c59f5c572a (bug 1330111)
Backed out changeset e208e0b51349 (bug 1330111)
Backed out changeset 271035a2bc64 (bug 1330111)

MozReview-Commit-ID: 6mfKgu07dow
2017-02-06 17:54:14 -08:00
Matthew Noorenberghe
15d602aca3 Bug 1330111 - Expose nsFormFillController's showPopup via nsIFormFillController. r=felipe
MozReview-Commit-ID: 9pc2QDDWTrQ

--HG--
extra : rebase_source : a4c4ef443f3b0495f1e81cffedc6ebb1abd9018d
2017-02-03 12:44:49 -08:00
Matthew Noorenberghe
67472de001 Bug 1330111 - Convert the getFocusedInput method on nsIFormFillController to an attribute. r=felipe
The convention is to use an attribute. This also fixes reference counting.

MozReview-Commit-ID: B38ZVNt4Ugi

--HG--
extra : rebase_source : 49e956a01f84f058c8faddf00a0c2cb0776e5ec7
2017-01-31 23:57:49 -08:00
Matthew Noorenberghe
6f408d312e Bug 1330111 - Always attempt to autocomplete on type=password fields upon focus. r=daleharvey
Let password manager handle opening the popup on username fields itself.

MozReview-Commit-ID: FbI6CgsadEd

--HG--
extra : rebase_source : b50f8ecaf5daff5660832894f083e2fda7336e3f
2017-02-03 17:19:02 -08:00
Boris Zbarsky
08d76ec702 Bug 1332812. Remove some more unused or nearly-unused nsIDOMElement bits. r=froydnj 2017-02-02 10:32:58 -05:00
Sebastian Hengst
4c5957bbd3 Backed out changeset c724fbd9c326 (bug 1332812) for build bustage. r=backout on a CLOSED TREE 2017-02-02 16:58:52 +01:00
Boris Zbarsky
b249de7c3a Bug 1332812. Remove some more unused or nearly-unused nsIDOMElement bits. r=froydnj 2017-02-02 10:32:58 -05:00
Matthew Noorenberghe
36364729b4 Bug 1334026 - Show the the insecure field warning on insecure password fields even if they're not marked. r=mconley
MozReview-Commit-ID: JwEYWQmexj

--HG--
extra : rebase_source : 129802a1c2095109afd4d1bbed6ba8b10746ad20
2017-01-30 15:53:27 -08:00
Phil Ringnalda
8295b28102 Backed out changeset 25c931f199e8 (bug 1334026) for Android crashes @ nsFormFillController::StartSearch
CLOSED TREE
2017-01-26 21:30:50 -08:00
Matthew Noorenberghe
b3352c971b Bug 1334026 - Show the the insecure field warning on insecure password fields even if they're not marked. r=mconley
MozReview-Commit-ID: JwEYWQmexj

--HG--
extra : rebase_source : 4e429750d21d49fab28521a51d0a3a9cbcebc547
2017-01-26 18:03:16 -08:00
Ryan VanderMeulen
4cc5423c42 Backed out changeset 1ddaf704683d (bug 1334026) for browser_aboutHome.js crashes on a CLOSED TREE. 2017-01-26 20:49:17 -05:00
Matthew Noorenberghe
f7aa762916 Bug 1334026 - Show the the insecure field warning on insecure password fields even if they're not marked. r=mconley
MozReview-Commit-ID: JwEYWQmexj

--HG--
extra : rebase_source : 569331a8dbcd0e6b6ea95f26326bd568374f7d05
2017-01-26 15:22:05 -08:00
steveck-chung
8e2984c403 Bug 1300992 - Part 1: Communication between processes, r=MattN
MozReview-Commit-ID: IfeRsX9ErBj

--HG--
extra : rebase_source : 665eea3a69fccbefb6abcefeb3bc22119381e133
2016-12-30 17:00:27 +08:00
Matthew Noorenberghe
0a8f604393 Bug 1329351 - Only autocomplete on password fields which were marked. r=mconley
MozReview-Commit-ID: 3xNSPrlhOik

--HG--
rename : toolkit/components/satchel/test/test_bug_511615.html => toolkit/components/satchel/test/test_password_autocomplete.html
extra : rebase_source : 1f1560ab6c3735a9c4142a5c2127bf211ad0ba5a
2017-01-19 01:06:47 -08:00
Wes Kocher
4df2f55b32 Backed out changeset cca78c809a20 (bug 1329351) for test_password_field_autocomplete.html failures a=backout CLOSED TREE
MozReview-Commit-ID: 43v5di5qqHh
2017-01-12 16:15:25 -08:00
Matthew Noorenberghe
f482669509 Bug 1329351 - Only autocomplete on password fields which were marked. r=mconley
MozReview-Commit-ID: 3xNSPrlhOik

--HG--
extra : rebase_source : 52c71d323a9ea2f05a3277ae45808656147c9eed
2017-01-12 12:52:42 -08:00
Matthew Noorenberghe
789a9fb565 Bug 1329631 - Only automatically open login manager autocomplete upon first marking. r=daleharvey
MozReview-Commit-ID: EnKmOSjs6G4

--HG--
extra : rebase_source : 837aaf46c8d33756441da26064d71e39bb54c562
2017-01-11 18:03:42 -08:00
Steve Chung
7d449d1637 Bug 1304634 - Part 3: Ensure the profile search is registed while search started, r=MattN
MozReview-Commit-ID: 20jCHDM39SH

--HG--
extra : rebase_source : 04a140fd7587fe50a98d82fda43e360f64b0632b
2016-12-22 12:07:02 +08:00
Matthew Noorenberghe
9b47622cca Bug 1304634 - Part 1: Introduce MarkAsAutofillField API and necessary logic changes in controller, r=MattN
MozReview-Commit-ID: BeZXuWMvcQg

--HG--
extra : rebase_source : b4d9f774e5aca4a1520a685bfaa1f3b68e86c0d3
2016-09-22 15:26:28 +08:00
Dale Harvey
e4ee5fbc31 Bug 1311301 - Ensure login managed inputs focus on load. r=mattn 2016-12-01 00:01:52 +00:00