Commit Graph

303 Commits

Author SHA1 Message Date
Gijs Kruitbosch
2ca6d5b660 Bug 1344759 - add a unit test for Chrome bookmark imports, r=dao
MozReview-Commit-ID: 8w1GnbDmOc5
2017-03-13 23:25:46 +00:00
Gijs Kruitbosch
705481de09 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
2017-02-21 20:00:24 +00:00
Jessica Jong
afd549bc70 Bug 1338911 - Ensure page is loaded before proceeding in test_refresh_firefox.py. r=Gijs 2017-02-19 19:18:00 -05:00
Gregory Moore
4248c7de55 Bug 883627 - Updated CreateResetProfile() to use the existing profile name for the newly created profile, r=gijs
MozReview-Commit-ID: Gkul477NIDG
2017-02-09 15:29:58 -08:00
Gijs Kruitbosch
6fd139c0ac Bug 1335442 - update wording of automigration notification bar and add tests, r=jaws
MozReview-Commit-ID: EkuOQmRjqOF
2017-02-03 14:04:40 +00:00
Gijs Kruitbosch
d8ac970efb Bug 1335442 - deal correctly with not importing anything, r=jaws
MozReview-Commit-ID: 3WZCxXV48Ms
2017-02-03 14:04:23 +00:00
Marco Bonardo
ffd0d0c669 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
2017-02-06 19:30:19 +01:00
Gijs Kruitbosch
a89bdb9b5d Bug 1335349 - add survey link option to 'undo' for automigration, r=Dolske
MozReview-Commit-ID: BGsxAdsTu7X
2017-01-31 12:32:27 +01:00
Gijs Kruitbosch
a09465abe7 Bug 1333233 - part 2: add telemetry for the time it takes to do individual undo operations, r=bsmedberg,Dolske
MozReview-Commit-ID: Lf7roH3EswB
2017-01-26 17:00:00 +00:00
Gijs Kruitbosch
72cc1c8b09 Bug 1333233 - part 1: add telemetry for error counts from undo operations, r=bsmedberg,Dolske
MozReview-Commit-ID: EdelbiibVWi
2017-01-26 15:54:41 +00:00
Gijs Kruitbosch
9b0008fae2 Bug 1333484 - make Firefox refresh marionette test not rely on previous tests, r=mikedeboer
MozReview-Commit-ID: APQf2XMG8JV
2017-01-24 18:29:46 +00:00
George Veneel Dogga
34e3070268 Bug 887876 - Use Sqlite.jsm in browser/components/migration. r=mak 2017-01-20 04:35:00 -05:00
Mark Banner
55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Gijs Kruitbosch
bb9d4d9bcc Bug 1331800 - catch errors from history removals and don't block undo on them, r=Dolske
MozReview-Commit-ID: JhWAs6rvBnW
2017-01-18 18:07:47 +00:00
Gijs Kruitbosch
e413139a90 Bug 1331888 - immediately remove (and don't reshow) notification bars once user chooses to undo, r=dao
The automated test verifies that we remove the notification bars immediately.
Unfortunately, I couldn't think of a way to verify we won't allow reshowing the notification bar while an undo is ongoing,
because for that to happen I'd need to get one to show while an undo is ongoing, which isn't reliably possible in an
automated test.

MozReview-Commit-ID: EYHNIPEaOOo
2017-01-18 11:07:47 +00:00
Mark Banner
ac52569fff Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6
2017-01-09 10:12:26 +00:00
Florian Quèze
45647c4570 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Gijs Kruitbosch
7d09e4d45e Bug 1322730 - display undo migration message on about:newtab, r=Dolske
MozReview-Commit-ID: 8nIGdD9XyFH
2017-01-04 19:05:50 +00:00
Sebastian Hengst
6d6d937b45 Backed out changeset 9647d2c82af4 (bug 1322730) for eslint failures. r=backout 2017-01-04 20:05:06 +01:00
Gijs Kruitbosch
7fba8ab892 Bug 1322730 - display undo migration message on about:newtab, r=Dolske
MozReview-Commit-ID: 8nIGdD9XyFH
2016-12-15 16:54:36 +00: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
898e262c96 Bug 1285577 - part 4: save, use and delete implementations for import undo state, r=mak
MozReview-Commit-ID: FVy2MMpvV65
2016-12-20 22:49:05 +00:00
Gijs Kruitbosch
a9c9eea221 Bug 1285577 - part 3: keep track of added visits in an import and allow removing them, r=mak
MozReview-Commit-ID: 7HCA7cKhws4
2016-11-30 11:56:25 +00:00
Gijs Kruitbosch
7c7e220663 Bug 1285577 - part 2: keep track of added logins in an import and allow removing them, r=MattN
MozReview-Commit-ID: JZbOkmZ7ZZG
2016-11-30 11:50:38 +00:00
Gijs Kruitbosch
e6f654cf66 Bug 1285577 - part 1: keep track of added bookmarks in an import and allow removing them, r=mak
MozReview-Commit-ID: 8pKlBmDVX5X
2016-11-30 11:48:03 +00:00
Sebastian Hengst
13307cb1ae Backed out changeset 12aa73f4a982 (bug 1285577) 2016-12-20 22:54:35 +01:00
Sebastian Hengst
5148a28841 Backed out changeset 78a3cd5bf313 (bug 1285577) 2016-12-20 22:54:31 +01:00
Sebastian Hengst
0d72a880f2 Backed out changeset 10388e609fe3 (bug 1285577) 2016-12-20 22:54:26 +01:00
Sebastian Hengst
cea8d53329 Backed out changeset 1ffe78f2ab5a (bug 1285577) 2016-12-20 22:53:48 +01:00
Sebastian Hengst
1567d13434 Backed out changeset e66794fae8f7 (bug 1285577) 2016-12-20 22:53:30 +01:00
Gijs Kruitbosch
9f204aa4f0 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
a71437c514 Bug 1285577 - part 4: save, use and delete implementations for import undo state, r=mak
MozReview-Commit-ID: FVy2MMpvV65
2016-12-19 21:56:20 +00:00
Gijs Kruitbosch
362bb9cc96 Bug 1285577 - part 3: keep track of added visits in an import and allow removing them, r=mak
MozReview-Commit-ID: 7HCA7cKhws4
2016-11-30 11:56:25 +00:00
Gijs Kruitbosch
95acef5be1 Bug 1285577 - part 2: keep track of added logins in an import and allow removing them, r=MattN
MozReview-Commit-ID: JZbOkmZ7ZZG
2016-11-30 11:50:38 +00:00
Gijs Kruitbosch
477f5615db Bug 1285577 - part 1: keep track of added bookmarks in an import and allow removing them, r=mak
MozReview-Commit-ID: 8pKlBmDVX5X
2016-11-30 11:48:03 +00:00
Gijs Kruitbosch
b3e435695e Bug 1122124 - fix default profile setting after reset, keep profile name, r=MattN
MozReview-Commit-ID: 9h1ktdUUVZH
2016-05-10 10:09:46 +01:00
Henrik Skupin
620e1de054 Bug 1320073 - Rename marionette-client to marionette-harness and release version 4.0.0. r=gps,maja_zf,mtseng,SingingTree
MozReview-Commit-ID: L6V3b5h8RWm
2016-12-12 13:05:34 +01:00
Dave Townsend
b0f59ac265 Bug 1316882: Turn on func-call-spacing eslint rule. r=bgrins
MozReview-Commit-ID: GIkQnRX9woD
2016-11-10 15:05:32 -08:00
Sebastian Hengst
d1c538318e Bug 1310297 - Remove test annotations using b2g, mulet or gonk: browser. r=RyanVM
MozReview-Commit-ID: LDNr97hKpc8
2016-11-05 11:29:13 +01: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
Jared Wein
0c024fa9ca Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Mark Banner
d4b538c2b7 Bug 1240165 - Expand the eslint rule 'mark-test-function-used' to cover xpcshell tests as well as gecko tests and apply to the whole tree. r=miker
MozReview-Commit-ID: FlbJ8yzWXlw
2016-10-26 09:46:40 +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
Mark Banner
233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Gijs Kruitbosch
c2418d9932 Bug 1289906 - part 1: use an observer to know when the user signs into sync after an undo, r=markh
MozReview-Commit-ID: BPjUVvYdsRG
2016-08-22 12:39:39 +01:00