Commit graph

101 commits

Author SHA1 Message Date
Mark Banner
a53020d022 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk

--HG--
extra : rebase_source : 98eaec6a67fd3b30ea6b0be641f26c3911012fab
2017-08-20 18:52:05 +01:00
Marco Bonardo ext:(%20%3Cmbonardo%40mozilla.com%3E)
a2c238b900 Bug 1095425 - Convert PlacesTransactions to the new Bookmarks.jsm API. r=standard8
MozReview-Commit-ID: 12pPCGmzV4X

--HG--
extra : rebase_source : 1f8a73a5e84f34cd683abfba854c8413b0cd49b8
2015-04-28 15:19:43 +03:00
Florian Quèze
7375dcec46 Bug 1374282 - script generated patch to remove generators from add_task in browser/ and toolkit/, r=Mossop. 2017-06-22 12:51:43 +02:00
Hector Zhao
193e57c8f4 Bug 1347530 - Part 1: Add a unit test for 360se bookmark imports. r=Gijs
MozReview-Commit-ID: 6DZVjePu3yS

--HG--
extra : rebase_source : d35a7e015ee4867a11a2ba728847a3feb11f2d75
2017-06-08 10:36:49 +08:00
Joel Maher
d923dc1b9c Bug 1361680 - remote test_Edge_availability.js as it is not useful anymore. r=Gijs
MozReview-Commit-ID: 3j1INcb8L6X
2017-05-23 12:38:18 -04:00
Bob Owen
7abdec73fe Bug 1339105 Part 2: Fix registerFakePath in head_migration.js to work when the key has already been accessed. r=mak
This also fixes the cleanup to fully remove the fake path and put back original if it existed.

MozReview-Commit-ID: Eu1QlHLRjZE

--HG--
extra : source : 445875fbf13b7563fdc05437e26000e23bbdc3c2
2017-05-22 20:41:28 +01:00
Wes Kocher
848c9aa744 Backed out 3 changesets (bug 1339105) for plugin process leaks a=backout
Backed out changeset 431267ab28de (bug 1339105)
Backed out changeset 445875fbf13b (bug 1339105)
Backed out changeset c3fb60fbc326 (bug 1339105)

MozReview-Commit-ID: 4HYUQbHHnox
2017-05-22 15:14:23 -07:00
Bob Owen
ad828b90f2 Bug 1339105 Part 2: Fix registerFakePath in head_migration.js to work when the key has already been accessed. r=mak
This also fixes the cleanup to fully remove the fake path and put back original if it existed.
2017-05-22 20:41:28 +01:00
Sebastian Hengst
5a06cb8051 Backed out changeset 964b6ee8ec32 (bug 1339105) 2017-05-22 16:14:32 +02:00
Bob Owen
2a5286c61c Bug 1339105 Part 2: Fix registerFakePath in head_migration.js to work when the key has already been accessed. r=mak
This also fixes the cleanup to fully remove the fake path and put back original if it existed.
2017-05-22 14:29:06 +01:00
Mark Banner
4fb45e5b8c Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM

--HG--
extra : rebase_source : e9215288195f1fe683832db53d87dbe77c697b4c
2017-05-16 22:22:42 +01:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Greg Mierzwinski
92afe39265 Bug 1348103 - Fix test_chrome_bookmarks.js error when collecting code coverage on linux64-jsdcov. r=Gijs
This patch first adds an argument to the 'do_get_file(...)' function call in 'test_chrome_bookmarks.js' that simply allows the 'chromefiles' folder to be non-existent if it does not exist. The 'CoverageUtils.jsm' file is then modified so that the import of 'osfile.jsm' does not interfere with any tests. So, it is now imported into the script after the test has completed. Two other tests have unwanted behaviour that cause code coverage collection to fail so they are also skipped through this patch.

MozReview-Commit-ID: H42HN1solkh

--HG--
extra : rebase_source : 82706778961cd5d7dee4f66eb691d8ec62bde365
2017-04-29 10:47:24 -04:00
Aaron Klotz
f62593faf0 Bug 1359548: Fix incorrectly specified ABIs in js-ctypes declaration in migration code; r=Gijs
MozReview-Commit-ID: LH1MOyuXVos

