Commit graph

1003 commits

Author SHA1 Message Date
Jared Wein
871ed4e3ba Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh

--HG--
extra : rebase_source : bc81b68ea5599fd1815dc34dac7106eef7044483
2016-08-03 18:54:59 -04:00
Jared Wein
fd84c776c7 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Jared Wein
169d66a3ed Bug 1292035 - Enable the space-before-blocks rule for eslint. This patch was generated using 'eslint --fix'. r=markh
MozReview-Commit-ID: 2XVoU05YvES

--HG--
extra : rebase_source : e7ed2d094c21b59dd59476b8930b75da2e6d6980
2016-08-04 03:20:25 -04:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Kapeel Sable
86cd71d769 Bug 1058438 - Migrate disabledHosts from json storage to permission manager. r=MattN
MozReview-Commit-ID: 2qaUCZjqc47

--HG--
extra : rebase_source : 12eeefc6057850f34e98b84b13bba64b193845b3
2016-01-06 17:57:40 +05:30
Saad Quadri
bf782b869f Bug 1058438 - Remove disabledHost APIs from storage and use permission manager directly in LoginManager. r=MattN
MozReview-Commit-ID: AheLazqkLoK

--HG--
extra : rebase_source : 82f4cdb2e5a445208e654adb4a54331bf4f2c2d3
2016-08-09 10:14:46 -07:00
Mike Conley
f17a59e1fd Bug 1290077 - browser_formless_submit_chrome.js: Listen for the forward button transitionend earlier. r=me
MozReview-Commit-ID: KELjA6smlUd

--HG--
extra : rebase_source : f6953539852f9f5179759245a7be5ffc7501407f
2016-08-11 14:13:05 -07:00
Phil Ringnalda
a84ad5a944 Bug 1277105 - Disable browser_capture_doorhanger.js on e10s for constant failures 2016-07-01 19:43:37 -07:00
Bernardo P. Rittmeyer
0104d46dbf Bug 1190938 - Remove focus from password manager capture doorhanger textboxes when opening. r=MattN
--HG--
extra : rebase_source : e17a63213d265e7719c69f5bd05b3e3ef1fcc2ba
2015-09-01 16:37:30 -07:00
Matthew Noorenberghe
a282118aec Bug 1293513 - Only setup login manager's progress listener for formless passwords inputs. r=Dolske
MozReview-Commit-ID: GQtMX15ShsR

--HG--
extra : rebase_source : fc9bbf0f36ea2fd23ecf06f756991407e9940502
2016-08-15 19:55:03 -07:00
Matthew Noorenberghe
ad739df391 Bug 1127579 - Cleanup jsdoc comments in nsLoginManagerPrompter.js
MozReview-Commit-ID: 5VzE9DyFZEb

--HG--
extra : rebase_source : 2d655b2cd974ea7fe0411743f9d39e1cb70bdfaf
2016-06-24 10:36:42 -04:00
Matthew Noorenberghe
b8f1ff3fed Bug 1127579 - Handle a user capturing a HTTPS login with an already saved login for the HTTP version. r=dolske
MozReview-Commit-ID: 4vWuFUmicYV

--HG--
extra : rebase_source : ca7769168eeba7120b1480a67adf427e8c2df86a
2016-06-24 10:32:16 -04:00
Saad Quadri
abd9f6f8ad Bug 1178855 - Hide password visibility toggle when capture doorhanger is closed. r=MattN
MozReview-Commit-ID: 75Pz7jG0RLW

--HG--
extra : transplant_source : %98%EA%1E%06%5D%1D%DA%20%0A%3E%9A%23%B1%0A%CF%CC%24%2B%09%D1
2016-06-08 14:18:59 -07:00
Saad Quadri
54056e201c Bug 1278158 - Allowing filling login forms with an inputElement but without loginFormForFill. r=MattN
MozReview-Commit-ID: 2aZCvMpH1eH

--HG--
extra : transplant_source : M3%B5i.FM%99%84%07%7E%E2%81%08y%AA%DC%BE%3C%ED
2016-06-08 13:59:05 -07:00
Paolo Amadini
5797203ab2 Bug 1274480 - Part 1 - Use SVG for permission icons and notifications. r=Gijs
MozReview-Commit-ID: Dk0PajOppVL

