Commit Graph

43 Commits

Author SHA1 Message Date
Mark Banner
9fc03b12e9 Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM
2017-05-16 22:22:42 +01:00
Florian Quèze
ff53eb9a63 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
Gijs Kruitbosch
da2191fab2 Bug 1344759 - batch-insert bookmarks when importing from Edge, IE, Safari or Chrome, r=dao
MozReview-Commit-ID: Dhvw0Y0fm5x
2017-03-13 23:46:16 +00:00
Gijs Kruitbosch
e1717a1338 Bug 1341097 - part 2: allow turning off notifications for individual inserted results when calling updatePlaces, r=mak
This sets a property on the callback object rather than passing an argument
to handleCompletion, to avoid accidentally breaking consumers who don't
expect arguments. The downside is that this required more changes to C++
consumers, but we control all of those so that seemed an acceptable
trade-off.

We should probably actually report errors for all the migrators, but I didn't
want to add risk (what if in some edge-case there are lots?) so I didn't. I'll
file a followup to update them to Cu.reportError() any errors.

MozReview-Commit-ID: Hue9Ci3hyVz
2017-02-21 14:20:21 +00:00
Dão Gottwald
e2442d9cea Bug 1339413 - Implement prefs for capping the amount of history we import from Chrome. r=Gijs
MozReview-Commit-ID: BdlNxS76Ko9
2017-02-15 18:42:15 +01:00
Gijs Kruitbosch
5f65f1cb7e Bug 1333734 - fix chrome password import if it contains items we can't read as a URI, r=mak
MozReview-Commit-ID: CAwIVNz70hs
2017-01-30 10:51:21 +01:00
Jared Wein
7c1615ceba Bug 1329014 - Enable the no-extra-bind rule and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: BwK94W2mHXS
2017-01-05 16:43:29 -05:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd 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
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Gijs Kruitbosch
e5b59d7fbd Bug 1285577 - part 0a: make login manager return the login we're creating with addLogin, r=MattN
This patch also addresses logic issues in LoginHelper.maybeImportLogin, renames
a parameter of maybeImportLogin to be consistent and adds a test.

MozReview-Commit-ID: 12llkOyF7ne
2016-11-30 11:03:21 +00:00
Sebastian Hengst
e906b9416f Backed out changeset 61029bd1995a (bug 1285577) for failing test_autofill_https_upgrade.html at least on Linux. r=backout 2016-12-20 22:56:02 +01:00
Gijs Kruitbosch
c8e3816d11 Bug 1285577 - part 0a: make login manager return the login we're creating with addLogin, r=MattN
This patch also addresses logic issues in LoginHelper.maybeImportLogin, renames
a parameter of maybeImportLogin to be consistent and adds a test.

MozReview-Commit-ID: 12llkOyF7ne
2016-11-30 11:03:21 +00:00
Gijs Kruitbosch
1eb867efaf Bug 1279501 - add telemetry for the number of bookmarks, history visits and logins are imported from another browser, r=bsmedberg,mak
MozReview-Commit-ID: EiZfkj6AsVL
2016-10-22 14:40:48 +01:00
Wes Kocher
5d8f248c21 Backed out changeset 77012ce07e57 (bug 1279501) a=gijs 2016-11-01 10:47:59 -07:00
Gijs Kruitbosch
f0e91ab90a Bug 1279501 - add telemetry for the number of bookmarks, history visits and logins are imported from another browser, r=bsmedberg,mak
MozReview-Commit-ID: EiZfkj6AsVL
2016-10-22 14:40:48 +01:00
Gijs Kruitbosch
bbf79f28ea Bug 1311043 - make eslint much more strict in browser/components/migration/, and fix issues, r=mikedeboer
MozReview-Commit-ID: RXO68w3Kv3
2016-10-18 16:03:06 +01:00
Gijs Kruitbosch
474d127fb6 Bug 1310596 - actually import OS.File in the 360se profile migrator code, r=mikedeboer
Also removing a useless console.jsm import from the chrome migrator that I spotted when looking through the changes from bug 1276694