--HG--
extra : rebase_source : 62778953cbadb533aef4ca90d5257e7a24d66ce6
2017-04-25 13:02:32 -06:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Ganesh Chaitanya Kale
8d1b6e2ac3 Bug 1343182 - Add updatePlaces' ignoreErrors, ignoreResults and aGroupNotifications to insertMany API in History.jsm. r=mak
MozReview-Commit-ID: 45VbtBu25cP

--HG--
extra : rebase_source : dbae98bcf296ce119980e48a3e303aa279c62dba
2017-04-01 13:10:04 +05:30
Gijs Kruitbosch
9280fcd667 Bug 1353373 - fix Edge readinglist imports, r=jaws
MozReview-Commit-ID: Fu9n3FIrxf6

--HG--
extra : rebase_source : d438f2ef4c13f998ee8928a218f504dd4cc43471
2017-04-04 16:18:17 +01:00
Gijs Kruitbosch
ee8d9054fb Bug 1353041 - fix Safari import of folders, r=mossop
MozReview-Commit-ID: Jw0lmIi5aZK

--HG--
extra : rebase_source : b3038740fad3e6fe2e53b356458fa5541c1d50bb
2017-04-03 17:46:47 +01:00
milindl
6109edd9bd Bug 1247201 - yield on tests using removeDataFromDomain,r=mak
This changeset changes tests using ForgetAboutSite.removeDataFromDomain
to yield on it, since now it is a Task

MozReview-Commit-ID: 72OEYoO1avd

--HG--
extra : rebase_source : 9ea8cc06493c3e965d260dc9377461ff29fe572a
2017-03-17 14:29:48 +05:30
Jared Wein
a54eda04ca 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

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Mark Banner
bd625e4e9f 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

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Gijs Kruitbosch
ed77d91bec Bug 1344759 - add a unit test for Chrome bookmark imports, r=dao
MozReview-Commit-ID: 8w1GnbDmOc5

--HG--
extra : rebase_source : ce9d4f1199b4f784387dac115615d869c72582b8
2017-03-13 23:25:46 +00:00
Gijs Kruitbosch
baf3266cde Bug 1341097 - part 1: group frecency notifications from history notifications, r=mak
When updating a large number of places, sending runnables to the main thread
for every single one of them whose frecency we update is not conducive to a
responsive UI. This only gets worse once more observers care about these
notifications (e.g. when the library is open).

To avoid this on startup when importing from other browsers, this patch adds
and uses an option to group the frecency notifications. Later patches will
also use the option to avoid other notifications where possible.

MozReview-Commit-ID: D5KqPDu86bo

--HG--
extra : rebase_source : ad5bbce40eaa802a6a88bc0c9a9c7026fd056598
2017-02-21 20:00:24 +00:00
Gijs Kruitbosch
48f9baa59d Bug 1335442 - deal correctly with not importing anything, r=jaws
MozReview-Commit-ID: 3WZCxXV48Ms

--HG--
extra : rebase_source : f4ac27b2d9e26b8d9330e7b4839ccd05286c1098
2017-02-03 14:04:23 +00:00
Marco Bonardo
f8239567d1 Bug 1336944 - Change Sqlite.jsm to bind TypedArrays as Blobs, not common Arrays. r=Gijs
Currently an Array is bound as a blob. Unfortunately this occupies the best javascript
code path to bind an array to an IN clause in the future.
We would like Arrays to bind to IN lists, while still keeping a nice interface to bind blobs.
This patch makes Uint8Array bind to blob, while Array is left available for future use.

MozReview-Commit-ID: 7xzumBs8JTe

--HG--
extra : rebase_source : e9f63f06892d9db801951243648eddd148646426
2017-02-06 19:30:19 +01:00
Gijs Kruitbosch
b6dca22dac Bug 1333233 - part 2: add telemetry for the time it takes to do individual undo operations, r=bsmedberg,Dolske
MozReview-Commit-ID: Lf7roH3EswB

--HG--
extra : rebase_source : 679b0c32b960aff809e1650e6f2cd1e32a5a935f
2017-01-26 17:00:00 +00:00
Gijs Kruitbosch
569e10b1e0 Bug 1333233 - part 1: add telemetry for error counts from undo operations, r=bsmedberg,Dolske
MozReview-Commit-ID: EdelbiibVWi