--HG--
extra : rebase_source : eed692400919f5c126debb14b3ae2c2d17c7cb7d
2016-06-08 16:34:10 +01:00
Saad Quadri
1625710c42 Bug 1278138 - Enforce stricter eslint rules (arrow-spacing) on passwordmgr. r=MattN
MozReview-Commit-ID: D8djouoMxFy

--HG--
extra : rebase_source : ca28ccb9e4d90a3d796d1d2b8ff15465808efcc7
2016-06-07 12:08:42 -07:00
Saad Quadri
cd336e617c Bug 1278138 - Enforce stricter eslint rules (comma-style) on passwordmgr. r=MattN
MozReview-Commit-ID: A16S8XGZ6Kg

--HG--
extra : rebase_source : 2263406eef7550e6a6691a223478a08328b800dc
2016-06-07 13:06:13 -07:00
Carsten "Tomcat" Book
c6d661cfe2 merge mozilla-inbound to mozilla-central a=merge 2016-06-07 15:23:03 +02:00
Dragana Damjanovic
1de3e688ca Bug 1230462 - Change the authentiation dialog message. r=mayhemer,dolske,margaret,tanvi
--HG--
rename : toolkit/components/prompts/test/test_bug625187.html => toolkit/components/prompts/test/test_subresources_prompts.html
2016-06-06 01:06:00 +02:00
Carsten "Tomcat" Book
e8d8c705a1 Backed out changeset 490d3460a197 (bug 1230462) for test failures in test_modal_prompts.html
--HG--
rename : toolkit/components/prompts/test/test_subresources_prompts.html => toolkit/components/prompts/test/test_bug625187.html
2016-06-05 11:26:57 +02:00
Dragana Damjanovic
8d4a3a8b49 Bug 1230462 - Change the authentiation dialog message. r=mayhemer,dolske,margaret,tanvi
--HG--
rename : toolkit/components/prompts/test/test_bug625187.html => toolkit/components/prompts/test/test_subresources_prompts.html
extra : rebase_source : f37ed50a558040dee1958c215ccc5559637d2f84
2016-06-03 09:09:00 +02:00
gasolin
208ab94666 Bug 1174900 - Capture doorhanger password field toggle should stay hidden for master password users;r=MattN
MozReview-Commit-ID: DLlu2WhQamN

--HG--
extra : rebase_source : 9ed3a080a6783d5942b9068005718bbe2e74bf32
2016-06-06 18:50:09 -07:00
Saad Quadri
ca45cd6bfb Bug 1278137 - Use ES6 method syntax in LoginManagerContent.jsm. r=MattN
MozReview-Commit-ID: JO4iy7F8Hur

--HG--
extra : rebase_source : 09a759632af51f7c40c9e29df97546b52107bc31
2016-06-06 18:49:52 -07:00
gasolin
1023c15ce3 Bug 1275100 - Set signon.rememberSignons.visibilityToggle pref in browser_notifications_2. r=MattN
MozReview-Commit-ID: EUqoz1HmGUG

--HG--
extra : rebase_source : 0a062bfb34dcad2bc60101c3c172bafb4c8efb8a
2016-05-24 13:55:16 +08:00
Matthew Noorenberghe
139fefe1a7 Bug 667233 - Follow-up to loosen the restriction on preferredOriginScheme due to tests using data: and chrome:
Also disable the autocomplete/autofill tests on Android.

MozReview-Commit-ID: P4mgzfNzda

--HG--
extra : rebase_source : 2c4e98338fe136da08378b9befc7f68a455ff9d1
2016-05-29 19:09:08 -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
Matthew Noorenberghe
d8f66a2592 Bug 667233 - Support scheme upgrades for searching logins. r=dolske
MozReview-Commit-ID: GAw0HIBgOFw
2016-05-29 17:15:52 -07:00
Matthew Noorenberghe
4080d1c987 Bug 667233 - Backout bug 1147561 to only support formSubmit upgrades so we can use the same logic. r=dolske
[mq]: backout_1147561

