Commit graph

113 commits

Author SHA1 Message Date
Andrei Oprea
37867257a0 Bug 1442067 - Revert 1428108 set browser.newtabpage.activity-stream.debug by default in local builds. r=Mardak
This reverts commit e997d3b39179176d04e9745e697712204655c507.

MozReview-Commit-ID: HS40TQryCjg

--HG--
extra : rebase_source : 63ce74da45499549c7fe1f2b5c438177b845285e
2018-04-20 12:08:46 +02:00
Tooru Fujisawa
1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Ed Lee
a9cc21a58e Bug 1429964 - Re-enable browser_packaged_as_locales.js with dynamically testing app locales. r=gandalf
MozReview-Commit-ID: FDyzUg0sq3W

--HG--
extra : rebase_source : 3c818c276a136821a750b2c79d51a094b983a9d1
2018-03-08 11:12:50 -08:00
Ed Lee
2b013a5250 Bug 1383599 - browser.newtabpage.enabled = false is not working. r=ursula
MozReview-Commit-ID: HUBr10vb9qJ

--HG--
extra : rebase_source : 222994b1f0f808985a5963dcb6cf1e1ea1bba097
2018-03-06 23:49:05 -08:00
Adam Kasztenny
fc42b2fa73 Bug 1355166 - Remove remote newtab's dead code. r=ursula 2018-02-28 16:44:00 +02:00
Sebastian Hengst
671983dde1 Bug 1440956 - Don't use AppConstants destructuring in test_AboutNewTabService.js because property name and variable name don't match. r=Mardak
MozReview-Commit-ID: 2pVv08lLfGi

--HG--
extra : rebase_source : 28efc3783a69b9edbc09427c3a7e951263a47b9f
2018-02-25 02:05:43 +01:00
Andrei Oprea
b7abc06c1c Bug 1428108 - Set browser.newtabpage.activity-stream.debug by default in local builds. r=Mardak
MozReview-Commit-ID: Gwd2fA6xfoX

--HG--
extra : rebase_source : 3af0c0009622c8b451a9182221d953dfe8d01a57
2018-02-15 14:23:53 +01:00
Ed Lee
54aa7c731b Bug 1438651 - Expose the locale that activity stream uses for content pages. r=ursula
MozReview-Commit-ID: 7tOlqFOgpfQ

--HG--
extra : rebase_source : 283698efae5b51df71b67d4378d2ded24faa5b69
2018-02-01 17:30:08 -08:00
Ed Lee
6497dc1292 Bug 1433324 - Part 3. Assume true for browser.newtabpage.activity-stream.enabled. r=ursula
MozReview-Commit-ID: KMgNw5QsMIX

--HG--
extra : rebase_source : b3f3e2dbd568e88c0e8461fb4bfadbbdd9baaa99
2018-02-13 16:53:50 -08:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Ed Lee
9712b719c4 Bug 1430272 - Add preloaded updating, whitelisted regions and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: 6wWmVoXCQO5

--HG--
extra : rebase_source : 8229ec0f7934a2d36dae2a8c1f986b1b408e1786
2018-01-12 14:12:57 -08:00
Florian Quèze
0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Nihanth Subramanya
a0762f90d1 Bug 1426438 - Remove NewTabURL.jsm. r=florian
MozReview-Commit-ID: JDiEzEju3zP

--HG--
extra : rebase_source : 3743879bd6315dc7967163bc91f02c23a45b0d13
2017-12-21 00:03:12 +05:30
Zibi Braniecki
a5600cdb98 Bug 1414390 - Add intl.locale.requested locale list to replace general.useragent.locale. r=jfkthame,mossop
This patch moves us from using an old pref `general.useragent.locale`combined
with `intl.locale.matchOS` for retrieving user requested locale, to use a new
preference `intl.locale.requested` which stores a list of well-formed BCP47
language tags. If set to empty, the OS locales are used. If not set at all,
default locale is used.

We are also adding a piece of code to migrate from old to new system.


MozReview-Commit-ID: 854yQ1kC6Ee

--HG--
extra : rebase_source : c4a7171bc026f857f7878ee83d973ec01b536a84
2017-11-01 20:16:21 -07:00
Ed Lee
f6e34aca2d Bug 1419601 - Indonesian Bahasa Indonesia "id" builds have broken new tab pages. r=k88hudson
MozReview-Commit-ID: Clu62Xs8wnK

--HG--
extra : rebase_source : 72004f2e2074194715094d774f4fda0e7bce8286
2017-11-21 15:37:58 -08:00
Ed Lee
8cc937f0de Bug 1413550 - Add per-platform styles, per-locale html and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: I7Y4nfrAvLL

--HG--
extra : rebase_source : 82a7c81ba58e294761c0cb25a3b1a2253a22d541
2017-11-03 12:08:30 -07:00
Sebastian Hengst
8c8a36efd9 Backed out changeset def95432b0a1 (bug 1413550) on request from Mardak for test failure. r=backout on a CLOSED TREE 2017-11-04 01:34:19 +01:00
Ed Lee
dad9d3748b Bug 1413550 - Add per-platform styles, per-locale html and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: I7Y4nfrAvLL

--HG--
extra : rebase_source : b0b410b95a991b8c57b9f79f2a906137e6882c45
2017-11-03 12:08:30 -07:00
Ed Lee
792cf16a1f Bug 1412930 - Package localized prerendered files. r=k88hudson
MozReview-Commit-ID: JUPAkCBhvPc

--HG--
extra : rebase_source : a8b3aa042009ae26d0e82b3d512f4c4458f46cb9
2017-10-30 13:13:35 -07:00
Ursula Sarracini
f9759f2737 Bug 1399854 - Intermittent browser/components/newtab/tests/browser/browser_newtab_overrides.js leaked 2 windows until shutdown r=Mardak
MozReview-Commit-ID: e4fs23Rdmn