MozReview-Commit-ID: 78qkflg4KWn
2016-10-18 11:55:30 +01:00
Gijs Kruitbosch
529d9db2c4 Bug 1305770 - make cookies and passwords import from Chrome without locking, r=mak
MozReview-Commit-ID: CbozmZHwAgz
2016-10-03 16:17:06 +01:00
Gijs Kruitbosch
0ba06a31e9 Bug 1285041 - ignore locking when trying to read chrome DB file, r=mak
MozReview-Commit-ID: 89f0YCxxgC8
2016-07-18 16:46:45 +01:00
Phil Ringnalda
e4a4d66121 Backed out changeset ef7939c0332e (bug 1285041) for failures in test_storage_connection.js
CLOSED TREE
2016-09-15 20:04:30 -07:00
Gijs Kruitbosch
d04ad775fc Bug 1285041 - ignore locking when trying to read chrome DB file, r=mak
MozReview-Commit-ID: 89f0YCxxgC8
2016-07-18 16:46:45 +01:00
Jared Wein
4518d81cb5 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Gijs Kruitbosch
63852c5b10 Bug 1276694 - store recency of browser data in telemetry when importing to see how good a predictor default browser is, r=dolske,bsmedberg
MozReview-Commit-ID: 16uPNGGDE68
2016-05-30 17:10:54 +01:00
Tim Huang
f3c87ef67d Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe 2016-05-25 11:54:21 +08:00
Marco Bonardo
dbef55764d Bug 1272652 - Firefox fails to import bookmarks from Chrome if it also imports a large history. r=gijs
MozReview-Commit-ID: 3w5TIPi2S8d
2016-05-24 17:29:30 +02:00
Wes Kocher
4c1ab391da Backed out changeset 684824592e64 (bug 1272652) for marionette failures 2016-05-23 15:13:08 -07:00
Marco Bonardo
964325f635 Bug 1272652 - Firefox fails to import bookmarks from Chrome if it also imports a large history. r=gijs
MozReview-Commit-ID: 3w5TIPi2S8d
2016-05-20 17:00:43 +02:00
Wes Kocher
18fc6fa5e3 Backed out 3 changesets (bug 1267910) for reports of it breaking session restore a=backout
Backed out changeset 5962f8e6d030 (bug 1267910)
Backed out changeset f8afc5cf9e0e (bug 1267910)
Backed out changeset cc202e0ac0dd (bug 1267910)
2016-05-20 21:15:17 -07:00
Tim Huang
0a60cbfed3 Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe 2016-05-18 20:42:00 -04:00
Gijs Kruitbosch
b761ddf66c Bug 1246591 - remove preprocessing and fix any other issues, r=MattN 2016-02-08 12:54:38 +00:00
Tooru Fujisawa
14a6e39246 Bug 1216775 - Remove for-each from browser/. r=Gijs 2015-10-19 01:27:39 +09:00
Gijs Kruitbosch
e670ef0eae Bug 1212297 - improve error handling in Chrome bookmarks migration code, r=MattN 2015-10-07 13:24:50 +01:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Riadh Chtara
591805ea25 Bug 682069 - Password Import from IE not available. r=dolske r=mattn 2015-09-01 17:27:04 -07:00
Bernardo P. Rittmeyer
31ae466fd3 Bug 706005 - Chrome migrator notifies user to close browser. r=MattN 2015-08-07 23:36:32 -07:00
Matthew Noorenberghe
26e57c126f Bug 706973 - Support migration from Chromium/Canary. r=Mano 2015-08-06 00:02:22 -07:00
Makoto Kato
5db9042697 Bug 707044 - Import login data from Google Chrome on Windows. r=MattN 2015-07-27 19:31:53 -07:00
Matthew Noorenberghe
b457b3086f Bug 1162205 - Don't import encrypted cookies from Chrome. r=mak 2015-05-08 11:41:10 -07:00
Marco Bonardo
d90008e8ab Bug 1094876 - Migrators should use new Bookmarks.jsm API. r=ttaubert 2015-04-20 16:32:49 +02:00
Christoph Kerschbaumer
fc2d9ddd3d Bug 1087726: Make JS callers of ios.newChannel call ios.newChannel2 in browser/ (r=gijs) 2014-10-24 14:36:11 -07:00
Birunthan Mohanathas
32a88e8a97 Bug 1038458 - Part 4: Flatten browser/components/migration/{public,src}/ directories. r=mak 2014-07-26 09:31:57 -07:00