Commit Graph

795 Commits

Author SHA1 Message Date
Narcis Beleuzu
f7f473b678 Backed out 1 changesets (bug 1404427) for browser failures in browser_sanitize-timespans.js at some times of the day. r=backout a=backout on a CLOSED TREE
Backed out changeset e02d99be7eb0 (bug 1404427)
2017-11-11 05:48:15 +02:00
Edouard Oger
4f9b7d04fa Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr

--HG--
extra : rebase_source : 596e4470b64e9406432c4d54f7ef90138a032e62
2017-11-06 15:50:28 -05:00
Sebastian Hengst
e26417e1b1 Backed out changeset d9a7e2fba868 (bug 1404427) on suspicion of causing failures in browser_sanitize-timespans.js at some times of the day. r=backout a=backout on a CLOSED TREE 2017-11-10 15:28:16 +02:00
Edouard Oger
8ca003f520 Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr

--HG--
extra : rebase_source : 9d85cc401123eb915f640586e722c8275753066e
2017-11-06 15:50:28 -05:00
Andreea Pavel
1f2b7dccb6 Backed out changeset 6aa22b862a45 (bug 1404427) for failing browser-chrome browser/components/search/test/browser_426329.js r=backout on a CLOSED TREE 2017-11-09 21:26:40 +02:00
Edouard Oger
6af91eacb2 Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr

--HG--
extra : rebase_source : 8c232e95bb5849a60002f4572c113d814da4a193
2017-11-06 15:50:28 -05:00
Mark Banner
99e91ded27 Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components - Part 2. r=florian
MozReview-Commit-ID: 44oBXPP88Lc

--HG--
extra : rebase_source : 6625ac73eca1fa63d474eda3d1146baf910eac8c
2017-10-30 17:22:17 +00:00
Mark Banner
01008c7d57 Bug 1412778 - Enable ESLint rule no-cpows-in-tests across the whole tree. r=florian
MozReview-Commit-ID: 8pidN7x6MYh

--HG--
extra : rebase_source : 6a0d6800091231fc1535223bd7fc6df0ba40d47b
2017-10-30 09:55:39 +00:00
Bob Owen
8095bde7d5 Bug 1372823 Part 4: Set-up observer for idle-daily in FormHistoryStartup.init not manifest. r=mak
This is so that we don't open a database connection without any of the machinery in place to close it.
2017-10-18 12:04:53 +01:00
Sean Lee
920b6010d7 Bug 1398101 - Allow the FormAutofill fields with autocomplete="off" to proceed startSearch. r=MattN
MozReview-Commit-ID: 6pZUPY1Fray

--HG--
extra : rebase_source : d6e671a3877f36ba29fa49d965eb710997776b7e
2017-09-11 12:11:12 +08:00
Nicholas Nethercote
d225f7151b 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

--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Catalin Badea
f8162c4bfd Bug 651120 - Remove index argument from content removed/appended/inserted notifications. r=peterv 2017-10-03 11:09:08 +01:00
Edouard Oger
60aea23a2c 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

--HG--
extra : rebase_source : 5289322dea430f364790026470ff844f754dd570
2017-09-22 15:08:48 -04:00
Edouard Oger
8cb437aed8 Bug 1395427 p2 - Include guid in formhistory-remove notifications. r=markh
MozReview-Commit-ID: Je0rV277d7

--HG--
extra : rebase_source : 0557db8a84c98b0fa55b6a4f23fa8001876d559b
2017-09-22 15:19:56 -04:00
Sebastian Hengst
dace60c516 Backed out changeset 553d26ab8ee8 (bug 1395427) 2017-09-27 17:10:26 +02:00
Sebastian Hengst
6cbbf769ee Backed out changeset d7876bfd8bfc (bug 1395427) 2017-09-27 17:10:21 +02:00
Edouard Oger
8dcfa9de4f 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

--HG--
extra : rebase_source : 39f9cc5553f44f149abc0ed9715268c538fc27ba
2017-09-22 15:08:48 -04:00
Edouard Oger
a532988296 Bug 1395427 p2 - Include guid in formhistory-remove notifications. r=markh
MozReview-Commit-ID: Je0rV277d7

--HG--
extra : rebase_source : f2b03b68567a8d075dfbe3921d14bcc86c755d66
2017-09-22 15:19:56 -04:00
Steve Armand
e46ff00709 Bug 1368967 - Enable the ESLint generator-star-spacing rule across mozilla-central. r=standard8
MozReview-Commit-ID: 5do3eoCEAMR

