Commit graph

72 commits

Author SHA1 Message Date
Florian Quèze
4e937e42a2 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Kris Maglione
22688fc220 Bug 1358921: Lazily load LoginManagerParent.jsm when first needed. r=florian
MozReview-Commit-ID: 4Aq0mBGXBX3

--HG--
extra : rebase_source : eb8bdb8efb65d758e1ddf5d6ffd6d07736763139
2017-05-02 22:42:28 -07:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Matthew Noorenberghe
dcdc8e9897 Bug 1330111 - Test changes for opening username autocomplete. r=johannh
MozReview-Commit-ID: CJKpsRmWorm
2017-02-03 16:41:48 -08:00
Carsten "Tomcat" Book
58501d8d2a Backed out changeset d71bc4a09493 (bug 1330111) 2017-02-07 14:03:10 +01:00
Matthew Noorenberghe
049bab4f26 Bug 1330111 - Test changes for opening username autocomplete. r=johannh
MozReview-Commit-ID: CJKpsRmWorm

--HG--
extra : rebase_source : 5d81ed17c2b91e26ffbd15873a435e58c942c47d
2017-02-03 16:41:48 -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
e24fb4f219 Bug 1330111 - Test changes for opening username autocomplete. r=johannh
MozReview-Commit-ID: 2okX1Vfh5Kh

--HG--
extra : rebase_source : b1f9e6e03f15007ebf3b82cf8753f3f0748c90a9
2017-02-03 16:41:48 -08:00
Jared Wein
43bac26d30 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a

--HG--
extra : rebase_source : 014c0b04d8538dc5f15bc6dd4ed6bd220c55c5d4
2017-01-17 09:48:17 -06:00
David Keeler
1e8a66e52b bug 1328456 - disallow empty token names for nsIPK11TokenDB.findTokenByName r=Cykesiopka
MozReview-Commit-ID: 5SBxAUjX579

--HG--
extra : rebase_source : 1530dcb18556bdcbe99f9aee73ddfe69f8a9124f
2017-01-03 16:23:39 -08:00
Jared Wein
9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Tanvi Vyas
09793d3496 Bug 1217152 - disable insecure password warning and enable autofill on HTTP pages for password manager tests using pwmgr_common.js. r=MattN
MozReview-Commit-ID: JfjTNOcKwLQ

--HG--
extra : rebase_source : 5d1410be854101cb57056c9456165636925de4ac
2017-01-02 17:47:22 -05:00
Gijs Kruitbosch
8d66045e8d Bug 1285577 - part 0a: make login manager return the login we're creating with addLogin, r=MattN
This patch also addresses logic issues in LoginHelper.maybeImportLogin, renames
a parameter of maybeImportLogin to be consistent and adds a test.

MozReview-Commit-ID: 12llkOyF7ne

--HG--
extra : rebase_source : 371688e1112a91b6068bbd4780d33231dbaef7fd
2016-11-30 11:03:21 +00:00
Paolo Amadini
5543a483f7 Bug 1316311 - Do not show the login capture doorhanger during generic mochitests. r=MattN
MozReview-Commit-ID: 6TFACISm9Vb

--HG--
extra : source : a29ad5792c609d1e41a3a1391b4c11f26729b35a
2016-11-10 13:47:07 +01:00
Jared Wein
624f411ee0 Bug 1314474 - Enable no-shadow rule for eslint for browser/ mochitests. r=mossop
MozReview-Commit-ID: 3EQOeDSnmVz

--HG--
extra : rebase_source : 44fa6cb7fbd383b1294344f545126515518a2018
2016-11-04 17:11:52 -04:00
Wes Kocher
e7a40cea87 Backed out changeset 2a1b034ed3fb (bug 1314474) for xpcshell failures a=backout 2016-11-04 13:57:56 -07:00
Jared Wein
8eae3ca20e Bug 1314474 - Enable no-shadow rule for eslint for browser/ mochitests. r=mossop
MozReview-Commit-ID: 3QTChaVgCRP

--HG--
extra : rebase_source : a7bd3f5b133a5dcecedbdf39ef3b1ce75a550970
2016-11-03 18:29:08 -04:00
Matthew Noorenberghe
d5c4cc5f59 Bug 1298543 - Fix test_prompt_http.html for e10s. r=Dolske
Don't actually test doorhanger notifications since they are only on the desktop browser and browser chrome tests already check them.

The Android notifyObservers additions aren't used in this patch but I added them for consistency and because we should start to use them for cross-platform tests that check if a doorhanger appears.

MozReview-Commit-ID: B5wK8oqu0h7

