Commit Graph

919 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
e59328cc20 Bug 1269279 - Remove SEC_NORMAL from toolkit/components/passwordmgr/ (r=billm) 2016-05-06 15:15:23 +02:00
Jonathan Watt
caf78fe47e 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
6a662d803d 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
2016-04-28 22:59:29 -07:00
Matthew Noorenberghe
3a55fde660 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
2016-04-28 21:49:54 -07:00
Justin Dolske
2e5d1dee37 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
ed68730a82 Backed out changeset a52334a7f440 (got bug # wrong) 2016-04-29 12:29:17 -07:00
Justin Dolske
817819daad 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
7e9ff640e8 Bug 1267388 - remove redeclaraction of authMgr. r=eslint 2016-04-29 19:43:27 +02:00
Justin Dolske
e72e79a414 Bug 1267388 - Make handlePrompt() take state/action args and actually use them. r=MattN 2016-04-29 10:09:54 -07:00
Justin Dolske
08a045d1ca Bug 1267388 - Use test helpers from prompt tests. r=MattN 2016-04-29 10:09:54 -07:00
Justin Dolske
c9affa99cd 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
3a2cb1a19b Bug 1267388 - Use SpawnTask, make handleLoad() a generator. r=MattN 2016-04-29 10:09:54 -07:00
Justin Dolske
a432a7da9b 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
8be5622749 Bug 1267388 - Move "action" objects into main test body. r=MattN 2016-04-29 10:09:53 -07:00
Justin Dolske
0ba895fbf9 Bug 1267388 - introduce a "state" object to represent actual/expected prompt state. r=MattN 2016-04-29 10:09:53 -07:00
Justin Dolske
4e093a4868 Bug 1267388 - move test to mochitest/ dir, add action object. r=MattN 2016-04-29 10:09:53 -07:00
Matthew Noorenberghe
be15ec1437 Bug 1268764 - Convert test_master_password_cleanup.html into a cleanup function in test_master_password.html
MozReview-Commit-ID: C99hq7LMn0Y
2016-04-28 22:56:51 -07:00
Matthew Noorenberghe
a5a7d6920d No bug - Move passwordmgr subtst_notifications_*.html to the browser test directory
MozReview-Commit-ID: AKJLmcvajY6
2016-04-28 01:45:29 -07:00
Matthew Noorenberghe
e83c2cdf81 Bug 1258055 - Follow-up to delete now unused mlogosm.gif
MozReview-Commit-ID: 5USInxAi1Pl
2016-04-28 01:09:36 -07:00
Matthew Noorenberghe
6a8d0ac5fd No bug - Move test_privbrowsing_perwindowpb.html's support files to the test's directory
MozReview-Commit-ID: c9vBMpO9fZ
2016-04-28 00:42:09 -07:00
Carsten "Tomcat" Book
6819585194 merge mozilla-inbound to mozilla-central a=merge 2016-04-27 11:57:21 +02:00
Matthew Noorenberghe
14bb91d6e3 Bug 1266825 - Convert test_notifications_popup.html to b-c to work in e10s. r=dolske
MozReview-Commit-ID: 5qExqBsfNfw
2016-04-26 15:52:13 -07:00
Timothy Guan-tin Chien
99c4bfe3ee Bug 1263760 - Replace setTimeout with nsITimer in tabbrowser switcher, r=gijs
MozReview-Commit-ID: CL1bc7WtyOE
2016-04-21 22:48:30 +08:00
Matthew Noorenberghe
dbb09e9341 No bug - passwordManager.js style consistency fixes
MozReview-Commit-ID: 1fZXlESnmMC
2016-04-20 00:44:28 -07:00
Joseph Yeh
687552c8f6 Bug 530999 - Show site favicons in login manager UI; r=MattN
MozReview-Commit-ID: Lh9M3scMTwX
2016-04-19 23:27:14 -07:00
Matthew Noorenberghe
41e9272dd6 Bug 1258921 - Follow-up to enable test_basic_form_autocomplete.html for e10s
MozReview-Commit-ID: 32y9BhVomwr
2016-04-19 23:00:18 -07:00
Wes Kocher
950559defd 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
5bef4e7e54 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
4f61345748 Bug 1259303 - Properly cancel login manager async searches to avoid assertions. r=MattN 2016-04-18 16:23:18 -07:00
Blake Kaplan
19e9d21dd0 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
1011071d1e Bug 1267509 - Make nsContentSecurityManager::IsURIPotentiallyTrustworthy act on an nsIPrincipal. r=bz
MozReview-Commit-ID: Zu1zU4Brkx
2016-04-26 11:30:43 +01:00
Sean Lee
cc9c514dd1 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
0a002ce132 Bug 1262301 - Enable test_basic_form_2pw_2.html for e10s. r=dolske
MozReview-Commit-ID: HApBJPGyL2E
2016-04-13 16:30:13 -07:00
Matthew Noorenberghe
de821e3216 Bug 1258860 - Make test_basic_form_autocomplete.html work in e10s. r=dolske
MozReview-Commit-ID: B9D9h4uBOqw
2016-04-13 16:29:49 -07:00
Matthew Noorenberghe
72275382a4 Bug 1251042 - Backout unintentional change to password manager mochitest.ini.
MozReview-Commit-ID: 1LFunyChPZy
2016-04-13 16:32:45 -07:00
Timothy Guan-tin Chien
11a6ea0cfa 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
774a3ff156 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
bee537e0cb 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
d4127031bd 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
769fc8f245 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
2016-04-05 11:33:48 -07:00
Timothy Guan-tin Chien
11d1c72c38 Bug 1243722 - Introduce notUsernameSelector in passwordmgr recipes. r=MattN
Additionally, add a recipe for Facebook.

MozReview-Commit-ID: 2l60v7R0TPP
2016-04-01 14:25:14 +08:00
Drew Willcoxon
eddf27d886 Bug 1261251 - [e10s] Make toolkit/components/passwordmgr/test/test_bug_627616.html work under e10s. r=MattN
MozReview-Commit-ID: wKbB1APWZf
2016-04-04 17:49:31 -07:00
Matthew Wein
22d2aaa984 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
e226dad497 No bug - Disable test_notifications_popup.html until its converted for e10s
MozReview-Commit-ID: CN5fgoIyDWi
2016-03-25 12:00:33 -04:00
Matthew Noorenberghe
79ef1ed92b 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
6051238739 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
2016-03-25 09:21:14 -04:00
Matthew Noorenberghe
43478a0057 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
2016-03-22 18:06:51 -04:00
Matthew Noorenberghe
fc8fe67e85 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
2016-03-21 15:30:18 -04:00
Matthew Noorenberghe
a2772a25d9 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
2016-03-24 21:56:59 -04:00
Matthew Noorenberghe
6298a440b4 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
2016-03-24 23:09:16 -04:00