Commit graph

142 commits

Author SHA1 Message Date
Mark Hammond
f936a8c20d Bug 1395332 - perform some post-profile-migration steps to ensure Sync works correctly in the new profile. r=Gijs
MozReview-Commit-ID: EcFdDeqzzCY

--HG--
extra : rebase_source : 1104be5494b7411024752a182def6437eea32540
2017-09-08 16:28:37 +10:00
Ursula Sarracini
8ff70b06ff Bug 1395305 - Turn Activity Stream off for tests in browser/components/migration/tests/browser/ r=Gijs
MozReview-Commit-ID: 7zlHRGQqEZH

--HG--
extra : rebase_source : ea4366b1f4868d1fa1d9b91a916d14753b912305
2017-08-30 15:52:36 -04:00
Luke Chang
5bc80fb017 Bug 1389999 - Check the existence of ProfileStorage before running tests in test_refresh_firefox.py. r=MattN
MozReview-Commit-ID: B0DtEZD3We1

--HG--
extra : rebase_source : b2c891d78c23ee469b96d2d0157d236791dc1123
2017-08-24 14:53:02 +08:00
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
Matthew Noorenberghe
72863188db Bug 1371195 - Preserve Form Autofill profiles during a Firefox Refresh/Reset. r=Gijs
MozReview-Commit-ID: 3wSAmKt8Xaf

--HG--
extra : rebase_source : 8c4aa413c30aad53f8755e580622c3d946f61590
2017-08-07 22:09:39 -07:00
Carsten "Tomcat" Book
732f652f89 Backed out changeset 29131feeed60 (bug 1380065) for windows 7 perma failure in test_bug884693.xul | Got expected message count - got 1, expected +0 2017-07-25 10:52:58 +02:00
Sam Foster
fba4d7c501 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

--HG--
extra : rebase_source : effd7fab536294de967661be4dcaaadc5b869db7
2017-07-13 14:30:38 -04:00
Wes Kocher
4d4051d2e2 Backed out changeset 2e0c2b3bc28b (bug 1380065) for eslint failures in browser_ext_popup_select.js a=backout
MozReview-Commit-ID: HZqI6A06YiO
2017-07-24 17:25:37 -07:00
Sam Foster
fef0cddea2 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

--HG--
extra : rebase_source : 577f534d2409da76eecd6c36dfa3db50eca50f40
2017-07-13 14:30:38 -04:00
Wes Kocher
823f61b3a6 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
3dd758f190 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

--HG--
extra : rebase_source : 4ed74175107b2cf831b698361f0a2a9b1bd72113
2017-07-13 14:30:38 -04:00
Wes Kocher
55d0ef80b9 Backed out changeset 49c4c4a3fb81 (bug 1380065) for failures in browser_aboutStopReload.js a=backout CLOSED TREE
MozReview-Commit-ID: Hxfpijgy3dL

--HG--
extra : amend_source : 588ff0272fac30b78726cf2e216c4f0294c2f3ab
2017-07-21 17:01:30 -07:00
Sam Foster
d169f11f91 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

--HG--
extra : rebase_source : a83177668dc2035ff5c6d92a5f93227190583229
2017-07-13 14:30:38 -04:00
Ed Lee
c0cd581fab 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

--HG--
extra : rebase_source : a88c8193807b283b037b6c14ba93ad78a5036cf9
2017-07-05 12:20:05 -07: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
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
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
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
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
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
Jessica Jong
e370cc3706 Bug 1338911 - Ensure page is loaded before proceeding in test_refresh_firefox.py. r=Gijs
--HG--
extra : rebase_source : c44d6c06a392118210da6e3cf87470f79eb7ad42
2017-02-19 19:18:00 -05:00
Gregory Moore
ea25a9f712 Bug 883627 - Updated CreateResetProfile() to use the existing profile name for the newly created profile, r=gijs
MozReview-Commit-ID: Gkul477NIDG

--HG--
extra : amend_source : 239723bbd06e20dde68f2ac82ff4bc149c2b46d6
2017-02-09 15:29:58 -08:00
Gijs Kruitbosch
c87ff7ce1d Bug 1335442 - update wording of automigration notification bar and add tests, r=jaws
MozReview-Commit-ID: EkuOQmRjqOF

--HG--
extra : rebase_source : 6e3818fe8f0e739ba01852f4e152950ed880aea3
2017-02-03 14:04:40 +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
9b3d8d687b Bug 1335349 - add survey link option to 'undo' for automigration, r=Dolske
MozReview-Commit-ID: BGsxAdsTu7X

--HG--
extra : rebase_source : 02dc08207387bef370e7d7926346d0c9124cd931
2017-01-31 12:32:27 +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
Gijs Kruitbosch
5860c43474 Bug 1333484 - make Firefox refresh marionette test not rely on previous tests, r=mikedeboer
MozReview-Commit-ID: APQf2XMG8JV

--HG--
extra : rebase_source : cdcef16ec3b3934214f19367329df6dc3996818a
2017-01-24 18:29:46 +00:00