--HG--
rename : toolkit/components/passwordmgr/test/notification_common.js => toolkit/components/passwordmgr/test/chrome/notification_common.js
extra : rebase_source : 741f45a7dd64a1b7043040bec90bef4e5fd86c0e
2016-09-08 02:12:25 -07:00
Matthew Noorenberghe
5d7c6d786d Bug 1267849 - Call LoginManagerParent.init in setupParent of tests. r=dolske
MozReview-Commit-ID: 66FZogdR6Ve
2016-08-02 15:00:52 -07:00
Matthew Noorenberghe
404a8f2e5b Bug 667233 - Support login scheme upgrades for autocomplete/fill/contextmenu. r=dolske
MozReview-Commit-ID: GG6F81ErAcI

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_case_differences.html => toolkit/components/passwordmgr/test/mochitest/test_autocomplete_https_upgrade.html
2016-05-29 17:16:01 -07:00
Carsten "Tomcat" Book
9448d792be Backed out changeset c93e30cbbed8 (bug 1269039) 2016-05-03 12:29:40 +02:00
Matthew Noorenberghe
d7d7234031 Bug 1269039 - Make test_master_password.html work with e10s. r=dolske
MozReview-Commit-ID: LUVxtCxaZ8G

--HG--
extra : rebase_source : c8f70079e5f3cbd4401b410704c911b8842556ab
2016-05-02 19:54:01 -07:00
Matthew Noorenberghe
632af50110 Bug 1268366 - Convert test_formless_submit.html from m-chrome to m-plain. r=dolske
Switch from test1.mochi.test to mochi.test to avoid same-origin policy issues.

MozReview-Commit-ID: 7kHJiPPG2dW

--HG--
rename : toolkit/components/passwordmgr/test/chrome/test_formless_submit.html => toolkit/components/passwordmgr/test/mochitest/test_formless_submit.html
extra : rebase_source : 7355f4de5d4fbeefa0aa9027db95e52489a267f5
2016-04-28 22:59:29 -07:00
Matthew Noorenberghe
989b648d48 Bug 1268764 - Convert test_master_password_cleanup.html into a cleanup function in test_master_password.html
MozReview-Commit-ID: C99hq7LMn0Y

--HG--
extra : rebase_source : c6f5e9c2a9f65df5254ece4bc998dba28897cc69
2016-04-28 22:56:51 -07:00
Matthew Noorenberghe
7e57159050 Bug 1258921 - Follow-up to enable test_basic_form_autocomplete.html for e10s
MozReview-Commit-ID: 32y9BhVomwr

--HG--
extra : amend_source : 5a5134e29b2adda1f645d2095d8220d9453aa5ee
2016-04-19 23:00:18 -07:00
Wes Kocher
825da3832b Backed out changeset 07e1879a0c09 (bug 1258921) for test_case_differences.html failures
MozReview-Commit-ID: 4rv62zN5uLt
2016-04-19 14:27:57 -07:00
Matthew Noorenberghe
ec70bba59d Bug 1258921 - Follow-up to enable test_basic_form_autocomplete.html for e10s
MozReview-Commit-ID: 32y9BhVomwr
2016-04-19 11:45:49 -07:00
Matthew Noorenberghe
faa46e464b Bug 1258860 - Make test_basic_form_autocomplete.html work in e10s. r=dolske
MozReview-Commit-ID: B9D9h4uBOqw

--HG--
rename : toolkit/components/passwordmgr/test/test_basic_form_autocomplete.html => toolkit/components/passwordmgr/test/mochitest/test_basic_form_autocomplete.html
extra : rebase_source : 9b15fdc8bacf1ac85bc65d727229ff2b8f08214b
2016-04-13 16:29:49 -07:00
Timothy Guan-tin Chien
e420e52db5 Bug 1243722 - Introduce notUsernameSelector in passwordmgr recipes. r=MattN
Additionally, add a recipe for Facebook.

MozReview-Commit-ID: 2l60v7R0TPP

--HG--
extra : transplant_source : %DFw%97d%E3%ECc%E6B%A3%8D%DB%8F%A2%C8%8C9%12%EE%3A
2016-04-01 14:25:14 +08:00
Matthew Noorenberghe
6ac82b0679 Bug 1258055 - E10S helpers for mochitest-plain password manager tests not involving UI. r=dolske
* Support changing `selfFilling` in the `setupParent` message since these tests aren't self-filling like the ones already working in e10s.
** Make selfFilling = false work with e10s using a registerRunTests message.
* Register a common cleanup function to remove all logins, remove all disabled hosts, and clear the HTTP auth state in the parent.
** Actually check there are no existing logins in commonInit (uncomment code)
** Delete some removeLogin calls at the end of tests now that we removeAllLogins during cleanup
* Consolidate loadParentTestFile with runInParent

MozReview-Commit-ID: IS5pPMiM12U

--HG--
extra : rebase_source : c2c821009a8382fae188828fda4152fac1beec5d
2016-03-24 23:09:16 -04:00
Matthew Noorenberghe
e01f4c4edd Bug 1251151 - Make test_autofill_password-only.html work for e10s. r=dolske
MozReview-Commit-ID: Atwqt9mp6Da