--HG--
extra : rebase_source : b98e9142c73afbfe79f8102a0601a3fb4a71faf7
2017-11-01 10:11:18 -04:00
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
k88hudson
53838baa80 Bug 1407844 - Don't run aboutNewTabService debug tests on release or beta r=Mardak
MozReview-Commit-ID: Jbxp1bsitKW

--HG--
extra : rebase_source : 7a581fb6cc55823dfd1de5352b3b46b9f73b7dee
2017-10-20 14:07:33 -04:00
k88hudson
9b32fa2895 Bug 1405693 - Use dev build of React for Activity Stream if browser.newtabpage.activity-stream.debug is true r=Mardak
MozReview-Commit-ID: 13aqAEVUMNs

--HG--
extra : rebase_source : 9efb24c131b66e91b11e5f20473c1dfe0f606f0e
2017-10-04 10:59:45 -04:00
Geoff Brown
37c7a69f60 Bug 1399854 - Skip test browser_newtab_overrides.js for 200+ failures; r=me,test-only 2017-10-02 16:31:45 -06:00
k88hudson
897a0c2c24 Bug 1399696 - aboutNewTabService should initialize with the correct _activityStreamPrerender value r=Mardak
MozReview-Commit-ID: BrLNwO74S5q

--HG--
extra : rebase_source : 64838e834bf3e7b1d92d8994111882c490e8d342
2017-09-15 10:33:15 -04:00
k88hudson
22553dbad7 Bug 1398819 - Turn on prerendered version of activity stream in aboutNewTabService r=Mardak
MozReview-Commit-ID: 3v9UR0A9K1z

--HG--
extra : rebase_source : f7d9894ef0a2e168964ff7f0d7284e4165874a47
2017-09-11 13:22:44 -04: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
Marco Castelluccio
0abc80eebf Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/components/* files. r=Gijs
--HG--
extra : rebase_source : 8ae926bfde827b9a5323d6fb96dc231d429ab9b0
2017-07-31 13:25:41 +02:00
Dan Mosedale ext:(%3E)
20769f61be Bug 1384977 - Remove unused PreviewProvider.jsm and refs, r=ursula?
MozReview-Commit-ID: Ee4uIdPJ0Cy

--HG--
extra : rebase_source : e1badbbbee1c2af1ac92e641599e8d540fd21891
2017-07-27 09:26:39 -07:00
Geoff Brown
abafca2c00 Bug 1343150 - Disable test_PreviewProvider.js on windows too; r=jmaher 2017-06-19 15:32:41 -06:00
k88hudson
9722cb4fed Bug 1369875 - Turn off activity-stream.enabled for new tab related tests r=Mardak
MozReview-Commit-ID: Gx3itUrHICL

--HG--
extra : rebase_source : 24e0c4e9d083aca104ba15dcc2654ad3a4f764b6
2017-06-02 16:33:18 -04:00
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
Geoff Brown
dd4ae649bb Bug 1343150 - Fix non-standard manifest annotation; r=me,test-only 2017-05-15 16:17:03 -06:00
Geoff Brown
ff95d89ced Bug 1343150 - Skip browser_PreviewProvider.js on linux, for frequent time outs; r=me,test-only 2017-05-15 16:02:03 -06: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
Ursula Sarracini
1fb51e5e8f Bug 1360316 - Replace NewTabPrefsProvider in aboutNewTabService r=Mardak
MozReview-Commit-ID: 83viGxE2ezT

--HG--
extra : rebase_source : 69f1ea69dc68561b16ad9c057d7c1f297c5beb38
2017-05-01 11:42:44 -04:00
Ursula Sarracini
d02542fcae Bug 1345122 - Update NewTabUtils.jsm for Activity Stream's needs r=mak
MozReview-Commit-ID: 3SpJucjKNby

--HG--
extra : rebase_source : 4613cc7c8ab832cbf605d50e385513b6b84a75ee
2017-04-28 10:00:30 -04:00
Marco Bonardo
12dcd10d01 Bug 1356567 - root icons should still create a page association if the domain differs. r=adw,kitcambridge
Root domain icons are no more associated with their pages, BUT if the page uses
a root domain icon from another domain, it should still get an association with it
or we couldn't relate the two.

This also fixes an overlooked problem in PlacesTestUtils where Date objects
cross a boundary and fail instanceof checks. This causes failures in the same
test that this patch is modifying.
To protect from future similar issues some protection has been added to updatedPlaces
so that it will crash in debug builds.

MozReview-Commit-ID: 3MTKhGj3ehj

--HG--
extra : rebase_source : 55120252e7ea8abb91f21ca2486deddc43795142
2017-04-14 20:34:27 +02:00
Carsten "Tomcat" Book
16969b40e2 Backed out changeset eb94759f0fcf (bug 1356567) for test failures in own test 2017-04-18 12:58:09 +02:00
Marco Bonardo
5238755b71 Bug 1356567 - root icons should still create a page association if the domain differs. r=adw,kitcambridge
Root domain icons are no more associated with their pages, BUT if the page uses
a root domain icon from another domain, it should still get an association with it
or we couldn't relate the two.

This also fixes an overlooked problem in PlacesTestUtils where Date objects
cross a boundary and fail instanceof checks. This causes failures in the same
test that this patch is modifying.
To protect from future similar issues some protection has been added to updatedPlaces
so that it will crash in debug builds.

MozReview-Commit-ID: 3MTKhGj3ehj

--HG--
extra : rebase_source : e36ba1ab41649927f92fee053c10bf43474a0bcf
2017-04-14 20:34:27 +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
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