Commit Graph

1226 Commits

Author SHA1 Message Date
Hemant Singh Patwal
97ad6f6141 Bug 1354519 - De-duplicate already ESLint recommended rules in toolkit/components/passwordmgr/.eslintrc.js. r=standard8
MozReview-Commit-ID: 8QjmEmRz7YJ
2017-04-26 22:24:19 +05:30
Joel Maher
e782a7096d Bug 1334336 - Intermittent toolkit/components/passwordmgr/test/browser/browser_capture_doorhanger.js. temporarily disable. r=gbrown 2017-04-25 15:25:56 -06:00
Chris Peterson
7fcf616cf5 Bug 1358949 - Lower eslint cyclomatic complexity threshold in some directories. r=standard8
We can lower the eslint cyclomatic complexity threshold in some directories without adding eslint suppression comments in any .js source files. We need to specify the complexity rule in accessible/.eslintrc because it doesn't inherit the mozilla/recommended rules. eslint's default complexity threshold is 20.

Also bump the eslint-plugin-mozilla version because we modified the mozilla/recommended rules.

MozReview-Commit-ID: 57T4gAjPH7z
2017-04-23 19:23:18 -07:00
Florian Queze
ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
aca1103c68 Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
4189eac09e Backed out changeset e1f191aad863 (bug 1356569) 2017-04-14 23:39:17 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
6c119a88d3 Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
35cd8ba883 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Joel Maher
1264a88da0 Bug 1325778 - Intermittent toolkit/components/passwordmgr/test/mochitest/test_insecure_form_field_autocomplete.html. disable the right test. r=mattn
MozReview-Commit-ID: 1Ut8csGjudW
2017-04-14 05:54:32 -04:00
Neil Deakin
8847ff9563 Bug 1334635, don't flush layout in the tree's CheckOverflow method if the scroll overflow hasn't changed, r=jaws, dholbert
The flush was added due to the overflow/underflow events causing recursion in some cases. But if the events aren't fired there is no point in doing this. The password manager test is changed to flush since it relies on showing/hiding tree columns but currently doesn't wait for a relayout before asking for cell information.
2017-04-13 08:21:23 -04:00
Geoff Brown
4a39b65352 Bug 1344401 - Increase wait time in test_formless_submit_navigation_negative, on Android only; r=mattn 2017-04-12 09:15:56 -06:00
Zibi Braniecki
efdaa3952d Bug 1354445 - Migrate Intl.DateTimeFormat to mozIntl.DateTimeFormat in chrome. r=mak
MozReview-Commit-ID: 4z13lcLXN9T
2017-04-08 23:04:32 -07:00
Andrew McCreight
cfb9535d90 Bug 1355248 - Don't eagerly import InsecurePasswordUtils.jsm in LoginManagerContent.jsm. r=MattN
MozReview-Commit-ID: 7XVmlF4LHRQ
2017-04-10 16:01:52 -07:00
Matthew Noorenberghe
1a7f4ac402 Bug 1355534 - Revert to longer insecure login field contextual warning string. r=johannh
MozReview-Commit-ID: F2hmNQGLvo8
2017-04-11 13:03:29 -04:00
Johann Hofmann
6f157e5a1c Bug 1337772 - Part 2 - Explicitly trigger a mousedown event before opening the context menu in browser_context_menu.js. r=MattN
MozReview-Commit-ID: ADTskzMoK9t
2017-04-06 11:00:11 +02:00
Johann Hofmann
2852b063d7 Bug 1337772 - Part 1 - Use mousedown instead of contextmenu to avoid showing the password autocomplete. r=MattN
MozReview-Commit-ID: EUZ1f6Qdm0c
2017-04-07 00:01:31 +02:00
Mark Banner
7945b07153 Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E
2017-04-03 11:46:56 +01:00
Jim Porter
546ae99584 Bug 1164469 - LoginManagerContent._fillForm should take an options argument; r=MattN
MozReview-Commit-ID: A38fIWbGCaa
2017-03-20 19:13:13 -05:00
Jim Porter
8056c101f6 Bug 1222032 - Improve copy for disambiguating login update r=MattN
MozReview-Commit-ID: Ga3pybr1yGY
2017-03-16 19:14:38 -05:00
Johann Hofmann
229c3dd3de Bug 1192800 - Get rid of CPOWs in browser_context_menu.js. r=MattN
MozReview-Commit-ID: 8lkjFGvwS8d
2017-03-16 09:09:44 +01:00
Jared Wein
5a181760cc Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -04:00
Mark Banner
ec9074e132 Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Florian Quèze
49d8db6821 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Joel Maher
58814936e9 Bug 1337772 - Intermittent browser_context_menu_autocomplete_interaction.js. disable on linux. r=gbrown
MozReview-Commit-ID: 5OC5E22GBJV
2017-03-09 15:06:30 -05:00
Johann Hofmann
48b937717f Bug 1337772 - Fix intermittent browser_context_menu_autocomplete_interaction.js. r=MattN
MozReview-Commit-ID: 6vAWN4z2wRP
2017-03-01 20:05:38 +01:00
Joel Maher
32b927ad90 Bug 1325778 - Intermittent toolkit/components/passwordmgr/test/mochitest/test_insecure_form_field_autocomplete.html. r=gbrown
MozReview-Commit-ID: 99eVjotuRZ2
2017-03-01 08:20:24 -05:00
Wes Kocher
9b2de0a8e3 Backed out changeset 506e2da5e26f (bug 1325778) for turning test_insecure_form_field_autocomplete.html permafail on android a=backout
MozReview-Commit-ID: 5a3fWSTqoOh
2017-02-27 16:59:51 -08:00
Joel Maher
20883b2542 Bug 1325778 - Intermittent toolkit/components/passwordmgr/test/mochitest/test_insecure_form_field_autocomplete.html. r=gbrown
MozReview-Commit-ID: 4X29wI7PLEn
2017-02-27 10:25:06 -05:00
Masatoshi Kimura
4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Johann Hofmann
b114c94ba3 Bug 1337259 - Don't show password autocomplete upon a right click into the password field. r=mconley
MozReview-Commit-ID: JEODCfZOMRW
2017-02-10 12:45:26 +01:00
Ryan VanderMeulen
cfb0a336fc Bug 1312981, bug 1313136 - Skip browser_capture_doorhanger_window_open.js on Linux for frequent failures. 2017-02-22 12:43:41 -05:00
J. Ryan Stinnett
fd466118f9 Bug 1335281 - Use frame loader for same process browsers. r=mrbkap
This changes the `relatedBrowser` property which held a <xul:browser> to the
more explicit `sameProcessAsFrameLoader` which takes an nsIFrameLoader.

