Commit Graph

709 Commits

Author SHA1 Message Date
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
Rajesh Kathiriya
fafb858b26 Bug 1370225 - Enabled the ESLint comma-style rule across mozilla-central. r=standard8
MozReview-Commit-ID: 9OhLgBpYS4L

--HG--
extra : rebase_source : 5155e715934e7acd2ffadb4856eb91f481cbf56c
2017-06-15 18:24:17 +01:00
Masatoshi Kimura
3231cb3535 Bug 1372886 - Remove dead parameters from nsIConverterInputStream.init(). r=hsivonen
MozReview-Commit-ID: GliLHLsUWjt

--HG--
extra : rebase_source : 50d3f4680a498125ddf600b0d64f6740b0229f80
2017-06-17 19:30:09 +09:00
Wes Kocher
ebf35623cd Merge mozilla-central to autoland a=merge
UPGRADE_NSS_RELEASE
2017-06-13 18:57:32 -07:00
Rajesh Kathiriya
6d3eb2c851 Bug 1370232 - Enabled the ESLint no-unneeded-ternary rule across mozilla-central. r=standard8
MozReview-Commit-ID: AH9ArRkjh78

--HG--
extra : rebase_source : bdd4c4f8a4779ea373479a9cba772c036e00e816
2017-06-13 00:23:54 +05:30
Andreas Tolfsen
281e2425f0 Bug 1370871 - Remove use of global from Firefox refresh test; r=Gijs
The previous commit removes the "global" global exposed n Marionette
script evaluation environments.  This patch makes use of named sandboxes
that are maintained for the lifetime of the test.

MozReview-Commit-ID: D2YjOQxULtk

--HG--
extra : rebase_source : 9486b9d49fe702980bc860343206165f753db4e6
2017-06-08 13:46:12 +01:00
Hector Zhao
7698c2a2a1 Bug 1347530 - Part 2: Use insertTree API to import bookmarks from 360se. r=Gijs
MozReview-Commit-ID: H2iI9Pva6Yc

--HG--
extra : rebase_source : 01f575b3cf4b778839b3791a35eaa07f8ab758d9
2017-06-08 10:42:39 +08: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
Mark Banner
403075400a Bug 1371292 - Clean up more ESLint global definitions in configuration files in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 5KC23kzaCFN

--HG--
extra : rebase_source : 6a7541b5ffe85d275bc16194c155ad43f93d52ae
2017-06-08 10:59:12 +01:00
Mark Banner
c93c2a1504 Bug 1370240 - Enable the ESLint no-control-regex rule across mozilla-central. r=mossop
MozReview-Commit-ID: IN7YMk7yhAO

--HG--
extra : rebase_source : be0a9cae6eae14d4f097eced2e231a96c89c9c47
2017-06-05 15:43:09 +01:00
Dão Gottwald
8a952aed25 Bug 1367076 - Set datareporting.policy.firstRunURL by default to replace data choices infobar with privacy policy in a background tab on first run. r=Gijs
MozReview-Commit-ID: 9r5el0I2HrA

--HG--
extra : rebase_source : d5bc0f8a5dea60d4d3bbaaf5332d8f022693d381
2017-05-31 13:48:06 +02:00
Henri Sivonen
432653453a Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
gasolin
40422612bd Bug 1361286 - add in-page messages support for Automigration module; r=Gijs
MozReview-Commit-ID: I4xK2PkuHp3

--HG--
extra : rebase_source : 4e307d616ebe237c225ea131f9993c4df34d13ac
2017-05-24 16:56:00 +08:00
Dan Banner
ea09f270ab Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
MozReview-Commit-ID: EXJNufdKKhJ

--HG--
extra : rebase_source : 66d17c7981c4b0987c482ce092b25990b42c07fb
2017-05-27 15:17:29 +01:00
Sebastian Hengst
b01db289d2 Backed out changeset 2612892f2785 (bug 1361286) for typos in its strings. r=backout 2017-05-27 10:27:02 +02:00
gasolin
9dbb25e1ad Bug 1361286 - add in-page messages support for Automigration module; r=Gijs
MozReview-Commit-ID: I4xK2PkuHp3