--HG--
rename : toolkit/components/passwordmgr/test/test_autofill_password-only.html => toolkit/components/passwordmgr/test/mochitest/test_autofill_password-only.html
extra : amend_source : aaf81c75cc91b4855f5a5ea10e2a276e56cfd06e
2016-03-09 15:36:17 -08:00
Matthew Noorenberghe
4916b4f8c6 Bug 1251092 - Cleanup function comments and undeclared variable in pwmgr_common.js. r=dolske
MozReview-Commit-ID: 5YFPrr584aD
2016-03-09 15:29:00 -08:00
Matthew Noorenberghe
4a12dde69b Bug 1251092 - Fix inconsistent indentation in pwmgr_common.js. r=dolske
MozReview-Commit-ID: 7SMcyyjt1QS
2016-03-09 15:28:55 -08:00
Sebastian Hengst
4f4fb2a030 Bug 1251916 - Use standard JavaScript features in toolkit/components/passwordmgr to pass eslint checks: ignore statements which eslint regards as native reassignments. r=MattN
It treats Assert, is and ok as natives. eslint rule: http://eslint.org/docs/rules/no-native-reassign

MozReview-Commit-ID: JzwQ37Y97jJ

--HG--
extra : rebase_source : aac538173662c5cbd2fb62c557a8f145fdd6b77a
2016-02-28 14:11:46 -08:00
Andrew Krawchyk
f0fa455c61 Bug 1173583 - Make autocompletion from the username field work outside of <form>. r=MattN
--HG--
extra : commitid : 6OTlSjPqFHy
extra : rebase_source : da9e041025fe8e489b5c47765838d70af3649151
2015-10-29 16:44:20 -04:00
Edouard Oger
17d2fa0466 Bug 1159538 - Allow per-site recipes to adjust the username/password field detection for onUsernameInput. r=MattN
--HG--
extra : commitid : 6xuLCKiK8j8
extra : rebase_source : b7197119dc371ea166cdd6c3add8b45566694470
2015-08-12 19:13:00 -07:00
Matthew Noorenberghe
16853474ad Bug 1168707 - Run password autofill code when a password field is added to a document outside of a <form>. r=dolske
--HG--
rename : toolkit/components/passwordmgr/test/test_formless_submit.html => toolkit/components/passwordmgr/test/test_formless_autofill.html
extra : commitid : 21T06K7Wsbw
extra : rebase_source : 004502682fc071c2e9cbef6554b97f2f50266628
2015-06-29 00:11:22 -07:00
Matthew Noorenberghe
3e192b89e1 Bug 1168707 - Update test_formless_submit.html to test and cleanup recipes. r=dolske
--HG--
extra : commitid : 9skNqTqVA0c
extra : rebase_source : 6e6f5aaa7b57a4980f95ef41faba608739c03079
2015-06-29 00:11:33 -07:00
Matthew Noorenberghe
bc585a43ed Bug 1166965 - Support non-<form> elements in onFormSubmit. r=dolske
--HG--
rename : toolkit/components/passwordmgr/test/test_recipe_login_fields.html => toolkit/components/passwordmgr/test/test_formless_submit.html
2015-06-02 00:27:43 -07:00
Matthew Noorenberghe
01fa0ad32b Bug 1120129 - Allow per-site recipes to adjust the username/password field detection for autofill. r=dolske
--HG--
extra : rebase_source : 76e9ba5b706f7dd3ba24c0a125c31e91f1f641fb
2015-03-17 17:18:14 -07:00
Justin Dolske
ace92e4534 Bug 1135451 - fillForm() cleanup part B: remove _notifyFoundLogins() and passwordmgr-found-logins notifications. Add a new passwordmgr-processed-form for tests. r=MattN 2015-02-27 15:47:37 -08:00
Blake Kaplan
f635a8780e Bug 949617 - Make the login manager work in e10s. r=dolske/mconley/mfinkle/jimm 2014-06-28 11:09:45 -07:00
Carsten "Tomcat" Book
d5c7b835c6 Backed out changeset 8c1ee05fbbd6 (bug 949617) 2014-06-27 15:17:42 +02:00
Blake Kaplan
6395ab74bd Bug 949617 - Make the login manager work in e10s. r=dolske
--HG--
extra : rebase_source : 412da12f3c916a2e57092943096a15b2c38955e7
extra : histedit_source : 030de4e9454cd4c150126fdb7500ab27023ad244
2014-06-24 16:57:39 -04:00
Ryan VanderMeulen
323ddc70d4 Backed out 5 changesets (bug 993197, bug 949617, bug 995489, bug 1029128) for Android test failures.
Backed out changeset 033d6271fd19 (bug 1029128)
Backed out changeset f568b1dc9880 (bug 1029128)
Backed out changeset daa9c46d19dc (bug 949617)
Backed out changeset 2baf5c61cbf5 (bug 995489)
Backed out changeset 654c1f0c88bc (bug 993197)
2014-06-24 15:36:18 -04:00
Blake Kaplan
c0af3f26a6 Bug 949617 - Make the login manager work in e10s. r=dolske 2014-06-24 14:34:02 -04:00
Peter Van der Beken
c89c077c14 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 687daf9d78e69fe6ae21f7c1a26503cf88a18b97
2014-02-15 22:12:34 +01:00