Commit Graph

184 Commits

Author SHA1 Message Date
Sam Foster
1a47bab2b4 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ
2017-07-13 14:30:38 -04:00
Wes Kocher
0cf2921242 Backed out changeset 7e0990dca8d1 (bug 1380065) at developer's request a=backout
MozReview-Commit-ID: HTBdXaEmagI
2017-07-24 16:13:28 -07:00
Sam Foster
3e221191cd Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior

MozReview-Commit-ID: IvA2ySPPmeJ
2017-07-13 14:30:38 -04:00
Wes Kocher
1530b6258e Backed out changeset 49c4c4a3fb81 (bug 1380065) for failures in browser_aboutStopReload.js a=backout CLOSED TREE
MozReview-Commit-ID: Hxfpijgy3dL
2017-07-21 17:01:30 -07:00
Sam Foster
16a992d550 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior

MozReview-Commit-ID: IvA2ySPPmeJ
2017-07-13 14:30:38 -04:00
Ed Lee
12dbfc5829 Bug 1378478 - Test AutoMigrate undo only for non-activity-stream about:newtab. r=Gijs
Prefer testing on about:home and tiles about:home while activity-stream prefs on (without AutoMigrate).

MozReview-Commit-ID: 3zmm8VGKnYW
2017-07-05 12:20:05 -07:00
Marco Bonardo
9ddc018dc5 Bug 1095425 - Convert PlacesTransactions to the new Bookmarks.jsm API. r=standard8
MozReview-Commit-ID: 12pPCGmzV4X
2015-04-28 15:19:43 +03:00
Florian Quèze
c30094cdf7 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
Andreas Tolfsen
a963e09f5e 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
2017-06-08 13:46:12 +01:00
Hector Zhao
bb357f1062 Bug 1347530 - Part 1: Add a unit test for 360se bookmark imports. r=Gijs
MozReview-Commit-ID: 6DZVjePu3yS
2017-06-08 10:36:49 +08:00
Dão Gottwald
d568e6a097 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
2017-05-31 13:48:06 +02:00
Joel Maher
fb8f27aa52 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
e074ea7b68 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
2017-05-22 20:41:28 +01:00
Wes Kocher
f39f2cccd5 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
964b82d9f9 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
1a569b50e1 Backed out changeset 964b6ee8ec32 (bug 1339105) 2017-05-22 16:14:32 +02:00
Bob Owen
e05da2fa76 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
d307ef0df3 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
2017-05-17 16:02:21 +05:30
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
Greg Mierzwinski
2d8ca3ac30 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
2017-04-29 10:47:24 -04:00
Aaron Klotz
058ab062bd Bug 1359548: Fix incorrectly specified ABIs in js-ctypes declaration in migration code; r=Gijs
MozReview-Commit-ID: LH1MOyuXVos
2017-04-25 13:02:32 -06:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 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
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Ganesh Chaitanya Kale
6edcf609d0 Bug 1343182 - Add updatePlaces' ignoreErrors, ignoreResults and aGroupNotifications to insertMany API in History.jsm. r=mak
MozReview-Commit-ID: 45VbtBu25cP
2017-04-01 13:10:04 +05:30
Gijs Kruitbosch
7ea2b323c0 Bug 1353373 - fix Edge readinglist imports, r=jaws
MozReview-Commit-ID: Fu9n3FIrxf6
2017-04-04 16:18:17 +01:00
Gijs Kruitbosch
96326528eb Bug 1353041 - fix Safari import of folders, r=mossop
MozReview-Commit-ID: Jw0lmIi5aZK
2017-04-03 17:46:47 +01:00
milindl
a7349294f7 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
2017-03-17 14:29:48 +05:30
Jared Wein
5a181760cc 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
2017-03-21 14:29:43 -04:00
Mark Banner
ec9074e132 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
2017-03-20 12:36:37 +01:00
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