--HG--
extra : rebase_source : 21d376c84c66e7dc6ff3ae05f1c0a8826ad68d82
2017-01-26 15:54:41 +00:00
George Veneel Dogga
809e98f68a Bug 887876 - Use Sqlite.jsm in browser/components/migration. r=mak 2017-01-20 04:35:00 -05:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Gijs Kruitbosch
d527f98427 Bug 1331800 - catch errors from history removals and don't block undo on them, r=Dolske
MozReview-Commit-ID: JhWAs6rvBnW

--HG--
extra : rebase_source : 55afb05588c8e9a4734f0a4172ad5b7c1f1e2b23
2017-01-18 18:07:47 +00:00
Mark Banner
582fcb8090 Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6

--HG--
extra : rebase_source : 4551e56f56065349fb9ddc8d90e67f9dc84c1701
2017-01-09 10:12:26 +00:00
Florian Quèze
028a82f682 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein
ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Gijs Kruitbosch
33b498ac62 Bug 1285577 - part 4: save, use and delete implementations for import undo state, r=mak
MozReview-Commit-ID: FVy2MMpvV65

--HG--
extra : rebase_source : e330deab2d1e2601fb9c435f3c6a5ae1d5d5cfc4
2016-12-20 22:49:05 +00:00
Gijs Kruitbosch
70e962988d Bug 1285577 - part 3: keep track of added visits in an import and allow removing them, r=mak
MozReview-Commit-ID: 7HCA7cKhws4

--HG--
extra : rebase_source : 711f3575093b84bf6dfb18e7750f49c58858ebbc
2016-11-30 11:56:25 +00:00
Gijs Kruitbosch
f9853bee1e Bug 1285577 - part 2: keep track of added logins in an import and allow removing them, r=MattN
MozReview-Commit-ID: JZbOkmZ7ZZG

--HG--
extra : rebase_source : fc36e4a137e6eef890091fb46e5f149a3cc1c46f
2016-11-30 11:50:38 +00:00
Gijs Kruitbosch
fb5973dfbc Bug 1285577 - part 1: keep track of added bookmarks in an import and allow removing them, r=mak
MozReview-Commit-ID: 8pKlBmDVX5X

--HG--
extra : rebase_source : 88a07f15e920d570576d0220f541f156f6da86f9
2016-11-30 11:48:03 +00:00
Sebastian Hengst
e36b2e502c Backed out changeset 12aa73f4a982 (bug 1285577) 2016-12-20 22:54:35 +01:00
Sebastian Hengst
7ed2722b24 Backed out changeset 78a3cd5bf313 (bug 1285577) 2016-12-20 22:54:31 +01:00
Sebastian Hengst
d87d8e6640 Backed out changeset 10388e609fe3 (bug 1285577) 2016-12-20 22:54:26 +01:00
Sebastian Hengst
35be83c7bc Backed out changeset 1ffe78f2ab5a (bug 1285577) 2016-12-20 22:53:48 +01:00
Sebastian Hengst
ecf9125f08 Backed out changeset e66794fae8f7 (bug 1285577) 2016-12-20 22:53:30 +01:00
Gijs Kruitbosch
8c2667b6ec Bug 1285577 - followup: Fix eslint complaining about unused vars and spaces, rs=bustage a=bustage
MozReview-Commit-ID: KtjRdtulyLN
2016-12-20 19:56:54 +00:00
Gijs Kruitbosch
cb7ec389a9 Bug 1285577 - part 4: save, use and delete implementations for import undo state, r=mak
MozReview-Commit-ID: FVy2MMpvV65

--HG--
extra : rebase_source : 5187ce09771d6288ad864a44d1f3fd86ec60ce22
2016-12-19 21:56:20 +00:00
Gijs Kruitbosch
75e4193f12 Bug 1285577 - part 3: keep track of added visits in an import and allow removing them, r=mak
MozReview-Commit-ID: 7HCA7cKhws4

--HG--
extra : rebase_source : 16091dde8d36cb05d794a4a32341f57d470242be
2016-11-30 11:56:25 +00:00