Commit Graph

880 Commits

Author SHA1 Message Date
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
Matthew Noorenberghe
89ce9764c3 Bug 1192800 - Disable browser_context_menu.js for e10s due to intermittent dead CPOW failures r=me DONTBUILD
MozReview-Commit-ID: 2KjIlys2Zcd
2016-03-21 23:28:55 -04:00
Matthew Noorenberghe
679993fe03 Bug 1257757 - Add filenames to insecure password warnings. r=bgrins
MozReview-Commit-ID: IT6yhL5hJvA
2016-03-21 15:31:00 -04:00
Matthew Noorenberghe
b6655f8722 No bug - Modernize style and improve comments of InsecurePasswordUtils.jsm
MozReview-Commit-ID: 6c2J4ncppPL
2016-03-17 22:24:33 -07:00
Ryan VanderMeulen
e476959c68 Backed out changesets 5115d7a4ff78 and 21e02fc102b4 (bug 1255265) for test_notifications_popup.html timeouts. 2016-03-10 22:28:52 -05:00
Matthew Noorenberghe
f851264ab2 Bug 1255265 - Follow-up for requestLongerTimeout.
MozReview-Commit-ID: 9f8CynM2MBp
2016-03-10 17:01:26 -08:00
Matthew Noorenberghe
3a9cc9cadd 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-10 14:35:29 -08:00
Matthew Noorenberghe
9abe41e39f No bug - Modernize the style of nsLoginManager.js
MozReview-Commit-ID: Huhp8Ipetuh
2016-03-09 21:45:31 -08:00
Matthew Noorenberghe
d2b96406d5 No bug - Expose the whole logger in nsLoginManager.js
This allows logging at different log levels.

MozReview-Commit-ID: B1ZB3WCefDi
2016-03-09 21:46:29 -08:00
Matthew Noorenberghe
bc59475a9c Bug 1251151 - Make test_autofill_password-only.html work for e10s. r=dolske
MozReview-Commit-ID: Atwqt9mp6Da
2016-03-09 15:36:17 -08:00
Matthew Noorenberghe
f65996c2ea Bug 1251098 - pwmgr: Enable test_recipe_login_fields.html in e10s. r=dolske
MozReview-Commit-ID: G0446CyBc4D
2016-03-09 15:32:14 -08:00
Matthew Noorenberghe
3c9c41b216 Bug 1251092 - Move password manager mochitest-chrome tests to a chrome subdirectory. r=dolske
MozReview-Commit-ID: JHIaCJLjdBt
2016-03-09 15:29:05 -08:00
Matthew Noorenberghe
1f134974a7 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
c37bf86072 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
c4df8b7188 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
a2fc2ebf50 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
2016-02-28 14:11:46 -08:00
Sebastian Hengst
dd809630c9 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
2016-02-28 14:11:30 -08:00
Sebastian Hengst
0abe30125d Bug 1251916 - Use standard JavaScript features in toolkit/components/passwordmgr to pass eslint checks: replace legacy generators with ES6 generators. r=MattN
MozReview-Commit-ID: KxMSovx0mfl
2016-02-28 14:11:17 -08:00
Sebastian Hengst
9b2fcb3de7 Bug 1251916 - Use standard JavaScript features in toolkit/components/passwordmgr to pass eslint checks: general, simple changes. r=MattN
MozReview-Commit-ID: IdecwypP6on
2016-02-28 14:10:55 -08:00
AJ Kerrigan
8917ed42db Bug 1246188 - Make webconsole.js ESLint-clean. r=lclark 2016-02-13 00:56:12 -05:00
Matthew Noorenberghe
bd3f078d0f Bug 1246323 - passwordmgr: Bug 1001765 follow-up for VK_ESCAPE handling and test cleanup. r=dolske 2016-02-05 17:33:47 -08:00
Christoph Kerschbaumer
048bc50cfc Bug 1244890 - Convert tests within toolkit/components/passwordmgr to use asyncOpen2(). r=sicking 2016-02-01 14:37:06 -08:00
Paolo Amadini
cfbe4569d1 Bug 1217766 - All PDFs trigger the insecure password warning. r=MattN,bz 2016-01-18 14:54:18 +00:00
Christoph Kerschbaumer
c5f7e056cc Bug 1225357 - Convert toolkit tests to use asyncOpen2 (r=sicking) 2016-01-12 13:45:03 -08:00
Matthew Noorenberghe
a1a1694dd0 Bug 1208145 - Back out changeset e4e3a8b66db4 (bug 1121291). rs=dolske
Generated via qbackout with no conflicts
2016-01-12 11:38:54 -08:00
Shu-yu Guo
90b93e6d5b Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Dave Townsend
8dc7f59eb3 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Alessio Placitelli
99f989be2b Bug 1234493 - Remove FHR's PasswordsMetricsProvider. r=rnewman 2015-12-22 09:55:00 +01:00
Matthew Noorenberghe
49d8829ebf Bug 1216986 - Fix usage of nsIURI.host in password manager and prompt code to support IPv6. r=dolske,liuche,kanru 2015-12-02 16:13:18 -08:00
Panos Astithas
ebe9c237ca Bug 1217133 - Don't warn about insecure passwords on localhost pages. r=paolo,MattN 2015-11-11 08:39:06 +02:00
Carsten "Tomcat" Book
2c8cf80144 merge mozilla-inbound to mozilla-central a=merge 2015-11-05 11:58:55 +01:00
Andrew Krawchyk
2c2769eb98 Bug 1173583 - Make autocompletion from the username field work outside of <form>. r=MattN 2015-10-29 16:44:20 -04:00
Bill McCloskey
a14792d8ee Bug 1219504 - Test changes (r=Gijs,mconley,jryans,MattN,Mossop) 2015-11-04 10:56:15 -08:00
Tooru Fujisawa
2bf22fe47e Bug 1217082 - Remove for-each from toolkit/. r=Gijs 2015-10-19 04:57:14 +09:00
J. Ryan Stinnett
687866dde2 Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Gijs Kruitbosch
55079ed3a7 Bug 731025 - Add telemetry for migrator usage and errors, r=MattN,p=bsmedberg 2015-10-07 13:34:46 +01:00
rosako
15df5b32c9 Bug 1207733 - Update @disabled on the Remove Password button when selection changes. r=MattN 2015-10-18 20:10:09 -07:00
Paolo Amadini
6d24886cab Bug 1193341 - Detect presence of password fields in any subframe, flagging those on insecure connections. r=MattN 2015-10-13 13:40:34 +01:00
Alexandre Poirot
f1439bdbe8 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
Vladan Djeric
2d7eaaba05 Backed out changeset 5d1ec6ca9374 (bug 1193341) for Talos regressions (bug 1213364) 2015-10-11 00:26:26 -04:00