Commit graph

167 commits

Author SHA1 Message Date
Ed Lee
d949ef8c85 Bug 1457543 - Fix missing Highlights, download position and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: 3aT0MJ2CJNM

--HG--
extra : rebase_source : e9aa6ffb9ba8d195c15d2a30898f48c26b7c84a0
2018-05-02 15:23:03 -07:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
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
Ed Lee
28bf7b2e86 Bug 1446053 - Add about:preferences section, sidebar removal and bug fixes to Activity Stream. r=ursula
Also adds new crh locale and in-content prefs test fix.

MozReview-Commit-ID: DFs0s710wZ4

--HG--
extra : rebase_source : 7edf0d5401cdb8da9559d98fe7837d6f23889c85
2018-03-15 10:38:18 -07: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
Sebastian Hengst
cc3e04044c Backed out changeset b0af4c10b8bb (bug 1446053) for frequently causing forbidden connections e.g. during browser-chrome's browser_privacypane_3.js. a=backout 2018-03-16 19:40:00 +02:00
Ed Lee
a7b9df596f Bug 1446053 - Add about:preferences section, sidebar removal and bug fixes to Activity Stream. r=ursula
Also adds new crh locale and in-content prefs test fix.

MozReview-Commit-ID: DFs0s710wZ4

--HG--
extra : rebase_source : fc74ec586b85c3b8a34d61027b98c0a2ff7a1291
2018-03-15 10:38:18 -07: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
Sebastian Hengst
e6ed14057b merge mozilla-central to autoland on a CLOSED TREE
--HG--
extra : amend_source : d88824ea9bbe5e0298f0d64fd0e4cdedcbee342c
2018-02-24 03:07:44 +02:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +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
ce409598e9 Bug 1440772 - Add Section menu, Pocket highlights and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: CYzpltysMbd

--HG--
extra : rebase_source : 9cf3c0aa63763c70a40ca30852a637d66318f4fc
2018-02-23 12:36:37 -08: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
Ed Lee
36b8b0ba57 Bug 1426203 - Add ES modules, pinned counts and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: K1Jyn2qFDPr

--HG--
extra : rebase_source : d0497c84616433ba8b61d4ada10810db11bed89e
2017-12-20 12:10:35 -08:00
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
485a12330a Bug 1421917 - Fix snippets blocklist, search autofocus and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: G7JwAzRDzUU

--HG--
extra : rebase_source : 7650ae5dc23bfd8f5cd53cbddcd1812b34a898ce
2017-12-01 16:38:17 -08:00
Mark Striemer
8a1f9ea7ae Bug 1390158 - Notify user of extension controlling New Tab on first access r=aswan,jaws
MozReview-Commit-ID: 1g9d4UTuOgr

--HG--
extra : rebase_source : 29e07cff103e7751bf4ca414a88f89136d3ac237
2017-11-22 19:00:58 -06: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
cf71bbf47e Bug 1415812 - Fix broken Pocket disclaimer, missing rich icons and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: CAHA3b13jCE

--HG--
extra : rebase_source : a147b717fe2915c20d6e4e1e8f752769295331e7
2017-11-15 12:27:46 -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
Ed Lee
64170b63af Bug 1386445 - Early about:newtab pages are missing message APIs because RemotePages registers too late. r=mossop
This moves AboutNewTab.init from nsBrowserGlue.js handling of "browser-delayed-startup-finished" into aboutNewTabService.js so that when the service is loaded once from the main thread probably by browser.js towards the beginning of _delayedStartup just before potentially calling gBrowser.loadTabs, the service triggers the attaching of RemotePages(about:newtab) before any about:newtab pages load.

Additionally even when RemotePages starts early enough, Activity Stream might not borrow the RemotePages instance early enough to catch the RemotePage:Load message, so to simulate that, RemotePages now remembers when a port has been loaded for consumers to check. Adds tests to confirm the expected properties on the port and value of loaded at the various RemotePage:* messages.

MozReview-Commit-ID: IXJLvFCgbEH

--HG--
extra : rebase_source : 2b53c4e58f4cb8cbd4ea10741f3f609693989010
2017-08-01 12:30:33 -07: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
Ricky Chien
9352eae160 Bug 1384402 - Fix broken about:preferences link after reorg v2 r=jaws
MozReview-Commit-ID: LnQsKHhrDWI

--HG--
extra : rebase_source : 627f9dd1c5b02954c2a14ae3fe107de90218083f
2017-07-27 11:30:05 +08: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
Evan Tseng
c4ed872484 Bug 1380205 - Check preferences version for some openPreferences calls need to direct to different pane in different version. r=mconley
MozReview-Commit-ID: DFltTFRkPrA

--HG--
extra : rebase_source : b2e125dc9afb5c5f345512aca27e2b7a594b644c
2017-07-12 09:01:25 +08:00