This clarifies the purpose of the property and also (by switching to the frame
loader) makes it easier to set in some contexts.

MozReview-Commit-ID: LnEvSP8zkto
2017-02-14 14:12:35 -06:00
Fischer.json
71a3493ba7 Bug 1338757 - "Remove All Shown" and button in about:preferences should use its own accesskey, r=jaws
MozReview-Commit-ID: 2ucF0GqOCJV
2017-02-13 11:43:37 +08:00
Matthew Noorenberghe
2b8570b31d Bug 1333256 - Bring back the insecure field warning Learn More text in bold. r=johannh
MozReview-Commit-ID: CpPgkdmbb2O
2017-02-14 02:19:20 +08:00
Wes Kocher
d70a34eed4 Merge inbound to central, a=merge
MozReview-Commit-ID: Gx7IszkCDZ4
2017-02-13 17:04:20 -08:00
Matthew Noorenberghe
8f437ad3aa Bug 1338396 - LoginManagerContent: Use Date.now() instead of event.timeStamp until high-res timestamps are shipping. r=johannh
MozReview-Commit-ID: GS8DgpyYnxU
2017-02-13 23:49:16 +08:00
Matthew Noorenberghe
3d13b4fd74 Bug 1332610 - Don't eagerly create Intl.DateTimeFormat in LoginManagerContextMenu.jsm. r=johannh
MozReview-Commit-ID: IuXdWyy4C7b
2017-01-23 11:27:10 -08:00
Fischer.json
5b645d203b Bug 1338036 - Switch button label from "Remove All" to "Remove All Shown" when filtering by keyword in about:preferences, r=jaws
MozReview-Commit-ID: 8iK6bg8i0uT
2017-02-09 12:00:12 +08:00
Florian Quèze
a19e007056 Bug 1338585 - Add an eslint rule to require using .ownerGlobal instead of .ownerDocument.defaultView, r=jaws. 2017-02-13 13:01:32 +01:00
Valentin Gosu
25f2affa4f Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=bz,MattN,jdm,markh
MozReview-Commit-ID: DzRenakrcAG
2016-07-07 16:20:47 +03:00
Matthew Noorenberghe
e30e5b9646 Bug 1330111 - Test changes for opening username autocomplete. r=johannh
MozReview-Commit-ID: CJKpsRmWorm
2017-02-03 16:41:48 -08:00
Matthew Noorenberghe
d62191bc93 Bug 1330111 - Don't open username autocomplete upon focus if a contextmenu is opening. r=johannh,daleharvey
The `focus` event is received before the `contextmenu` event.

MozReview-Commit-ID: 4Ya0uXKXWC6
2017-02-08 10:19:15 +08:00
Matthew Noorenberghe
03aefe95d0 Bug 1330111 - Automatically open login autocomplete from username fields if the form isn't filled. r=johannh
MozReview-Commit-ID: BWJcc0ZaA3K
2017-02-03 12:41:51 -08:00