--HG--
extra : rebase_source : 5f692e474e1d7d173fcb4c9c08617f0fe489e443
2017-09-04 00:49:32 -04:00
Kris Maglione
8b415f700f Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop
MozReview-Commit-ID: 4LmJQql7Y2c

--HG--
extra : rebase_source : f18b5547a5a57db4e8b990bfc34f06690ac9da7a
extra : histedit_source : 7281bafbde4bf231752d9d868ec8ca1d2f55a2f9
2017-08-30 01:50:27 -07:00
Dan Banner
f1eb5aaa84 Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8
MozReview-Commit-ID: JOC1330iFnh

--HG--
extra : rebase_source : 2afcb219d4a0d78f996bdc2c841456d2dccff605
2017-08-23 13:38:24 +01:00
dagasatvik
d4398e95f2 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg

--HG--
extra : rebase_source : 5fc5c6760924da81a6d0708ff0d5586fc62c8c5e
2017-08-07 23:57:51 +05:30
Rajesh Kathiriya
48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Ray Lin
7c82a212d6 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

--HG--
extra : rebase_source : d1f76b606cef7b2f4132064ebd2e6c7550b68990
2017-07-26 15:17:02 +08:00
Sebastian Hengst
804a36e668 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
22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
Matthew Noorenberghe
97207bec46 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

--HG--
extra : rebase_source : 496220c356de21f627efe71dab6907b99b2facd1
2017-07-21 13:32:48 -07:00
Matthew Noorenberghe
59c18706f7 Bug 1378754 - Add MOZ_LOG logging to nsFormFillController.cpp. r=steveck
MozReview-Commit-ID: KJ7TnnlzrGC

--HG--
extra : rebase_source : 1be65f2f4b04b74795773bcf88c1e353f9d751a0
2017-07-21 15:32:18 -07:00
Mark Banner
c9a26d830e Bug 1378831 - Remove ESLint rules in that are duplicate of the global ones for satchel. r=MattN
MozReview-Commit-ID: 8rffkhaX7r4

--HG--
extra : rebase_source : 9622232774cf2fd4f154c8800cb6f8e2ca8465ac
2017-07-06 16:42:06 +01:00
Bill McCloskey
f115503a0b 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
dc454df73d Bug 1372427 - re-order rules in alphabetical order. r=MattN
MozReview-Commit-ID: 3b1zy0RHhzm

--HG--
extra : rebase_source : 22c220f0058d489bac50e1a07bd23fe6b9708e4f
2017-06-20 17:02:39 -07:00
Jonathan Guillotte-Blouin
5b82f8ccdc Bug 1372427 - enforce balanced-listeners. r=MattN
MozReview-Commit-ID: KpPZA2godKg

--HG--
extra : rebase_source : 4fa909ca48e98a913e6c3ceca0df74b304f6549a
2017-06-16 15:12:32 -07:00
Jonathan Guillotte-Blouin
b75e7d653d Bug 1372427 - prevent using arguments.caller. r=MattN
MozReview-Commit-ID: J6NceWWJzbP

--HG--
extra : rebase_source : 7153930a703c1d39e0fce89800aea4ea84a0ccba
2017-06-16 14:55:06 -07:00
Jonathan Guillotte-Blouin
c2a1a5026a Bug 1372427 - add "no-unused-vars" rule, with laxist variation in head_satchel + satchel_common. r=MattN
MozReview-Commit-ID: 9HBxDyUF01Q

--HG--
extra : rebase_source : 1c6dd4554708975817290bd624acde6aaf246c22
2017-06-15 16:39:50 -07:00
Jonathan Guillotte-Blouin
c7f6cdf5a4 Bug 1372427 - add rest of rules which don't affect the code. r=MattN
MozReview-Commit-ID: GCUHw9WcVc7

--HG--
extra : rebase_source : c8e6a8b0621a2f5ee715df8dd0f20a59270a438c
2017-06-14 18:09:29 -07:00
Jonathan Guillotte-Blouin
1d9f369492 Bug 1372427 - enforce no spacing before semi-colons, but spacing after. r=MattN
auto --fix

MozReview-Commit-ID: 8QLHNfXlwBQ

--HG--
extra : rebase_source : 198937fc68701b09e8af568ec2c7802a0cc46886
2017-06-14 18:13:15 -07:00
Jonathan Guillotte-Blouin
f264f8503e Bug 1372427 - enforce dot-notation over square-bracket-notation when possible. r=MattN
auto --fix

MozReview-Commit-ID: LDwtCje2Sb0

