Commit Graph

786 Commits

Author SHA1 Message Date
Sean Lee
66f562ece2 Bug 1398101 - Allow the FormAutofill fields with autocomplete="off" to proceed startSearch. r=MattN
MozReview-Commit-ID: 6pZUPY1Fray
2017-09-11 12:11:12 +08:00
Nicholas Nethercote
7dbfdaf890 Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
(Path is actually r=froydnj.)

Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.

MozReview-Commit-ID: 91U22X2NydP
2017-10-03 09:05:19 +11:00
Catalin Badea
fc6ab5f0ea Bug 651120 - Remove index argument from content removed/appended/inserted notifications. r=peterv 2017-10-03 11:09:08 +01:00
Edouard Oger
f8442abd16 Bug 1395427 p3 - Allow form history items to be created with a specific guid. r=markh
This allows us to have the same form history GUIDs across devices, which is mandatory
if we want tombstones to actually do something.

MozReview-Commit-ID: Hw6ahbVA5lB
2017-09-22 15:08:48 -04:00
Edouard Oger
d341d6e1de Bug 1395427 p2 - Include guid in formhistory-remove notifications. r=markh
MozReview-Commit-ID: Je0rV277d7
2017-09-22 15:19:56 -04:00
Sebastian Hengst
46db05e661 Backed out changeset 553d26ab8ee8 (bug 1395427) 2017-09-27 17:10:26 +02:00
Sebastian Hengst
ea2f0888e3 Backed out changeset d7876bfd8bfc (bug 1395427) 2017-09-27 17:10:21 +02:00
Edouard Oger
c179b1162d Bug 1395427 p3 - Allow form history items to be created with a specific guid. r=markh
This allows us to have the same form history GUIDs across devices, which is mandatory
if we want tombstones to actually do something.

MozReview-Commit-ID: Hw6ahbVA5lB
2017-09-22 15:08:48 -04:00
Edouard Oger
aefbf9f5b9 Bug 1395427 p2 - Include guid in formhistory-remove notifications. r=markh
MozReview-Commit-ID: Je0rV277d7
2017-09-22 15:19:56 -04:00
Steve Armand
b03be0d87e Bug 1368967 - Enable the ESLint generator-star-spacing rule across mozilla-central. r=standard8
MozReview-Commit-ID: 5do3eoCEAMR
2017-09-04 00:49:32 -04:00
Kris Maglione
7d8f35e2b4 Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop
MozReview-Commit-ID: 4LmJQql7Y2c
2017-08-30 01:50:27 -07:00
Dan Banner
69fb4d8501 Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8
MozReview-Commit-ID: JOC1330iFnh
2017-08-23 13:38:24 +01:00
dagasatvik
91d42b2553 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg
2017-08-07 23:57:51 +05:30
Rajesh Kathiriya
fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Ray Lin
d6223dd225 Bug 1383707 - Temporarily increase the maxRows for form autofill results in order not to show scrollbar in the popup. r=MattN
MozReview-Commit-ID: 7Fjt7T90GIJ
2017-07-26 15:17:02 +08:00
Sebastian Hengst
1326418a49 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
0d920ece6a Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Matthew Noorenberghe
80e800c67b Bug 1378754 - Don't clear marked fields in nsFormFillController upon a persisted pagehide. r=smaug
While moving to a new window (using SwapDocShells), a pagehide event[1] is dispatched causing nsFormFillController to clean up mPwmgrInputs and mAutofillInputs for the document. This commit changes the pagehide handler to not clear the hash tables or mutation observers with persisted=true (which would also fix the same bug in password manager autocomplete).

This approach comes at the cost of increased memory (hash table entries for fields in session history) but would reduce CPU usage compared to the alternative of re-marking password manager and autofill fields upon every pageshow event. This approach also solves the issue of autofill and password manager autocomplete not working after session history navigation.

[1] https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Method/SwapDocShells

MozReview-Commit-ID: 8DFWuFynDex
2017-07-21 13:32:48 -07:00
Matthew Noorenberghe
2d3e8270ae Bug 1378754 - Add MOZ_LOG logging to nsFormFillController.cpp. r=steveck
MozReview-Commit-ID: KJ7TnnlzrGC
2017-07-21 15:32:18 -07:00
Mark Banner
a3531a2dc7 Bug 1378831 - Remove ESLint rules in that are duplicate of the global ones for satchel. r=MattN
MozReview-Commit-ID: 8rffkhaX7r4
2017-07-06 16:42:06 +01:00
Bill McCloskey
ce42826bdf Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Jonathan Guillotte-Blouin
5809723b1f Bug 1372427 - re-order rules in alphabetical order. r=MattN
MozReview-Commit-ID: 3b1zy0RHhzm
2017-06-20 17:02:39 -07:00
Jonathan Guillotte-Blouin
f44e3e4738 Bug 1372427 - enforce balanced-listeners. r=MattN
MozReview-Commit-ID: KpPZA2godKg
2017-06-16 15:12:32 -07:00
Jonathan Guillotte-Blouin
88b7a0d657 Bug 1372427 - prevent using arguments.caller. r=MattN
MozReview-Commit-ID: J6NceWWJzbP
2017-06-16 14:55:06 -07:00
Jonathan Guillotte-Blouin
9b9ea381d4 Bug 1372427 - add "no-unused-vars" rule, with laxist variation in head_satchel + satchel_common. r=MattN
MozReview-Commit-ID: 9HBxDyUF01Q
2017-06-15 16:39:50 -07:00
Jonathan Guillotte-Blouin
2479690afe Bug 1372427 - add rest of rules which don't affect the code. r=MattN
MozReview-Commit-ID: GCUHw9WcVc7
2017-06-14 18:09:29 -07:00
Jonathan Guillotte-Blouin
c98b3a661e Bug 1372427 - enforce no spacing before semi-colons, but spacing after. r=MattN
auto --fix

