Commit graph

128 commits

Author SHA1 Message Date
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
Dale Harvey
26080db322 Bug 376668 - Make login fields show autocomplete on focus. r=mattn 2016-11-21 15:20:44 +00:00
Boris Zbarsky
62e08b6904 Bug 1317367 part 4. Pass an explicit CallerType to HTMLInputElement::GetValueInternal. r=smaug
I'm not 100% sure that I'm being very consistent in my handling of
mFocusedValue, but since that's not used for file inputs, I don't think it
matters much...

A bigger problem is if people start using this caller type for things other than
file inputs.
2016-11-15 12:46:32 -05:00
Sean Lee
5416c9a8fe Bug 1289913 - Show autocomplete UI on password fields.; r=MattN
MozReview-Commit-ID: LGKM6igKbQB

--HG--
extra : rebase_source : 31e144b0290f23e24cc09a7768541865f675df36
2016-11-03 18:07:39 +08:00
Sebastian Hengst
7933fd8969 Backed out changeset 53d701cacdea (bug 1289913) for failing xpcshell test_user_autocomplete_result.js on Android and mochitest test_password_field_autocomplete.html on many platforms. r=backout 2016-11-12 14:10:32 +01:00
Sean Lee
40bda5317d Bug 1289913 - Show autocomplete UI on password fields.; r=MattN
MozReview-Commit-ID: LGKM6igKbQB

--HG--
extra : rebase_source : e20c8c9122611ab7b7a5aba6904e93167a5d015c
2016-11-03 18:07:39 +08:00
Stephen A Pohl
872ca624a7 Bug 1183037: Ensure that autocomplete popups can be displayed again after being dismissed the first time. r=mconley 2016-10-24 11:46:16 -04:00
Marco Bonardo
6fba552346 Bug 1304501 - Properly disable trimUrl on autofill. r=adw
MozReview-Commit-ID: IxCOWkqFYV0

--HG--
extra : rebase_source : f6519c6f245199db550e2d999931c65154d38427
2016-09-21 21:55:00 +02:00
Marco Bonardo
95dbb8627b Bug 1301093 - Part 1: don't wait for a result when we won't get one. r=adw
MozReview-Commit-ID: E6l9mW3ZoKp

--HG--
extra : rebase_source : 39144a190f27257b190178308b26fa3f7bea15a2
2016-09-07 17:44:46 +02:00
Michael Layzell
36e08437d0 Bug 1018486 - Part 8: Various other changes, r=smaug
MozReview-Commit-ID: B0dsomkWgEk
2016-09-07 10:50:45 -04:00
Yoshi Huang
8c13a9fd49 Bug 1244340 - Part 3: pass userContextId to search suggestions r=mak 2016-08-26 18:59:00 +08:00
Nicholas Nethercote
e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Drew Willcoxon
55ab8f47c3 Bug 1180944 - Implement one-off searches from Awesomebar. r=mak,florian
MozReview-Commit-ID: A9YXB32L7MN
2016-08-02 18:00:26 -07:00