--HG--
extra : rebase_source : 0ba00836aef84c537fc361f40bca1371ffd1266e
2017-06-14 17:50:48 -07:00
Jonathan Guillotte-Blouin
d99dbdf74f Bug 1372427 - enforce "comma-dangle". r=MattN
auto --fix

MozReview-Commit-ID: KKmDI0Pt43K

--HG--
extra : rebase_source : 4917dbfc35a03dc0f8171006273b1e555f7b4c9b
2017-06-14 17:46:42 -07:00
Jonathan Guillotte-Blouin
4e9c60eaf7 Bug 1372427 - add rule to not put spacing inside parens. r=MattN
auto --fix

MozReview-Commit-ID: 7jCl2Z0Q3SI

--HG--
extra : rebase_source : bd5d39a6332cc2cfd2110ef221c703e7adcdf169
2017-06-14 17:37:09 -07:00
Jonathan Guillotte-Blouin
098de3bdc2 Bug 1372427 - add rule to not put spacing inside arrays. r=MattN
auto --fix

MozReview-Commit-ID: BiEzl4OawuU

--HG--
extra : rebase_source : fe425f8840414ee289415e9b7775b698ee3b6b9a
2017-06-14 17:35:30 -07:00
Jonathan Guillotte-Blouin
940afb49f2 Bug 1372427 - enforce "var" declarations only at top-level. r=MattN
MozReview-Commit-ID: 1bzsOoyidnR

--HG--
extra : rebase_source : fa4ca6a5f23e8102a7fd3f7839ef75913a2664a8
2017-06-14 17:30:32 -07:00
Jonathan Guillotte-Blouin
9d800f76e8 Bug 1372427 - force radix argument in parseInt. r=MattN
MozReview-Commit-ID: J4VoeedZpGa

--HG--
extra : rebase_source : 5bb4dd6313c020ce86a6626e211d8c8953384a40
2017-06-14 13:38:17 -07:00
Jonathan Guillotte-Blouin
e09e7030e3 Bug 1372427 - add error to not pad blocks. r=MattN
auto --fix

MozReview-Commit-ID: 6tXXL7Ncmso

--HG--
extra : rebase_source : 54b8c38577cb97284dec2b43a18ba3c41cb06621
2017-06-14 13:28:01 -07:00
Jonathan Guillotte-Blouin
a09396282c Bug 1372427 - add rule to not throw litterals. r=MattN
MozReview-Commit-ID: F962Z4jhm2l

--HG--
extra : rebase_source : 3598a12db8721a7959b8253cd7e0659fa3b12371
2017-06-14 12:01:50 -07:00
Jonathan Guillotte-Blouin
b7c65b7e8f Bug 1372427 - limit to 2 consecutive empty lines. r=MattN
MozReview-Commit-ID: 61VaynFFq40

--HG--
extra : rebase_source : 4ab676e41466924e6c37401ea9f727d61e372515
2017-06-14 11:47:00 -07:00
Jonathan Guillotte-Blouin
acb97102b7 Bug 1372427 - add rule "no-fallthrough" in switch cases. r=MattN.
MozReview-Commit-ID: 7kmc7Ze9v0J

--HG--
extra : rebase_source : b0053eab37b2c40dc13be7c4ffc6e15f111e716e
2017-06-13 17:10:34 -07:00
Jonathan Guillotte-Blouin
59345808a2 Bug 1372427 - limit lines to a maximum of 100 chars. r=MattN
MozReview-Commit-ID: 3OSKaTMMBot

--HG--
extra : rebase_source : f6d9c00352003674c643089f158a8d116ae36a20
2017-06-13 16:48:31 -07:00
Jonathan Guillotte-Blouin
f4d5635b00 Bug 1372427 - add "dot-location" rule so that dots are on the same line as properties. r=MattN
MozReview-Commit-ID: A6IKfSiVXAN

--HG--
extra : rebase_source : 63be6025fee7a141e3169e2dffd7321e697edcc0
2017-06-13 16:34:54 -07:00
Jonathan Guillotte-Blouin
47c81bbc84 Bug 1372427 - add cyclomatic-complexity limit. r=MattN
MozReview-Commit-ID: GRiJw8SBq9e

--HG--
extra : rebase_source : a2fd84337d45361bec2ea8bde62578fbf99c1823
2017-06-13 15:56:31 -07:00
Jonathan Guillotte-Blouin
cc4c1778c4 Bug 1372427 - add "no-use-before-define" rule. r=MattN
MozReview-Commit-ID: BRhwhnxzlpG

--HG--
extra : rebase_source : 45f74a002a90f9a9869fbd14516cb73d19ce6d84
2017-06-13 14:34:12 -07:00