MozReview-Commit-ID: 8QLHNfXlwBQ
2017-06-14 18:13:15 -07:00
Jonathan Guillotte-Blouin
7a51bb364b Bug 1372427 - enforce dot-notation over square-bracket-notation when possible. r=MattN
auto --fix

MozReview-Commit-ID: LDwtCje2Sb0
2017-06-14 17:50:48 -07:00
Jonathan Guillotte-Blouin
246e1d8e72 Bug 1372427 - enforce "comma-dangle". r=MattN
auto --fix

MozReview-Commit-ID: KKmDI0Pt43K
2017-06-14 17:46:42 -07:00
Jonathan Guillotte-Blouin
441be83e7f Bug 1372427 - add rule to not put spacing inside parens. r=MattN
auto --fix

MozReview-Commit-ID: 7jCl2Z0Q3SI
2017-06-14 17:37:09 -07:00
Jonathan Guillotte-Blouin
68432b1c69 Bug 1372427 - add rule to not put spacing inside arrays. r=MattN
auto --fix

MozReview-Commit-ID: BiEzl4OawuU
2017-06-14 17:35:30 -07:00
Jonathan Guillotte-Blouin
4fb78b27aa Bug 1372427 - enforce "var" declarations only at top-level. r=MattN
MozReview-Commit-ID: 1bzsOoyidnR
2017-06-14 17:30:32 -07:00
Jonathan Guillotte-Blouin
9076dd22f3 Bug 1372427 - force radix argument in parseInt. r=MattN
MozReview-Commit-ID: J4VoeedZpGa
2017-06-14 13:38:17 -07:00
Jonathan Guillotte-Blouin
8a8db1097e Bug 1372427 - add error to not pad blocks. r=MattN
auto --fix

MozReview-Commit-ID: 6tXXL7Ncmso
2017-06-14 13:28:01 -07:00
Jonathan Guillotte-Blouin
0b8e86ced6 Bug 1372427 - add rule to not throw litterals. r=MattN
MozReview-Commit-ID: F962Z4jhm2l
2017-06-14 12:01:50 -07:00
Jonathan Guillotte-Blouin
6a3d1cde94 Bug 1372427 - limit to 2 consecutive empty lines. r=MattN
MozReview-Commit-ID: 61VaynFFq40
2017-06-14 11:47:00 -07:00
Jonathan Guillotte-Blouin
bd47c0d0a1 Bug 1372427 - add rule "no-fallthrough" in switch cases. r=MattN.
MozReview-Commit-ID: 7kmc7Ze9v0J
2017-06-13 17:10:34 -07:00
Jonathan Guillotte-Blouin
ddb9887bc4 Bug 1372427 - limit lines to a maximum of 100 chars. r=MattN
MozReview-Commit-ID: 3OSKaTMMBot
2017-06-13 16:48:31 -07:00
Jonathan Guillotte-Blouin
db59f9296e Bug 1372427 - add "dot-location" rule so that dots are on the same line as properties. r=MattN
MozReview-Commit-ID: A6IKfSiVXAN
2017-06-13 16:34:54 -07:00
Jonathan Guillotte-Blouin
815a325de3 Bug 1372427 - add cyclomatic-complexity limit. r=MattN
MozReview-Commit-ID: GRiJw8SBq9e
2017-06-13 15:56:31 -07:00
Jonathan Guillotte-Blouin
6e1ffff1ea Bug 1372427 - add "no-use-before-define" rule. r=MattN
MozReview-Commit-ID: BRhwhnxzlpG
2017-06-13 14:34:12 -07:00
Jonathan Guillotte-Blouin
065f07ec40 Bug 1372427 - add "block-scoped-var" rule. r=MattN.
MozReview-Commit-ID: K3Zwr0jy6U2
2017-06-13 14:23:11 -07:00
Jonathan Guillotte-Blouin
29b30a4a82 Bug 1372427 - add js-doc rule. r=MattN
MozReview-Commit-ID: YgDBHM88PW
2017-06-13 10:48:52 -07:00
Jonathan Guillotte-Blouin
4aee0d02d2 Bug 1372427 - add semi-colon rule. r=MattN
auto --fix

MozReview-Commit-ID: F9GvxcghPkt
2017-06-13 09:51:07 -07:00
Jonathan Guillotte-Blouin
10ee9a5b3d Bug 1372427 - Add indentation rules. r=MattN
MozReview-Commit-ID: 62a7RvVlcco
2017-06-12 15:45:00 -07:00
Jonathan Guillotte-Blouin
b01f8949aa Bug 1372427 - Add "curly" eslint rule to fix missing curly braces. r=MattN.
MozReview-Commit-ID: LwVEPezNiCx
2017-06-09 15:56:08 -07:00
Jonathan Guillotte-Blouin
b956a19bfb Bug 1374427 - remove redundant function names in js-doc. r=MattN
MozReview-Commit-ID: 3EBT7CDl3pC
2017-06-19 14:11:21 -07:00
Ehsan Akhgari
2b4811fa0d Bug 1374887 - Remove nsIFormAutoComplete::StopControllingInput() from the C++ side; r=MattN
This currently only incurs some XPConnect and exception creation
overhead, as the method has no implementation.
2017-06-21 23:43:37 -04:00
Ehsan Akhgari
b9bffa40b9 Bug 1374893 - Don't handle the input event for inputs that aren't text controls; r=MattN 2017-06-21 23:29:15 -04:00
Nathan Froyd
8335babfc9 Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00