--HG--
extra : rebase_source : e29603a260163534dfcc83bf2886994688aa97e1
2017-05-24 16:56:00 +08:00
tiago
95d9608ba4 Bug 1367198 - Remove duplicate ESLint rule definitions from various .eslintrc.js files. r=standard8
MozReview-Commit-ID: AUz5l7XPfwY

--HG--
extra : rebase_source : 2cb4758cdf51765fc61fbc6795fcd7bc85ef67bf
2017-05-24 13:55:24 -03: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
milindl
39f69b4ab0 Bug 1350377 - Remove getPlacesInfo and change associated files and tests, r=mak
Files which make use of `getPlacesInfo` have been replaced with `History.fetch`.
The code for `GetPlacesInfo` has been deleted from the cpp and idl files.
The test for `getPlacesInfo` has been suitably rewritten and moved alongside the
other History.jsm tests.

There were 2 places where the fact that `getPlacesInfo` takes an array as opposed
to a single uri mattered, in `test_getPlacesInfo.js` and `test_refresh_firefox.py`.

MozReview-Commit-ID: KQSMHCvvlrQ

--HG--
extra : rebase_source : 78a4381587e040bec8ba5e51d1c5b5a67e70897e
2017-05-17 16:02:21 +05:30
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
Marco Bonardo
de3e8620ea Bug 1361675 - Cookie import test fails on Win 10. r=Gijs
MozReview-Commit-ID: 70iJjYaW1ya

--HG--
extra : rebase_source : c8edce73f2222d4fd8212fe63415d9d3189e09b2
2017-05-12 10:19:02 +02:00
Florian Quèze
1d0e28a791 Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02: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
Florian Queze
4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02: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
Aaron Klotz
88484744e8 Bug 1358549: Fix incorrect ABI specification in js-ctypes declaration of FileTimeToSystemTime; r=Gijs
MozReview-Commit-ID: AAPupaveOUM

--HG--
extra : rebase_source : 248a1ce7460e78443f7a69d99b15719cbccd4421
2017-04-21 11:18:04 -06:00
Chris Peterson
c0d7dd79dd Bug 1358041 - Hoist some eslint rules from browser/ subdirectories to browser/.eslintrc. r=standard8
All of browser/ JS code passes these eslint rules, so we can hoist them from subdirectories' .eslintrc to the common browser/.eslintrc.

MozReview-Commit-ID: GMidHq0UIlH

--HG--
extra : rebase_source : 802631e372bbf6c256f5236deb275cb05fd73894
extra : histedit_source : a87b58345ff471b2504244d90c4ea1aa149a3c86
2017-04-19 16:53:43 -07:00
Florian Queze
4c6a68d1c9 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
37f2343b9a Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02: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
159215e6f4 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +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
Sebastian Hengst
9e0ecf32c5 Backed out changeset e1f191aad863 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
93a734a3ce Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +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
Florian Queze
a363fb8c8b 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
Dan Banner
7dd3004039 Bug 1354512 - De-duplicate already ESLint recommended rules in browser/components/migration/. r=standard8
MozReview-Commit-ID: 66hJ6BvTrzY

--HG--
extra : rebase_source : d7b6edea33ef88538f5f89fa7c10e4af2f1bdf04
2017-04-13 11:57:08 +01:00
Wes Kocher
2986c817dc Merge autoland to central, a=merge CLOSED TREE 2017-04-12 15:13:30 -07: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
Marco Bonardo
0a4d59cc55 Bug 977177 - Add favicons.sqlite to profile related lists. r=adw,jmaher
MozReview-Commit-ID: HkYpXQ0UFmd

--HG--
extra : rebase_source : cabc1b332783cc40756538996e5dec79da3fba6a
2017-03-30 13:08:05 +02:00
Mark Banner
585bf398ea Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E

--HG--
extra : rebase_source : 7a9651c055e2c6e959d42d08e5be9de2e2265346
2017-04-03 11:46:56 +01:00
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