MozReview-Commit-ID: IKGj6rT1xTX
2016-05-29 17:15:45 -07:00
Justin Dolske
a56fcbf802 Bug 1255253 - Remove a mostly-unneeded countLogins() call. r=MattN
MozReview-Commit-ID: 5L1SdtZA9aU

--HG--
extra : rebase_source : e953c6b8fce36273472e9a5e117b10f34bcae64d
2016-05-26 18:49:03 -07:00
Joel Maher
a6fcbcf0a3 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg a=merge
MozReview-Commit-ID: IZziPmwFtHj

--HG--
extra : source : a50249d48b1e86a3749bccc51ece4d1a827a621c
2016-05-25 15:28:24 -04:00
Matthew Noorenberghe
0c850eaf80 Bug 1261234 - Handle <form> without @action properly. r=me
MozReview-Commit-ID: 4IwpOedgmP3
2016-05-11 14:06:59 -07:00
Sean Lee
32084a07d2 Bug 1261234 - Use isOriginPotentiallyTrustworthy to verify the login form action.; r=MattN
MozReview-Commit-ID: CqkG54Qj9mm
2016-05-11 13:44:44 -07:00
gasolin
2c9a87102a Bug 1217134 - Replace show password placeholder with conventional show password checkbox; r=MattN
MozReview-Commit-ID: 26bja1C8vl2
2016-05-11 13:32:15 -07:00
Ray Lin
faf52b7a40 Bug 925101 - Remove legacy signons.txt files. r=dolske
MozReview-Commit-ID: ICZADhIeKiB

--HG--
extra : transplant_source : c%C5%92S%F1%7B%7E%9C%B6%F0%91%E1%C9T%F6%F5I%A23%B0
2016-04-19 17:28:01 +08:00
Christoph Kerschbaumer
280bbd924b Bug 1269279 - Remove SEC_NORMAL from toolkit/components/passwordmgr/ (r=billm) 2016-05-06 15:15:23 +02:00
Jonathan Watt
d26da564b6 Bug 1269491 - Fix LoginManagerContent.jsm to get codebase principals from the nsIScriptSecurityManager. r=MattN
MozReview-Commit-ID: HVXS7tfr8fv
2016-05-02 23:14:25 +01: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
c379e0b738 Bug 1268163 - Fix intermittent browser_capture_doorhanger_window_open.js by waiting for <input> changes. r=dolske
nsLoginManagerPrompter.js' writeDataToUI() populates the doorhanger <input> on popupshown so we need to give it a chance to do so before clicking the doorhanger button in case the test listener happens first.

MozReview-Commit-ID: GkhYNpFunkp

