Commit graph

51 commits

Author SHA1 Message Date
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
Peter Van der Beken
a5967a49cb Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Peter Van der Beken
12b990ebb7 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 : 3662ae8b0f35fefb250c9cd048e848d662863855
2014-02-15 22:12:34 +01:00
Masatoshi Kimura
ebe7307065 Bug 913494 - Remove enablePrivilege usage from tests for password manager. r=bholley 2013-09-07 09:34:20 +09:00
Masayuki Nakano
ab8eca4513 Bug 501496 part.9 EventUtils and some tests shouldn't synthesize keypress event if precede keydown event is consumed r=smaug 2013-07-25 15:09:29 +09:00
Masatoshi Kimura
4b5034efa3 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Justin Dolske
fa2e524884 Add more test debugging for bug 608206. a=afrosdwilsh 2010-11-14 21:34:05 -08:00
Justin Dolske
cc499d58a9 Bug 499233 - multiple master password prompts triggered by filling form logins in multiple tabs. r=zpao, a=sdwilsh 2010-08-02 16:02:20 -07:00
Joel Maher
6b6e9978a3 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Brad Lassey
96319c4535 backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
1c8d232df2 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Kyle Huey
a7c3948d0a Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
694ec71da0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert
5b4513c7e9 Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
3cd691129e Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Dão Gottwald
ae30b0fbe8 Bug 5265285 - getAllLogins, getAllDisabledHosts and getAllEncryptedLogins count out params should be optional. r=dolske 2009-11-08 10:22:11 +01:00
Justin Dolske
201b370428 Bug 507390 - Password manager tests depend on each other. r=gavin.sharp 2009-09-13 13:26:30 -07:00
Ehsan Akhgari
3d5a77e536 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [passwordmgr part]; r=dolske 2008-10-21 01:58:43 +03:30
dolske@mozilla.com
6ccd2aa9c9 Bug 386150 - Can't save a login containing only a password. r=gavin, a=mconnor 2007-09-20 18:52:44 -07:00
sdwilsh@shawnwilsher.com
2603c2ac9d Bug 380222 - Rewrite fillDocument() after new pwmgr lands. Patch by Justin Dolske <dolske@mozilla.com>. r=mconnor 2007-06-25 14:20:55 -07:00
sayrer@gmail.com
596e6df701 bug 373253. Initial addition of test framework and tests for pwmgr. Patch by Justin Dolske <dolske@mozilla.com>. r=sayrer, sr=mconnor 2007-04-22 16:56:06 -07:00
sayrer@gmail.com
f9f672fc5e backout patch from bug 373253 because changes to nsIPasswordManagerInternal, yes Internal, break multiple projects. 2007-04-20 19:14:40 -07:00