--HG--
extra : rebase_source : 435f4c524b12b4c02026b3cf4dda34f5e1ea6ed6
2016-04-28 21:49:54 -07:00
Justin Dolske
7fc83c4422 Bug 1267388 - fix test due to concurrent landing of bug 1268159 which changed the string this test is now checking. DONTBUILD
MozReview-Commit-ID: 3By02sNZzG6
2016-04-29 12:26:12 -07:00
Justin Dolske
a18a2adca6 Backed out changeset a52334a7f440 (got bug # wrong) 2016-04-29 12:29:17 -07:00
Justin Dolske
2acecf429b Bug 1259847 - fix test due to concurrent landing of bug 1268159 which changed the string this test is now checking.
MozReview-Commit-ID: 3By02sNZzG6
2016-04-29 12:26:12 -07:00
Sebastian Hengst
dbacd6ac3c Bug 1267388 - remove redeclaraction of authMgr. r=eslint 2016-04-29 19:43:27 +02:00
Justin Dolske
a1bb284697 Bug 1267388 - Make handlePrompt() take state/action args and actually use them. r=MattN 2016-04-29 10:09:54 -07:00
Justin Dolske
d472f464dd Bug 1267388 - Use test helpers from prompt tests. r=MattN 2016-04-29 10:09:54 -07:00
Justin Dolske
5f6970bbc4 Bug 1267388 - trivial code move to inline handleLoad, making the test one contigious function. r=MattN 2016-04-29 10:09:54 -07:00
Justin Dolske
6acf2398ea Bug 1267388 - Use SpawnTask, make handleLoad() a generator. r=MattN 2016-04-29 10:09:54 -07:00
Justin Dolske
dd693f50ea Bug 1267388 - Add additional "state" checks, in preparation for using common prompt checking helper. r=MattN 2016-04-29 10:09:54 -07:00
Justin Dolske
586b81eb22 Bug 1267388 - Move "action" objects into main test body. r=MattN 2016-04-29 10:09:53 -07:00
Justin Dolske
1554104133 Bug 1267388 - introduce a "state" object to represent actual/expected prompt state. r=MattN 2016-04-29 10:09:53 -07:00
Justin Dolske
a56fac2e9e Bug 1267388 - move test to mochitest/ dir, add action object. r=MattN
--HG--
rename : toolkit/components/passwordmgr/test/prompt_common.js => toolkit/components/passwordmgr/test/mochitest/prompt_common.js
rename : toolkit/components/passwordmgr/test/test_prompt.html => toolkit/components/passwordmgr/test/mochitest/test_prompt.html
2016-04-29 10:09:53 -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
8abac07ed3 No bug - Move passwordmgr subtst_notifications_*.html to the browser test directory
MozReview-Commit-ID: AKJLmcvajY6

--HG--
rename : toolkit/components/passwordmgr/test/subtst_notifications_1.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_1.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_10.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_10.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_11.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_11.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_11_popup.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_11_popup.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_2.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_2.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_2pw_0un.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_2pw_0un.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_2pw_1un_1text.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_2pw_1un_1text.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_3.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_3.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_4.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_4.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_5.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_5.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_6.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_6.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_8.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_8.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_9.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_9.html
rename : toolkit/components/passwordmgr/test/subtst_notifications_change_p.html => toolkit/components/passwordmgr/test/browser/subtst_notifications_change_p.html
extra : rebase_source : 3dc200be554310a6f567f372ca31124d1f97cc34
2016-04-28 01:45:29 -07:00
Matthew Noorenberghe
19aae527d1 Bug 1258055 - Follow-up to delete now unused mlogosm.gif
MozReview-Commit-ID: 5USInxAi1Pl

--HG--
extra : rebase_source : 6d2419b5495c16621c60dac5501598de72502273
2016-04-28 01:09:36 -07:00
Matthew Noorenberghe
62f0a012c2 No bug - Move test_privbrowsing_perwindowpb.html's support files to the test's directory
MozReview-Commit-ID: c9vBMpO9fZ

--HG--
rename : toolkit/components/passwordmgr/test/privbrowsing_perwindowpb_iframe.html => toolkit/components/passwordmgr/test/chrome/privbrowsing_perwindowpb_iframe.html
rename : toolkit/components/passwordmgr/test/subtst_privbrowsing_1.html => toolkit/components/passwordmgr/test/chrome/subtst_privbrowsing_1.html
rename : toolkit/components/passwordmgr/test/subtst_privbrowsing_2.html => toolkit/components/passwordmgr/test/chrome/subtst_privbrowsing_2.html
rename : toolkit/components/passwordmgr/test/subtst_privbrowsing_3.html => toolkit/components/passwordmgr/test/chrome/subtst_privbrowsing_3.html
rename : toolkit/components/passwordmgr/test/subtst_privbrowsing_4.html => toolkit/components/passwordmgr/test/chrome/subtst_privbrowsing_4.html
extra : rebase_source : fa2e485c7edc7fd7cc336c46ca86e36446b184c4
2016-04-28 00:42:09 -07:00
Carsten "Tomcat" Book
05d6ba16fa merge mozilla-inbound to mozilla-central a=merge 2016-04-27 11:57:21 +02:00
Matthew Noorenberghe
13d19fbd72 Bug 1266825 - Convert test_notifications_popup.html to b-c to work in e10s. r=dolske
MozReview-Commit-ID: 5qExqBsfNfw

--HG--
rename : toolkit/components/passwordmgr/test/test_notifications_popup.html => toolkit/components/passwordmgr/test/browser/browser_capture_doorhanger_window_open.js
extra : rebase_source : dcb3bd8918fd077f56c017602abe1d37fab0b4a7
2016-04-26 15:52:13 -07:00
Timothy Guan-tin Chien
0178581cf4 Bug 1263760 - Replace setTimeout with nsITimer in tabbrowser switcher, r=gijs
MozReview-Commit-ID: CL1bc7WtyOE

--HG--
extra : transplant_source : %C6Dj%09%19%99%8B2%3C%86%10%E1e%0C%5E%21%08%CD9f
2016-04-21 22:48:30 +08:00
Matthew Noorenberghe
5a69d26486 No bug - passwordManager.js style consistency fixes
MozReview-Commit-ID: 1fZXlESnmMC

--HG--
extra : rebase_source : c03e93d91357d9ae24157ea9980430a0bbb9a916
2016-04-20 00:44:28 -07:00
Joseph Yeh
37a9218a67 Bug 530999 - Show site favicons in login manager UI; r=MattN
MozReview-Commit-ID: Lh9M3scMTwX

--HG--
rename : toolkit/themes/windows/global/passwordmgr.css => toolkit/themes/shared/passwordmgr.css
extra : rebase_source : efe99425d69162add061a7824cb1ae3355abce2e
2016-04-19 23:27:14 -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
Blake Kaplan
d056b90405 Bug 1259303 - Properly cancel login manager async searches to avoid assertions. r=MattN 2016-04-18 16:23:18 -07:00
Blake Kaplan
f858198ac3 Bug 1258921 - Expose logininfo's guid to the content process and use it to delete logins via the autocomplete popup. r=MattN 2016-04-18 16:23:18 -07:00
Jonathan Watt
2bb448cbb2 Bug 1267509 - Make nsContentSecurityManager::IsURIPotentiallyTrustworthy act on an nsIPrincipal. r=bz
MozReview-Commit-ID: Zu1zU4Brkx

--HG--
rename : dom/security/test/unit/test_isURIPotentiallyTrustworthy.js => dom/security/test/unit/test_isOriginPotentiallyTrustworthy.js
2016-04-26 11:30:43 +01:00
Sean Lee
cb1ed695b4 Bug 1191092 - Warn about insecure <input type=password> outside of a <form>. r=MattN
MozReview-Commit-ID: Q5abQmgdhA
2016-04-14 15:54:31 -07:00
Matthew Noorenberghe
034455b872 Bug 1262301 - Enable test_basic_form_2pw_2.html for e10s. r=dolske
MozReview-Commit-ID: HApBJPGyL2E

--HG--
rename : toolkit/components/passwordmgr/test/test_basic_form_2pw_2.html => toolkit/components/passwordmgr/test/mochitest/test_basic_form_2pw_2.html
extra : rebase_source : 06710937949ac9c4d00fa37943b3b1a94506e52b
2016-04-13 16:30:13 -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
Matthew Noorenberghe
befddc7bcd Bug 1251042 - Backout unintentional change to password manager mochitest.ini.
MozReview-Commit-ID: 1LFunyChPZy

--HG--
extra : rebase_source : 4ca4d4c6db2ad7abdd7c28a43207a15e36e2b54c
2016-04-13 16:32:45 -07:00
Timothy Guan-tin Chien
3f83388eaa Bug 1243729 - Part 3, Test for change password form, r=MattN
MozReview-Commit-ID: 5PoY6OZ74XX
2016-04-06 14:28:06 +08:00
Timothy Guan-tin Chien
9fa3dce796 Bug 1243729 - Part 2, Test on username selection dialog, r=MattN
MozReview-Commit-ID: jfHxq1rT5P
2016-04-06 14:27:51 +08:00
Timothy Guan-tin Chien
44246c4b68 Bug 1243729 - Part I, Add assertions on saved password data, r=MattN
MozReview-Commit-ID: At6U5Rgi9zD
2016-04-06 14:22:39 +08:00
Timothy Guan-tin Chien
52394430f4 Bug 1243729 - Part Zero, Create another LoginInfo object when username is picked, r=MattN
MozReview-Commit-ID: BwhKkMyNRzB
2016-03-25 18:20:43 +08:00
Dave Townsend
6e44ebad84 Bug 1257246: Update toolkit for eslint 2. r=Gijs
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: KHYdAkRvhVr

--HG--
extra : rebase_source : 720cc9d864175248508146a7f4704b4bf3f02439
extra : histedit_source : 6cc0ecbf21a571e1a41d517b67512a3452fac19a
2016-04-05 11:33:48 -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
Drew Willcoxon
dd079472df Bug 1261251 - [e10s] Make toolkit/components/passwordmgr/test/test_bug_627616.html work under e10s. r=MattN
MozReview-Commit-ID: wKbB1APWZf

--HG--
rename : toolkit/components/passwordmgr/test/test_bug_627616.html => toolkit/components/passwordmgr/test/mochitest/test_bug_627616.html
2016-04-04 17:49:31 -07:00
Matthew Wein
2f6a139e35 Bug 1251042: Enable mochitests for extensions to run on Android. r=nalexander
MozReview-Commit-ID: FeI5bexmPg4
2016-03-25 19:52:19 -07:00
Matthew Noorenberghe
ddff0d1937 No bug - Disable test_notifications_popup.html until its converted for e10s
MozReview-Commit-ID: CN5fgoIyDWi

--HG--
extra : rebase_source : fdc4555785ce734e59a1d49f03513b2f74599a16
2016-03-25 12:00:33 -04:00
Matthew Noorenberghe
15de563089 Bug 1258828 - Follow-up to disable test_formless_autofill.html on Android like it was in mochitest-chrome
MozReview-Commit-ID: 5VzHf9Cwtbq
2016-03-25 11:36:55 -04:00
Matthew Noorenberghe
6bbd706420 Bug 1258828 - Convert test_formless_autofill.html from m-chrome to m-plain. r=paolo
No test logic changes, only setup stuff.

MozReview-Commit-ID: IzoR5kZLWxE

--HG--
rename : toolkit/components/passwordmgr/test/chrome/test_formless_autofill.html => toolkit/components/passwordmgr/test/mochitest/test_formless_autofill.html
2016-03-25 09:21:14 -04:00
Matthew Noorenberghe
aa2ea2d746 Bug 1258607 - Make test_case_differences.html work in e10s. r=dolske
Switch to add_task and use satchel helpers for autocomplete.

MozReview-Commit-ID: 4X864ORiYXw

--HG--
rename : toolkit/components/passwordmgr/test/test_case_differences.html => toolkit/components/passwordmgr/test/mochitest/test_case_differences.html
extra : rebase_source : a26c7f09a99c77b87ea904c53e4f86d03c9f33c6
2016-03-22 18:06:51 -04:00
Matthew Noorenberghe
5bd96cb43c Bug 1255265 - Convert password manager test_notifications.html to browser_capture_doorhanger.js. r=dolske
test_notifications.html was using an <iframe> which is less realistic so I'm using top-level documents.

MozReview-Commit-ID: DdXXYofcRLr

--HG--
rename : toolkit/components/passwordmgr/test/test_notifications.html => toolkit/components/passwordmgr/test/browser/browser_capture_doorhanger.js
extra : rebase_source : 82353b35eb956111a19772a51fa40606b3705b4b
2016-03-21 15:30:18 -04:00
Matthew Noorenberghe
ad1448c279 Bug 1258055 - Enable a bunch of mochitest-plain password manager tests not involving UI for e10s. r=dolske
* Delete test_zzz_finish.html now that we always cleanup logins, disabled hosts and auth state.
* Move test_autofill_before_load.html to mochitest/ since it doesn't need to be fixed (skip-if=true)
* Use runInParent to add custom logins for some tests
* Remove some cleanup functions that were just cleaning up DOM attributes since it's not necessary.

MozReview-Commit-ID: 55vIzwfcPBB

--HG--
rename : toolkit/components/passwordmgr/test/auth2/authenticate.sjs => toolkit/components/passwordmgr/test/mochitest/auth2/authenticate.sjs
rename : toolkit/components/passwordmgr/test/test_basic_form.html => toolkit/components/passwordmgr/test/mochitest/test_basic_form.html
rename : toolkit/components/passwordmgr/test/test_basic_form_0pw.html => toolkit/components/passwordmgr/test/mochitest/test_basic_form_0pw.html
rename : toolkit/components/passwordmgr/test/test_basic_form_1pw.html => toolkit/components/passwordmgr/test/mochitest/test_basic_form_1pw.html
rename : toolkit/components/passwordmgr/test/test_basic_form_1pw_2.html => toolkit/components/passwordmgr/test/mochitest/test_basic_form_1pw_2.html
rename : toolkit/components/passwordmgr/test/test_basic_form_2pw_1.html => toolkit/components/passwordmgr/test/mochitest/test_basic_form_2pw_1.html
rename : toolkit/components/passwordmgr/test/test_basic_form_3pw_1.html => toolkit/components/passwordmgr/test/mochitest/test_basic_form_3pw_1.html
rename : toolkit/components/passwordmgr/test/test_basic_form_html5.html => toolkit/components/passwordmgr/test/mochitest/test_basic_form_html5.html
rename : toolkit/components/passwordmgr/test/test_basic_form_pwevent.html => toolkit/components/passwordmgr/test/mochitest/test_basic_form_pwevent.html
rename : toolkit/components/passwordmgr/test/test_basic_form_pwonly.html => toolkit/components/passwordmgr/test/mochitest/test_basic_form_pwonly.html
rename : toolkit/components/passwordmgr/test/test_bug_776171.html => toolkit/components/passwordmgr/test/mochitest/test_bug_776171.html
rename : toolkit/components/passwordmgr/test/test_form_action_1.html => toolkit/components/passwordmgr/test/mochitest/test_form_action_1.html
rename : toolkit/components/passwordmgr/test/test_form_action_2.html => toolkit/components/passwordmgr/test/mochitest/test_form_action_2.html
rename : toolkit/components/passwordmgr/test/test_form_action_javascript.html => toolkit/components/passwordmgr/test/mochitest/test_form_action_javascript.html
rename : toolkit/components/passwordmgr/test/test_input_events.html => toolkit/components/passwordmgr/test/mochitest/test_input_events.html
rename : toolkit/components/passwordmgr/test/test_input_events_for_identical_values.html => toolkit/components/passwordmgr/test/mochitest/test_input_events_for_identical_values.html
rename : toolkit/components/passwordmgr/test/test_maxlength.html => toolkit/components/passwordmgr/test/mochitest/test_maxlength.html
rename : toolkit/components/passwordmgr/test/test_passwords_in_type_password.html => toolkit/components/passwordmgr/test/mochitest/test_passwords_in_type_password.html
rename : toolkit/components/passwordmgr/test/test_xhr_2.html => toolkit/components/passwordmgr/test/mochitest/test_xhr_2.html
extra : rebase_source : 379ef710089448060c5b662047b208b5fffe586a
2016-03-24 21:56:59 -04: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
cd7b59de51 Bug 1192800 - Disable browser_context_menu.js for e10s due to intermittent dead CPOW failures r=me DONTBUILD
MozReview-Commit-ID: 2KjIlys2Zcd

--HG--
extra : rebase_source : 8aa6127d4071383674771487783f4a74e5f3fd1a
2016-03-21 23:28:55 -04:00
Matthew Noorenberghe
6100e03f65 Bug 1257757 - Add filenames to insecure password warnings. r=bgrins
MozReview-Commit-ID: IT6yhL5hJvA

--HG--
extra : rebase_source : 02c045db3589beb3e18cefae42a81e04cfeb1d1a
2016-03-21 15:31:00 -04:00
Matthew Noorenberghe
da16b06600 No bug - Modernize style and improve comments of InsecurePasswordUtils.jsm
MozReview-Commit-ID: 6c2J4ncppPL

--HG--
extra : rebase_source : 50a4cd7ec67a9f92e83ffb05fb7084223bf5c5de
2016-03-17 22:24:33 -07:00
Ryan VanderMeulen
5e122b6f0a Backed out changesets 5115d7a4ff78 and 21e02fc102b4 (bug 1255265) for test_notifications_popup.html timeouts.
--HG--
rename : toolkit/components/passwordmgr/test/browser/browser_capture_doorhanger.js => toolkit/components/passwordmgr/test/test_notifications.html
2016-03-10 22:28:52 -05:00
Matthew Noorenberghe
0c48b48bb5 Bug 1255265 - Follow-up for requestLongerTimeout.
MozReview-Commit-ID: 9f8CynM2MBp

--HG--
extra : rebase_source : c2d924e95f91720e5f1718787450a55a742096c4
2016-03-10 17:01:26 -08:00
Matthew Noorenberghe
302aee85ea Bug 1255265 - Convert password manager test_notifications.html to browser_capture_doorhanger.js. r=dolske
test_notifications.html was using an <iframe> which is less realistic so I'm using top-level documents.

MozReview-Commit-ID: DdXXYofcRLr

--HG--
rename : toolkit/components/passwordmgr/test/test_notifications.html => toolkit/components/passwordmgr/test/browser/browser_capture_doorhanger.js
extra : rebase_source : b64fc98c384bb802153062f44a467233ea58f492
2016-03-10 14:35:29 -08:00
Matthew Noorenberghe
b4d4407145 No bug - Modernize the style of nsLoginManager.js
MozReview-Commit-ID: Huhp8Ipetuh

--HG--
extra : rebase_source : 74ea5b1df0ae4bcbfa47cba8d991adacfaaa59b8
2016-03-09 21:45:31 -08:00
Matthew Noorenberghe
7ae0684aa9 No bug - Expose the whole logger in nsLoginManager.js
This allows logging at different log levels.

MozReview-Commit-ID: B1ZB3WCefDi

--HG--
extra : rebase_source : c9610ef1bc4f01c9e087a6e4c2bdcc8cecd335b8
2016-03-09 21:46:29 -08: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
dd41ede7e4 Bug 1251098 - pwmgr: Enable test_recipe_login_fields.html in e10s. r=dolske
MozReview-Commit-ID: G0446CyBc4D

--HG--
rename : toolkit/components/passwordmgr/test/mochitest.ini => toolkit/components/passwordmgr/test/mochitest/mochitest.ini
rename : toolkit/components/passwordmgr/test/test_recipe_login_fields.html => toolkit/components/passwordmgr/test/mochitest/test_recipe_login_fields.html
2016-03-09 15:32:14 -08:00
Matthew Noorenberghe
b0a3337efd Bug 1251092 - Move password manager mochitest-chrome tests to a chrome subdirectory. r=dolske
MozReview-Commit-ID: JHIaCJLjdBt

--HG--
rename : toolkit/components/passwordmgr/test/chrome.ini => toolkit/components/passwordmgr/test/chrome/chrome.ini
rename : toolkit/components/passwordmgr/test/test_formless_autofill.html => toolkit/components/passwordmgr/test/chrome/test_formless_autofill.html
rename : toolkit/components/passwordmgr/test/test_formless_submit.html => toolkit/components/passwordmgr/test/chrome/test_formless_submit.html
rename : toolkit/components/passwordmgr/test/test_privbrowsing_perwindowpb.html => toolkit/components/passwordmgr/test/chrome/test_privbrowsing_perwindowpb.html
2016-03-09 15:29:05 -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
Mike de Boer
cf23a40c78 Bug 1241930: Part 6 - convert all assertion methods used inside content tasks to the Assert.* family in toolkit tests. r=mconley 2016-03-04 14:32:34 +01: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
Sebastian Hengst
bf2bcbd4d8 Bug 1251916 - Use standard JavaScript features in toolkit/components/passwordmgr to pass eslint checks: replace conditional catch statements. r=MattN
While it doesn't seem like this SpiderMonkey feature will go away soon, replacing it makes tooling easier and is suitable here because the unconditional catch js already used.


MozReview-Commit-ID: 3G3LxrW24HF

--HG--
extra : rebase_source : f8fb7451ed261c3482d0b3dc822086bc7dba05a0
2016-02-28 14:11:30 -08:00